search for: flac__stream_decoder_get_

Displaying 2 results from an estimated 2 matches for "flac__stream_decoder_get_".

2004 Sep 10
2
Bits per Sample, Channel Count
...channels, then with four and the next switches the bit count from 16 to 8 and so on? - There are methods to retrieve these values from the stream decoder. Unfortunately these only work, when a frame was already read. Is this by design? Currently I check, whether a frame was read and if so use the FLAC__stream_decoder_get_??? methods to retrieve the sample rate, channel count and sample size, and if not I just return the values stored in the stream info metadata block. Thanks in advance, Ingo
2004 Sep 10
0
Bits per Sample, Channel Count
...s really makes sense to support is in a streaming situation. > - There are methods to retrieve these values from the stream decoder. > Unfortunately these only work, when a frame was already read. Is this > by > design? Currently I check, whether a frame was read and if so use the > FLAC__stream_decoder_get_??? methods to retrieve the sample rate, > channel > count and sample size, and if not I just return the values stored in > the > stream info metadata block. I don't know if this will help, but when libFLAC calls your write callback, it will pass you a whole FLAC__Frame, from which...