Displaying 5 results from an estimated 5 matches for "out_file_open".
2007 Oct 10
2
compilation errors netbsd
hello,
i am experiencing some persistent compilation errors with both the
1.2beta2 release and the svn speex-trunk:
======================
speexdec.o(.text+0x23b): In function `out_file_open':
/speex-trunk/src/speexdec.c:158: undefined reference to `_oss_ioctl'
speexdec.o(.text+0x268):/speex-trunk/src/speexdec.c:168: undefined reference
to `_oss_ioctl'
speexdec.o(.text+0x296):/speex-trunk/src/speexdec.c:181: undefined reference
to `_oss_ioctl'
*** Error code 1
Stop.
ma...
2007 Oct 11
1
compilation errors netbsd
...>
> Jean-Marc
>
> bluefiftytwo wrote:
> > hello,
> >
> > i am experiencing some persistent compilation errors with both the
> > 1.2beta2 release and the svn speex-trunk:
> > ======================
> > speexdec.o(.text+0x23b): In function `out_file_open':
> > /speex-trunk/src/speexdec.c:158: undefined reference to `_oss_ioctl'
> > speexdec.o(.text+0x268):/speex-trunk/src/speexdec.c:168: undefined
> reference
> > to `_oss_ioctl'
> > speexdec.o(.text+0x296):/speex-trunk/src/speexdec.c:181: undefined
> refere...
2004 Aug 06
0
Sun audio driver for speexdec
...AUDIOIO_H
+#include <sys/types.h>
+#include <sys/ioctl.h>
+#include <sys/audioio.h>
+#include <fcntl.h>
+#ifndef AUDIO_ENCODING_SLINEAR
+#define AUDIO_ENCODING_SLINEAR AUDIO_ENCODING_LINEAR /* Solaris */
+#endif
#endif
#include <string.h>
@@ -166,6 +174,32 @@ FILE *out_file_open(char *outFile, int r
close(audio_fd);
exit(1);
}
+ fout = fdopen(audio_fd, "w");
+#elif defined HAVE_SYS_AUDIOIO_H
+ audio_info_t info;
+ int audio_fd;
+
+ audio_fd = open("/dev/audio", O_WRONLY);
+ if (audio_fd<0)
+ {...
2008 Apr 04
0
speexdec 1.2.3
...\n");
return;
}
len=readint(c, 0);
c+=4;
if (c+len>end)
{
fprintf (stderr, "Invalid/corrupted comments\n");
return;
}
fwrite(c, 1, len, stderr);
c+=len;
fprintf (stderr, "\n");
}
}
FILE *out_file_open(char *outFile, int wav_format, int rate, int *channels)
{
FILE *fout=NULL;
/*Open output file*/
if (strlen(outFile)==0)
{
#if defined HAVE_SYS_SOUNDCARD_H
int audio_fd, format, stereo;
audio_fd=open("/dev/dsp", O_WRONLY);
if (audio_fd<0)
{
p...
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