search for: flac_read

Displaying 6 results from an estimated 6 matches for "flac_read".

Did you mean: flac__real
2004 Sep 10
2
flac_read callback not called in Windows?
...id the implementation under Linux which works fine, the callbacks are easy to set up and I've had no problems. I believe the code is OK because of this. I am now trying to get it to work under Windows 2000 with Msys and gcc 3.2. Everything compiles and links OK, but when it runs neither my flac_read, or flac_write callback get called even though I call : res = FLAC__seekable_stream_decoder_process_single(flacDecoder); Has anyone else experienced this? What follows is the code I am using, my program just sits looping in the while block in the flac_update function: // callback for the stre...
2004 Sep 10
0
flac_read callback not called in Windows?
--- Scott Waye <scott@boldtower.com> wrote: ... > I am now trying to get it to work under Windows 2000 with Msys and > gcc 3.2. > Everything compiles and links OK, but when it runs neither my > flac_read, or > flac_write callback get called even though I call : > > res = FLAC__seekable_stream_decoder_process_single(flacDecoder); what is the value returned in 'res'? also, what does FLAC__seekable_stream_decoder_get_resolved_state_string() return after calling FLAC__seekable_strea...
2004 Sep 10
2
FLAC as part of the Ogg project?
...t place was to see if; 1) there was a simple way to break out the decoding of the frame header so that I could find out how much data I need to buffer up before calling FLAC__stream_decoder_process_one_frame(), because the application I'm working on cannot request more data from within the flac_read() callback, and 2) see if I could get the decoder to work on my own buffer in order to avoid an unneccesary memcpy(). So although this is somewhat related, I haven't, for example, looked much at the encoder. -- Christer Palm
2004 Sep 10
1
FLAC as part of the Ogg project?
...imagine two choices - put the data on hold (if I don't have enough data for a full frame), or call FLAC__stream_decoder_process_one_frame() (if I *do* have enough data for a full frame). Obviously, I can't do that currently. Right now, I kick off a separate decoding thread and have the flac_read() callback block on a condition variable whenever there's no data available to return to FLAC. It works, but it's extremely ugly :-) -- Christer Palm
2004 Sep 10
0
FLAC as part of the Ogg project?
...ere was a simple way to break out the decoding of > the frame header so that I could find out how much data I need to > buffer > up before calling FLAC__stream_decoder_process_one_frame(), because > the > application I'm working on cannot request more data from within the > flac_read() callback, and 2) see if I could get the decoder to work > on > my own buffer in order to avoid an unneccesary memcpy(). probably if I had it all to do again I would have constrained the possible block sizes, which would have made it more practical to put the frame length in the frame head...
2004 Sep 10
3
FLAC as part of the Ogg project?
Matt Zimmerman wrote: > > As I understand it, the current Ogg/FLAC implementation simply wraps the Ogg > bitstream format around a normal FLAC stream, thus not utilizing the > features of Ogg, and duplicating various bookkeeping data. If the Ogg folks > were to spec out a FLAC-based codec for Ogg, it would likely look different > from the current implementation. > Right.