Common audio class for GNU telephonic audio. More...
#include <audio.h>
Data Structures | |
class | framer |
Common access to audio frames. More... | |
Public Types | |
typedef uint8_t * | encoded_t |
typedef audio::framer * | framer_t |
typedef int16_t * | linear_t |
enum | state_t { IDLE = 0, ACTIVE, END, FAILED, INVALID, INVFILE, INVIO = FAILED } |
enum | type_t { ULAW, ALAW, LINEAR, STREAM, PACKET, FRAMED, NATIVE } |
Static Public Member Functions | |
static void | a2u (encoded_t data, unsigned samples) |
static float | dbm (int16_t linear) |
static int16_t | dbm (float dbm) |
static linear_t | expand (encoded_t ulaw, unsigned samples, linear_t target=((void *) 0)) |
static void | init (void) |
static void | release (framer_t buffer) |
static encoded_t | repack (encoded_t ulaw, unsigned samples, linear_t source=((void *) 0)) |
static void | u2a (encoded_t data, unsigned samples) |
Static Public Attributes | |
static volatile timeout_t | global |
Common audio class for GNU telephonic audio.
This holds many common and useful functions that can be inherited into other classes. This class also defines common data types and structures used in the remainder of GNU ccAudio.
Definition at line 47 of file audio.h.