Displaying 4 results from an estimated 4 matches for "win_audio_close".
2004 Aug 06
2
Bug found (and possibly fixed) in Win32 speexdec
...xdec "clips" playback of files on fast Windows machines when
invoking it in decode-and-play mode by only supplying a filename for the
source file - the end of the sound playback gets chopped off. I have
traced it to the line reading:
if (fout && strlen(outFile)==0)
WIN_Audio_close ();
<p>...which should probably read...
if (strlen(outFile)==0)
WIN_Audio_close ();
At least everything works for me, if I make the abovementioned change.
Cheers!
Anders
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/og...
2004 Aug 06
0
Bug found (and possibly fixed) in Win32 speexdec
...k of files on fast Windows machines when
> invoking it in decode-and-play mode by only supplying a filename for the
> source file - the end of the sound playback gets chopped off. I have
> traced it to the line reading:
>
> if (fout && strlen(outFile)==0)
> WIN_Audio_close ();
>
>
> ...which should probably read...
> if (strlen(outFile)==0)
> WIN_Audio_close ();
>
> At least everything works for me, if I make the abovementioned change.
>
> Cheers!
> Anders
>
> --- >8 ----
> List archives: http://www.xiph.o...
2008 Apr 04
0
speexdec 1.2.3
...der_destroy(st);
else
{
fprintf (stderr, "This doesn't look like a Speex file\n");
}
speex_bits_destroy(&bits);
if (stream_init)
ogg_stream_clear(&os);
ogg_sync_clear(&oy);
#if defined WIN32 || defined _WIN32
if (strlen(outFile)==0)
WIN_Audio_close ();
#endif
if (close_in)
fclose(fin);
if (fout != NULL)
fclose(fout);
return 0;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: speex 1.2.3 speexdec.c
Type: application/octet-stream
Size: 26186 bytes
Desc: speex 1.2.3 speexdec.c
Url :...
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