Displaying 1 result from an estimated 1 matches for "gamedrv".
Did you mean:
gamedev
2004 Sep 10
2
flac_read callback not called in Windows?
...AC__StreamDecoderErrorStatus status, void *client_data)
{
fprintf(stderr, "flac_error %d\n", status);
logerror("flac decode error %d\n", status);
}
static void init_flac(void)
{
fprintf(stderr, "init flac\n");
sprintf(flacFilename, "%s.flac", Machine->gamedrv->name);
flacFile = mame_fopen(Machine->gamedrv->name, flacFilename,
FILETYPE_LASERDISK_FLAC, 0);
if(flacFile)
{
flacDecoder = FLAC__seekable_stream_decoder_new();
fprintf(stderr, "got decoder\n");
if(!FLAC__seekable_stream_decoder_set_read_callback(flacDecoder,
flac_read...