29 lines
579 B
C
29 lines
579 B
C
|
/*
|
||
|
* playflac.c
|
||
|
* ---------- 20 Janvier 2022
|
||
|
*/
|
||
|
|
||
|
#include <fcntl.h>
|
||
|
#include <unistd.h>
|
||
|
#include <ao/ao.h> /* for the sound output */
|
||
|
|
||
|
#include "ecoute.h"
|
||
|
|
||
|
/*==------------------------------------------------------------------==*/
|
||
|
int flac_player(char *fname, WINDOW *popup)
|
||
|
{
|
||
|
int ret;
|
||
|
|
||
|
ret = 43;
|
||
|
|
||
|
mvwaddstr(popup, 1, 2, "Flac playing: work in progress...");
|
||
|
wrefresh(popup); sleep(1);
|
||
|
|
||
|
mvwaddstr(popup, 6, 6, "*** COREDUMPING ***");
|
||
|
wrefresh(popup); getch();
|
||
|
|
||
|
return ret; /* XXX */
|
||
|
}
|
||
|
/*==------------------------------------------------------------------==*/
|
||
|
|