search for: pcm_fd

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

Did you mean: pcm_f
2007 Jan 02
3
Decoding Type=Independent
...e 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
...s > 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 plays quite well, with Independent it is > unlistenable. I guess I still don't understand what you mean by "Ignori...
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