mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 01:26:58 +00:00
Some missed renamings from the last change to spandsp's tone_generate
This commit is contained in:
@@ -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,
|
||||
|
@@ -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,
|
||||
|
@@ -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],
|
||||
|
Reference in New Issue
Block a user