Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
dsp_tones.c File Reference
#include <linux/gfp.h>
#include <linux/mISDNif.h>
#include <linux/mISDNdsp.h>
#include "core.h"
#include "dsp.h"

Go to the source code of this file.

Data Structures

struct  tones_samples
 
struct  pattern
 

Macros

#define DATA_S   sample_silence
 
#define SIZE_S   (&sizeof_silence)
 
#define DATA_GA   sample_german_all
 
#define SIZE_GA   (&sizeof_german_all)
 
#define DATA_GO   sample_german_old
 
#define SIZE_GO   (&sizeof_german_old)
 
#define DATA_DT   sample_american_dialtone
 
#define SIZE_DT   (&sizeof_american_dialtone)
 
#define DATA_RI   sample_american_ringing
 
#define SIZE_RI   (&sizeof_american_ringing)
 
#define DATA_BU   sample_american_busy
 
#define SIZE_BU   (&sizeof_american_busy)
 
#define DATA_S1   sample_special1
 
#define SIZE_S1   (&sizeof_special1)
 
#define DATA_S2   sample_special2
 
#define SIZE_S2   (&sizeof_special2)
 
#define DATA_S3   sample_special3
 
#define SIZE_S3   (&sizeof_special3)
 

Functions

void dsp_audio_generate_ulaw_samples (void)
 
void dsp_tone_copy (struct dsp *dsp, u8 *data, int len)
 
void dsp_tone_timeout (void *arg)
 
int dsp_tone (struct dsp *dsp, int tone)
 

Macro Definition Documentation

#define DATA_BU   sample_american_busy

Definition at line 28 of file dsp_tones.c.

#define DATA_DT   sample_american_dialtone

Definition at line 24 of file dsp_tones.c.

#define DATA_GA   sample_german_all

Definition at line 20 of file dsp_tones.c.

#define DATA_GO   sample_german_old

Definition at line 22 of file dsp_tones.c.

#define DATA_RI   sample_american_ringing

Definition at line 26 of file dsp_tones.c.

#define DATA_S   sample_silence

Definition at line 18 of file dsp_tones.c.

#define DATA_S1   sample_special1

Definition at line 30 of file dsp_tones.c.

#define DATA_S2   sample_special2

Definition at line 32 of file dsp_tones.c.

#define DATA_S3   sample_special3

Definition at line 34 of file dsp_tones.c.

#define SIZE_BU   (&sizeof_american_busy)

Definition at line 29 of file dsp_tones.c.

#define SIZE_DT   (&sizeof_american_dialtone)

Definition at line 25 of file dsp_tones.c.

#define SIZE_GA   (&sizeof_german_all)

Definition at line 21 of file dsp_tones.c.

#define SIZE_GO   (&sizeof_german_old)

Definition at line 23 of file dsp_tones.c.

#define SIZE_RI   (&sizeof_american_ringing)

Definition at line 27 of file dsp_tones.c.

#define SIZE_S   (&sizeof_silence)

Definition at line 19 of file dsp_tones.c.

#define SIZE_S1   (&sizeof_special1)

Definition at line 31 of file dsp_tones.c.

#define SIZE_S2   (&sizeof_special2)

Definition at line 33 of file dsp_tones.c.

#define SIZE_S3   (&sizeof_special3)

Definition at line 35 of file dsp_tones.c.

Function Documentation

void dsp_audio_generate_ulaw_samples ( void  )

Definition at line 214 of file dsp_tones.c.

int dsp_tone ( struct dsp dsp,
int  tone 
)

Definition at line 497 of file dsp_tones.c.

void dsp_tone_copy ( struct dsp dsp,
u8 data,
int  len 
)

Definition at line 375 of file dsp_tones.c.

void dsp_tone_timeout ( void arg)

Definition at line 460 of file dsp_tones.c.