6 * ogg_to_pcm - decode ogg vorbis audio files to PCM data using libvorbis
8 * ogg_to_pcm implements a single function using libvorbis to decode
9 * signed 16 bit ogg audio data to signed 16 bit PCM data.
13 * #include <ogg_to_pcm.h>
15 * int main(int argc, char *argv[])
18 * int rc, sample_size, sample_rate, channels, nsamples;
20 * rc = ogg_to_pcm("mysound.ogg", &pcmbuffer,
21 * &sample_size, &sample_rate, &channels, &nsamples);
27 * Licence: LGPL (2 or any later version)
30 int main(int argc, char *argv[])
35 if (strcmp(argv[1], "depends") == 0) {
36 printf("libvorbis\n");
40 if (strcmp(argv[1], "libs") == 0) {
41 printf("vorbisfile\n");