[vorbis-dev] WAVE loader for oggenc and oggdrop
David Balazic
david.balazic at uni-mb.si
Wed Aug 1 01:11:43 PDT 2001
<LET OBJECT=STEAM DIRECTION=OFF>
Here is an improved WAVE file loader for oggenc/oggdrop :
int load_wave(char * filename,void * buffer)
{
fprintf(stderr,"unsupported WAVE file format !\n");
return -1;
}
It has the same functionality as the current code, but is shorter,
has less ( zero ? ) bugs, is easier to maintain etc.
</LET>
I created a RIFF/WAVE ( commonly known as a WAV file ) ( PCM , 44100 kHz , stereo , 16 bit )
with the Sound Recorder application in windows 2000 pro.
Both oggenc and oggdrop ( beta4 ) report that it is an unsupported file format.
ox ( a recent version, that is shipped with redhat linux 7.1 ),
AFsp-v5r2.tar.gz, audiofile-0.2.2.tar.gz , libsndfile-0.0.23.tar.gz
all read the WAVE file without no problems.
They are all LGPL ( except AFsp , which has a license 5 lines long and is
IMHO legally meaningless, or it doesn't legally mean the same what the authors
thinks it means ) so more than adequate for ogg example utilities.
Remember : you can not invent a better wheel !
--
David Balazic
--------------
"Be excellent to each other." - Bill & Ted
- - - - - - - - - - - - - - - - - - - - - -
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Vorbis-dev
mailing list