Searched refs:tone_size (Results 1 – 2 of 2) sorted by relevance
299 gint tone_size; in gst_dtmf_src_generate_tone() local312 tone_size = (payload.duration * SAMPLE_SIZE * CHANNELS) / 8; in gst_dtmf_src_generate_tone()313 buf = gst_buffer_new_allocate (NULL, tone_size, ¶ms); in gst_dtmf_src_generate_tone()326 for (i = 0; i < (tone_size / (SAMPLE_SIZE / 8)); i++) { in gst_dtmf_src_generate_tone()
524 gint tone_size; in gst_dtmf_src_generate_tone() local531 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, ¶ms); in gst_dtmf_src_generate_tone()544 for (i = 0; i < (tone_size / (SAMPLE_SIZE / 8)); i++) { in gst_dtmf_src_generate_tone()