Some missed renamings from the last change to spandsp's tone_generate

This commit is contained in:
Steve Underwood
2010-06-07 21:30:13 +08:00
parent 114731215d
commit 4c464fd510
11 changed files with 18 additions and 18 deletions

View File

@@ -650,7 +650,7 @@ SPAN_DECLARE(adsi_tx_state_t *) adsi_tx_init(adsi_tx_state_t *s, int standard)
return NULL;
}
memset(s, 0, sizeof(*s));
make_tone_gen_descriptor(&(s->alert_tone_desc),
tone_gen_descriptor_init(&(s->alert_tone_desc),
2130,
-13,
2750,

View File

@@ -262,7 +262,7 @@ static void bell_mf_gen_init(void)
while (tones->on_time)
{
/* Note: The duration of KP is longer than the other signals. */
make_tone_gen_descriptor(&bell_mf_digit_tones[i++],
tone_gen_descriptor_init(&bell_mf_digit_tones[i++],
tones->f1,
tones->level1,
tones->f2,
@@ -409,7 +409,7 @@ SPAN_DECLARE(r2_mf_tx_state_t *) r2_mf_tx_init(r2_mf_tx_state_t *s, int fwd)
tones = r2_mf_fwd_tones;
while (tones->on_time)
{
make_tone_gen_descriptor(&r2_mf_fwd_digit_tones[i++],
tone_gen_descriptor_init(&r2_mf_fwd_digit_tones[i++],
tones->f1,
tones->level1,
tones->f2,
@@ -425,7 +425,7 @@ SPAN_DECLARE(r2_mf_tx_state_t *) r2_mf_tx_init(r2_mf_tx_state_t *s, int fwd)
tones = r2_mf_back_tones;
while (tones->on_time)
{
make_tone_gen_descriptor(&r2_mf_back_digit_tones[i++],
tone_gen_descriptor_init(&r2_mf_back_digit_tones[i++],
tones->f1,
tones->level1,
tones->f2,

View File

@@ -434,7 +434,7 @@ static void dtmf_tx_initialise(void)
{
for (col = 0; col < 4; col++)
{
make_tone_gen_descriptor(&dtmf_digit_tones[row*4 + col],
tone_gen_descriptor_init(&dtmf_digit_tones[row*4 + col],
(int) dtmf_row[row],
DEFAULT_DTMF_TX_LEVEL,
(int) dtmf_col[col],