search for: flac_decoded_data

Displaying 3 results from an estimated 3 matches for "flac_decoded_data".

2007 Jan 02
3
Decoding Type=Independent
...e), I am using the following pseudo logic to write to the hardware PCM buffer. (I don't have the actual code with me but I've tried so many things this is close) for (sample= i =0;sample < blocksize; sample++ ) for (channel = 0; channel < channels; channel++, i++) aobuf[i]= flac_decoded_data[channel][sample]; int offset = 0; while ( i >0 && len >=0 ) { len = write(pcm_fd,aobuf+offset, i ); if (len<=0) continue; // device busy or error i -= len; offset+= len; }; With LPC correlation it plays quite well, with Independent it is unlistenable. Martin
2007 Jan 02
0
Decoding Type=Independent
...seudo logic to write to the hardware PCM buffer. (I don't > have the actual code with me but I've tried so many things this is > close) > > for (sample= i =0;sample < blocksize; sample++ ) > for (channel = 0; channel < channels; channel++, i++) > aobuf[i]= flac_decoded_data[channel][sample]; > > int offset = 0; > > while ( i >0 && len >=0 ) { > len = write(pcm_fd,aobuf+offset, i ); > if (len<=0) continue; // device busy or error > i -= len; > offset+= len; > }; this looks ok. > With LPC correlation it pl...
2007 Jan 01
2
Decoding Type=Independent
Hello, I am new to the list, to FLAC and to FLAC development but I am having a problem in trying to make FLAC work with MediaMVP based the mvpmc project (ref. http://www.wvpmc.org) that hopefully someone can help me with. This device is possibly minimum spec. for a FLAC decoder. In any case, I have had some success cross-compiling libFLAC (without the ogg or metadata modules).for the embedded