oss.h

00001 /*
00002  * SpanDSP - a series of DSP components for telephony
00003  *
00004  * oss.h - OSS interface routines for testing stuff
00005  *
00006  * Written by Steve Underwood <steveu@coppice.org>
00007  *
00008  * Copyright (C) 2001 Steve Underwood
00009  *
00010  * All rights reserved.
00011  *
00012  * This program is free software; you can redistribute it and/or modify
00013  * it under the terms of the GNU General Public License as published by
00014  * the Free Software Foundation; either version 2 of the License, or
00015  * (at your option) any later version.
00016  *
00017  * This program is distributed in the hope that it will be useful,
00018  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00019  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00020  * GNU General Public License for more details.
00021  *
00022  * You should have received a copy of the GNU General Public License
00023  * along with this program; if not, write to the Free Software
00024  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00025  *
00026  * $Id: oss.h,v 1.3 2005/11/23 17:09:47 steveu Exp $
00027  */
00028 
00029 #if !defined(_OSS_H_)
00030 #define _OSS_H_
00031 
00032 /*! \page oss_page OSS audio I/O
00033 \section oss_page_sec_1 What does it do?
00034 */
00035 
00036 #ifdef __cplusplus
00037 extern "C" {
00038 #endif
00039 
00040 int oss_init(int mode);
00041 int oss_get(int16_t amp[], int samples);
00042 int oss_put(int16_t amp[], int samples);
00043 int oss_release(void);
00044 
00045 #ifdef __cplusplus
00046 }
00047 #endif
00048 
00049 #endif
00050 /*- End of file ------------------------------------------------------------*/

Generated on Fri Nov 10 09:40:24 2006 for libspandsp by  doxygen 1.5.1