search for: aifc

Displaying 9 results from an estimated 9 matches for "aifc".

Did you mean: aic
2006 May 26
2
question about coding
John Miles wrote: > You'll definitely have to encode in little-endian form. PCM audio is always > little-endian, to the best of my knowledge. I have never seen any > big-endian audio data files. Try AIFF, AU and IFF just for starters. They are definietly not the only ones. Erik -- +-----------------------------------------------------------+ Erik de Castro Lopo
2015 Feb 19
0
[PATCH] oggenc: validate count of channels in the header
...dlib.h> #include <stdio.h> #include <string.h> @@ -251,6 +252,7 @@ int aiff_open(FILE *in, oe_enc_opt *opt, unsigned char *buf, int buflen) aiff_fmt format; aifffile *aiff = malloc(sizeof(aifffile)); int i; + long channels; if(buf[11]=='C') aifc=1; @@ -277,11 +279,17 @@ int aiff_open(FILE *in, oe_enc_opt *opt, unsigned char *buf, int buflen) return 0; } - format.channels = READ_U16_BE(buffer); + format.channels = channels = READ_U16_BE(buffer); format.totalframes = READ_U32_BE(buffer+2); format.samplesize =...
2000 Jun 26
0
Hello ... and a few comments.
Hi, I'm new here. This is all good news. I work on SGI systems and have built the encoder and decoder to work on SGI. I have also added code to the decoder_example so it writes out an "aifc" file using the SGI AF library. I had some compile problems for the main code using good old plain IRIX "cc". Simple fixes as follows ... In any source module which uses "alloca" you MUST include an extra header file <alloca.h> ... I quote from the man page:...
2001 Jun 23
3
gcc 2.95.2/irix/Laguerre_With_Deflation/inifinte loop
I built ogg vorbis from the rc1 cvs source on Irix 6.5.12 with gcc 2.95.2. Using oggenc I encoded about 8,000 aiff files but found about a dozen where oggenc would go into an infinite loop. I tracked the problem with Laguerre_With_Deflation() as far back as logmask being Inf in floor0_forward. I'm now building gcc 3.0 with the expectation this is a compiler issue. If not, I'll back
2001 May 10
2
_oggpack
Hello I am new at this. I have compiled the libogg and libvorbis libraries and installed them on my MacOS X machine. The libao cannot be compiled yet since stuff is missing. But I only want to play round with encoding right now. So I also unpacked the vorbis tools distribution and am in oggenc. In oggenc I do a cc *.c -I. -L/usr/local/lib -logg -lvorbis -lvorbisenc I get unknown symbols
2003 Aug 30
1
Fink's vorbis-tools patch
...-- vorbis-tools-1.0.orig/oggenc/audio.c Thu Jul 11 16:20:33 2002 +++ vorbis-tools-1.0/oggenc/audio.c Mon Jan 20 09:42:57 2003 @@ -220,6 +220,8 @@ unsigned char buf2[8]; aiff_fmt format; aifffile *aiff = malloc(sizeof(aifffile)); + + unsigned int bigendian = 1; if(buf[11]=='C') aifc=1; @@ -258,6 +260,10 @@ fprintf(stderr, _("Warning: AIFF-C header truncated.\n")); return 0; } + else if( ! memcmp(buffer+18, "sowt", 4) ) + { + bigendian = 0; + } else if(memcmp(buffer+18, "NONE", 4)) { fprintf(stderr, _("Warning: Can...
2006 Jul 13
0
[vorbis-tools] Some patches coming from Debian bugs
...#include <config.h> +#endif + #include <errno.h> #include <iconv.h> #include <stdio.h> Index: oggenc/audio.c =================================================================== --- oggenc/audio.c (revision 11702) +++ oggenc/audio.c (working copy) @@ -8,6 +8,9 @@ ** AIFF/AIFC support from OggSquish, (c) 1994-1996 Monty <xiphmont@xiph.org> **/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif #include <stdlib.h> #include <stdio.h> @@ -15,10 +18,6 @@ #include <sys/types.h> #include <math.h> -#ifdef HAVE_CONFIG_H -#include &...
2006 Jul 13
0
[vorbis-tools] Some patches coming from Debian bugs
...#include <config.h> +#endif + #include <errno.h> #include <iconv.h> #include <stdio.h> Index: oggenc/audio.c =================================================================== --- oggenc/audio.c (revision 11702) +++ oggenc/audio.c (working copy) @@ -8,6 +8,9 @@ ** AIFF/AIFC support from OggSquish, (c) 1994-1996 Monty <xiphmont@xiph.org> **/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif #include <stdlib.h> #include <stdio.h> @@ -15,10 +18,6 @@ #include <sys/types.h> #include <math.h> -#ifdef HAVE_CONFIG_H -#include &...
2015 Oct 08
2
[PATCH 0/1] opusenc support for WavPack input
This patch to opus-tools adds optional support to WavPack lossless format as input to opusenc. Like support to FLAC, it depends on an external library, libwavpack, and may be disabled on configure. Lucas Clemente Vella (1): Reading input from WavPack files. Makefile.am | 7 +- configure.ac | 37 ++++++++ src/audio-in.c | 71 ++++++++------- src/opusenc.c | 19 +++- src/opusenc.h