c022bb8d51
Remove ENABLE_IAX option Add an improved FGCom standalone as part of FG in utils directory
33 lines
811 B
C
33 lines
811 B
C
/*
|
|
* iaxclient: a cross-platform IAX softphone library
|
|
*
|
|
* Copyrights:
|
|
* Copyright (C) 2003-2006, Horizon Wimba, Inc.
|
|
* Copyright (C) 2007, Wimba, Inc.
|
|
*
|
|
* Contributors:
|
|
* Steve Kann <stevek@stevek.com>
|
|
*
|
|
* This program is free software, distributed under the terms of
|
|
* the GNU Lesser (Library) General Public License.
|
|
*/
|
|
|
|
#ifndef _AUDIO_ENCODE_H
|
|
#define _AUDIO_ENCODE_H
|
|
|
|
/* Minimum dB possible in the iaxclient world. This level
|
|
* is intended to represent silence.
|
|
*/
|
|
#define AUDIO_ENCODE_SILENCE_DB -99.0f
|
|
|
|
struct iaxc_call;
|
|
struct iax_event;
|
|
|
|
int audio_send_encoded_audio(struct iaxc_call * most_recent_answer, int callNo,
|
|
void * data, int iEncodeType, int samples);
|
|
|
|
int audio_decode_audio(struct iaxc_call * p, void * out, void * data, int len,
|
|
int iEncodeType, int * samples);
|
|
|
|
#endif
|
|
|