00001 /* 00002 * iaxclient: a cross-platform IAX softphone library 00003 * 00004 * Copyrights: 00005 * Copyright (C) 2003-2006, Horizon Wimba, Inc. 00006 * Copyright (C) 2007, Wimba, Inc. 00007 * 00008 * Contributors: 00009 * Steve Kann <stevek@stevek.com> 00010 * 00011 * This program is free software, distributed under the terms of 00012 * the GNU Lesser (Library) General Public License. 00013 */ 00014 00015 #ifndef _AUDIO_ENCODE_H 00016 #define _AUDIO_ENCODE_H 00017 00018 struct iaxc_call; 00019 struct iax_event; 00020 00021 int audio_send_encoded_audio(struct iaxc_call * most_recent_answer, int callNo, 00022 void * data, int iEncodeType, int samples); 00023 00024 int audio_decode_audio(struct iaxc_call * p, void * out, void * data, int len, 00025 int iEncodeType, int * samples); 00026 00027 #endif 00028