shithub: sox

ref: 266f197cddf52fab1fdb8336498026cca0c5de5a
dir: /src/vox.h/

View raw version
/* (c) 2007-8 SoX contributors
 *
 * This library is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation; either version 2.1 of the License, or (at
 * your option) any later version.
 *
 * This library is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser
 * General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this library; if not, write to the Free Software Foundation,
 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 */

int lsx_vox_start(sox_format_t * ft);
int lsx_ima_start(sox_format_t * ft);
size_t lsx_vox_read(sox_format_t * ft, sox_sample_t *buffer, size_t len);
int lsx_vox_stopread(sox_format_t * ft);
size_t lsx_vox_write(sox_format_t * ft, const sox_sample_t *buffer, size_t length);
int lsx_vox_stopwrite(sox_format_t * ft);