search for: win_play_samples

Displaying 4 results from an estimated 4 matches for "win_play_samples".

Did you mean: _win_play_samples
2004 Aug 06
1
[PATCH] Re: Decoding .spx with 1.0 on ppc produces noise!
...file*/ for (i=0;i<frame_size*channels;i++) - out[i]=(short)le_short((short)floor(.5+output[i])); + out[i]=(short)floor(.5+output[i]); #if defined WIN32 || defined _WIN32 if (strlen(outFile)==0) WIN_Play_Samples (out, sizeof(short) * frame_size*channels); --- speex-1.0-works/libspeex/nb_celp.c.orig Thu Apr 17 06:13:47 2003 +++ speex-1.0-works/libspeex/nb_celp.c Thu Apr 17 06:13:52 2003 @@ -1067,7 +1067,7 @@ wideband = speex_bits_unpack_unsigned(bits, 1); if (wideband)...
2004 Aug 06
4
Decoding .spx with 1.0 on ppc produces noise!
Hi, I got my hands on the LCA 2003 CD today and I tried to listen to it on my powerbook running Linux. Instead of getting speech, I got an earfull of noise! Attempting the same experiment on an i386 with the same CD produced understandable speech. It seems that the output routine in speexdec converts the output data to little endian short format, which is incorrect on the ppc architecture. The
2008 Apr 04
0
speexdec 1.2.3
.../*printf ("chopping end: %d %d %d\n", new_frame_size, packet_length, packet_no);*/ } if (new_frame_size>0) { #if defined WIN32 || defined _WIN32 if (strlen(outFile)==0) WIN_Play_Samples (out+frame_offset*channels, sizeof(short) * new_frame_size*channels); else #endif fwrite(out+frame_offset*channels, sizeof(short), new_frame_size*channels, fout); audio_size+=sizeof(short)*new_frame_size*c...
2008 Apr 04
2
speexdec 1.2.3
On Fri, Apr 4, 2008 at 12:19 AM, Jean-Marc Valin <jean-marc.valin at usherbrooke.ca> wrote: > Jahn, Ray (R.) a ?crit : > > > Dear Speex codec community: > > > > I am working on conversion of voice files. I could not figure out how to use speexdec.exe 1.2.3 in piped mode in order to avoid the creation of the potentially large intermediate *.wav or *.pcm files. Any