Home
last modified time | relevance | path

Searched refs:tone_size (Results 1 – 2 of 2) sorted by relevance

/third_party/gstreamer/gstplugins_good/gst/dtmf/
Dgstrtpdtmfdepay.c299 gint tone_size; in gst_dtmf_src_generate_tone() local
312 tone_size = (payload.duration * SAMPLE_SIZE * CHANNELS) / 8; in gst_dtmf_src_generate_tone()
313 buf = gst_buffer_new_allocate (NULL, tone_size, &params); in gst_dtmf_src_generate_tone()
326 for (i = 0; i < (tone_size / (SAMPLE_SIZE / 8)); i++) { in gst_dtmf_src_generate_tone()
Dgstdtmfsrc.c524 gint tone_size; in gst_dtmf_src_generate_tone() local
531 tone_size = ((duration / 1000) * sample_rate * SAMPLE_SIZE * CHANNELS) / 8; in gst_dtmf_src_generate_tone()
533 buffer = gst_buffer_new_allocate (NULL, tone_size, &params); in gst_dtmf_src_generate_tone()
544 for (i = 0; i < (tone_size / (SAMPLE_SIZE / 8)); i++) { in gst_dtmf_src_generate_tone()