Mercurial > hg > sv-dependency-builds
comparison src/libvorbis-1.3.3/test/write_read.h @ 1:05aa0afa9217
Bring in flac, ogg, vorbis
author | Chris Cannam |
---|---|
date | Tue, 19 Mar 2013 17:37:49 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
0:c7265573341e | 1:05aa0afa9217 |
---|---|
1 /******************************************************************** | |
2 * * | |
3 * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * | |
4 * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * | |
5 * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * | |
6 * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * | |
7 * * | |
8 * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2007 * | |
9 * by the Xiph.Org Foundation http://www.xiph.org/ * | |
10 * * | |
11 ******************************************************************** | |
12 | |
13 function: utility functions for vorbis codec test suite. | |
14 last mod: $Id: util.c 13293 2007-07-24 00:09:47Z erikd $ | |
15 | |
16 ********************************************************************/ | |
17 | |
18 /* Write supplied data to an Ogg/Vorbis file with specified filename at | |
19 * specified sample rate. Assumes a single channel of audio. */ | |
20 void write_vorbis_data_or_die (const char *filename, int srate, float q, | |
21 const float * data, int count, int ch) ; | |
22 | |
23 /* Read given Ogg/Vorbis file into data specified data array. This | |
24 * function is basically the inverse of the one above. Again, assumes | |
25 * a single channel of audio. */ | |
26 void read_vorbis_data_or_die (const char *filename, int srate, | |
27 float * data, int count) ; | |
28 |