Home
last modified time | relevance | path

Searched refs:GST_AUDIO_INFO_RATE (Results 1 – 25 of 85) sorted by relevance

1234

/third_party/gstreamer/gstplugins_bad/ext/fdkaac/
Dgstfdkaacenc.c255 GST_AUDIO_INFO_RATE (info))) != AACENC_OK) { in gst_fdkaacenc_set_format()
257 GST_AUDIO_INFO_RATE (info), err); in gst_fdkaacenc_set_format()
322 if (GST_AUDIO_INFO_RATE (info) < 16000) { in gst_fdkaacenc_set_format()
324 } else if (GST_AUDIO_INFO_RATE (info) == 16000) { in gst_fdkaacenc_set_format()
326 } else if (GST_AUDIO_INFO_RATE (info) < 32000) { in gst_fdkaacenc_set_format()
328 } else if (GST_AUDIO_INFO_RATE (info) == 32000) { in gst_fdkaacenc_set_format()
330 } else if (GST_AUDIO_INFO_RATE (info) <= 44100) { in gst_fdkaacenc_set_format()
336 if (GST_AUDIO_INFO_RATE (info) < 16000) { in gst_fdkaacenc_set_format()
338 } else if (GST_AUDIO_INFO_RATE (info) == 16000) { in gst_fdkaacenc_set_format()
340 } else if (GST_AUDIO_INFO_RATE (info) < 22050) { in gst_fdkaacenc_set_format()
[all …]
/third_party/gstreamer/gstplugins_good/sys/osxaudio/
Dgstosxaudioringbuffer.c183 format.mSampleRate = (double) GST_AUDIO_INFO_RATE (&spec->info); in gst_osx_audio_ring_buffer_acquire()
199 format.mSampleRate = (double) GST_AUDIO_INFO_RATE (&spec->info); in gst_osx_audio_ring_buffer_acquire()
225 (spec->latency_time * GST_AUDIO_INFO_RATE (&spec->info) / in gst_osx_audio_ring_buffer_acquire()
312 GST_AUDIO_INFO_RATE (&buf->spec.info), &samples, &latency)) { in gst_osx_audio_ring_buffer_delay()
/third_party/gstreamer/gstplugins_bad/ext/isac/
Dgstisacenc.c165 switch (GST_AUDIO_INFO_RATE (info)) { in gst_isacenc_set_format()
180 "rate", G_TYPE_INT, GST_AUDIO_INFO_RATE (info), NULL); in gst_isacenc_set_format()
185 ret = WebRtcIsac_SetEncSampRate (self->isac, GST_AUDIO_INFO_RATE (info)); in gst_isacenc_set_format()
230 self->samples_per_frame = GST_AUDIO_INFO_RATE (info) / 100; in gst_isacenc_set_format()
/third_party/gstreamer/gstplugins_bad/sys/mediafoundation/
Dgstmfaacenc.cpp262 if (value != GST_AUDIO_INFO_RATE (info)) in gst_mf_aac_enc_get_output_type()
292 if (GST_AUDIO_INFO_RATE (info) <= 44100) { in gst_mf_aac_enc_get_output_type()
298 if (GST_AUDIO_INFO_RATE (info) <= 44100) { in gst_mf_aac_enc_get_output_type()
305 if (GST_AUDIO_INFO_RATE (info) <= 44100) { in gst_mf_aac_enc_get_output_type()
410 if (value != GST_AUDIO_INFO_RATE (info)) in gst_mf_aac_enc_get_input_type()
482 "rate", G_TYPE_INT, GST_AUDIO_INFO_RATE (info), in gst_mf_aac_enc_set_src_caps()
Dgstmfmp3enc.cpp262 if (value != GST_AUDIO_INFO_RATE (info)) in gst_mf_mp3_enc_get_output_type()
394 if (value != GST_AUDIO_INFO_RATE (info)) in gst_mf_mp3_enc_get_input_type()
433 if (GST_AUDIO_INFO_RATE (info) == 32000 || in gst_mf_mp3_enc_set_src_caps()
434 GST_AUDIO_INFO_RATE (info) == 44100 || in gst_mf_mp3_enc_set_src_caps()
435 GST_AUDIO_INFO_RATE (info) == 48000) in gst_mf_mp3_enc_set_src_caps()
445 "rate", G_TYPE_INT, GST_AUDIO_INFO_RATE (info), NULL); in gst_mf_mp3_enc_set_src_caps()
/third_party/gstreamer/gstplugins_bad/gst/speed/
Dgstspeed.c207 GST_AUDIO_INFO_RATE (&filter->info); in gst_speed_convert()
226 if (GST_AUDIO_INFO_RATE (&filter->info) == 0) { in gst_speed_convert()
231 src_value * GST_SECOND / GST_AUDIO_INFO_RATE (&filter->info); in gst_speed_convert()
244 src_value * scale * GST_AUDIO_INFO_RATE (&filter->info) / in gst_speed_convert()
594 GST_AUDIO_INFO_RATE (&filter->info), GST_SECOND); in speed_chain()
625 GST_AUDIO_INFO_RATE (&filter->info)); in speed_chain()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/
Daudio-info.c459 rate = GST_AUDIO_INFO_RATE (info); in gst_audio_info_convert()
544 if (GST_AUDIO_INFO_RATE (info) != GST_AUDIO_INFO_RATE (other)) in gst_audio_info_is_equal()
Dgstaudioaggregator.c598 (((guint64) GST_AUDIO_INFO_RATE (&srcpad->info)) * in gst_audio_aggregator_update_samples_per_buffer()
608 (((guint64) GST_AUDIO_INFO_RATE (&srcpad->info)) * in gst_audio_aggregator_update_samples_per_buffer()
1689 rate = GST_AUDIO_INFO_RATE (&pad->info); in gst_audio_aggregator_do_clip()
1710 guint rate_output = GST_AUDIO_INFO_RATE (&srcpad->info); in gst_audio_aggregator_pad_enqueue_qos_message()
1728 rate_input = GST_AUDIO_INFO_RATE (&srcpad->info); in gst_audio_aggregator_pad_enqueue_qos_message()
1730 rate_input = GST_AUDIO_INFO_RATE (&pad->info); in gst_audio_aggregator_pad_enqueue_qos_message()
1788 rate = GST_AUDIO_INFO_RATE (&srcpad->info); in gst_audio_aggregator_fill_buffer()
1791 rate = GST_AUDIO_INFO_RATE (&pad->info); in gst_audio_aggregator_fill_buffer()
2230 rate = GST_AUDIO_INFO_RATE (&srcpad->info); in gst_audio_aggregator_aggregate()
2340 GST_AUDIO_INFO_RATE (&srcpad->info)))); in gst_audio_aggregator_aggregate()
[all …]
Dgstaudiofilter.h70 #define GST_AUDIO_FILTER_RATE(filter) (GST_AUDIO_INFO_RATE(GST_AUDIO_FILTER_INFO(filter)))
Daudio-buffer.h79 #define GST_AUDIO_BUFFER_RATE(b) (GST_AUDIO_INFO_RATE(&(b)->info))
Daudio-info.h99 #define GST_AUDIO_INFO_RATE(info) ((info)->rate) macro
/third_party/gstreamer/gstplugins_bad/gst/audiobuffersplit/
Dgstaudiobuffersplit.c239 self->output_buffer_duration_d = GST_AUDIO_INFO_RATE (&self->info); in gst_audio_buffer_split_update_samples_per_buffer()
243 (((guint64) GST_AUDIO_INFO_RATE (&self->info)) * in gst_audio_buffer_split_update_samples_per_buffer()
251 (((guint64) GST_AUDIO_INFO_RATE (&self->info)) * in gst_audio_buffer_split_update_samples_per_buffer()
713 rate = GST_AUDIO_INFO_RATE (&self->info); in gst_audio_buffer_split_sink_chain()
786 rate = GST_AUDIO_INFO_RATE (&self->info); in gst_audio_buffer_split_sink_event()
850 rate = GST_AUDIO_INFO_RATE (&self->info); in gst_audio_buffer_split_sink_event()
/third_party/gstreamer/gstplugins_base/gst/audiorate/
Dgstaudiorate.c461 rate = GST_AUDIO_INFO_RATE (&audiorate->info); in gst_audio_rate_chain()
482 GST_AUDIO_INFO_RATE (&audiorate->info), GST_SECOND); in gst_audio_rate_chain()
492 GST_AUDIO_INFO_RATE (&audiorate->info)); in gst_audio_rate_chain()
497 GST_AUDIO_INFO_RATE (&audiorate->info), GST_SECOND); in gst_audio_rate_chain()
/third_party/gstreamer/gstplugins_bad/ext/soundtouch/
Dgstbpmdetect.cc217 GST_AUDIO_INFO_RATE (&filter->info)); in gst_bpm_detect_transform_ip()
221 GST_AUDIO_INFO_RATE (&filter->info)); in gst_bpm_detect_transform_ip()
/third_party/gstreamer/gstplugins_base/gst/audiotestsrc/
Dgstaudiotestsrc.c504 step = M_PI_M2 * src->freq / GST_AUDIO_INFO_RATE (&src->info); \
549 step = M_PI_M2 * src->freq / GST_AUDIO_INFO_RATE (&src->info); \
594 step = M_PI_M2 * src->freq / GST_AUDIO_INFO_RATE (&src->info); \
646 step = M_PI_M2 * src->freq / GST_AUDIO_INFO_RATE (&src->info); \
882 step = M_PI_M2 * src->freq / GST_AUDIO_INFO_RATE (&src->info); \
941 samplerate = GST_AUDIO_INFO_RATE (&src->info); \
1279 GST_AUDIO_INFO_RATE (&(src->info)), GST_SECOND); in gst_audio_test_src_change_wave()
1387 samplerate = GST_AUDIO_INFO_RATE (&src->info); in gst_audio_test_src_do_seek()
1466 samplerate = GST_AUDIO_INFO_RATE (&src->info); in gst_audio_test_src_fill()
/third_party/gstreamer/gstplugins_good/gst/level/
Dgstlevel.c277 if (GST_AUDIO_INFO_RATE (&filter->info)) { in gst_level_set_property()
427 guint sample_rate = GST_AUDIO_INFO_RATE (&level->info); in gst_level_recalc_interval_frames()
631 rate = GST_AUDIO_INFO_RATE (&filter->info); in gst_level_transform_ip()
751 rate = GST_AUDIO_INFO_RATE (&filter->info); in gst_level_post_message()
/third_party/gstreamer/gstplugins_bad/ext/ladspa/
Dgstladspasource.c119 return gst_ladspa_setup (&ladspa->ladspa, GST_AUDIO_INFO_RATE (&info)); in gst_ladspa_source_type_set_caps()
205 samplerate = GST_AUDIO_INFO_RATE (&ladspa->info); in gst_ladspa_source_type_do_seek()
286 samplerate = GST_AUDIO_INFO_RATE (&ladspa->info); in gst_ladspa_source_type_fill()
/third_party/gstreamer/gstplugins_bad/gst/aiff/
Daiffmux.c223 rate = GST_AUDIO_INFO_RATE (&aiffmux->info); in gst_aiff_mux_write_comm_header()
388 GST_AUDIO_INFO_RATE (&info)); in gst_aiff_mux_set_caps()
/third_party/gstreamer/gstplugins_bad/ext/lv2/
Dgstlv2source.c181 if (!gst_lv2_setup (&lv2->lv2, GST_AUDIO_INFO_RATE (&info))) in gst_lv2_source_set_caps()
256 samplerate = GST_AUDIO_INFO_RATE (&lv2->info); in gst_lv2_source_do_seek()
399 samplerate = GST_AUDIO_INFO_RATE (&lv2->info); in gst_lv2_source_fill()
Dgstlv2filter.c289 GST_AUDIO_INFO_RATE (info)); in gst_lv2_filter_setup()
291 if (!gst_lv2_setup (&self->lv2, GST_AUDIO_INFO_RATE (info))) in gst_lv2_filter_setup()
/third_party/gstreamer/gstplugins_good/ext/pulse/
Dpulseutil.c131 ss->rate = GST_AUDIO_INFO_RATE (&spec->info); in gst_pulse_fill_sample_spec()
183 pa_format_info_set_rate (format, GST_AUDIO_INFO_RATE (ainfo)); in gst_pulse_fill_format_info()
/third_party/gstreamer/gstplugins_good/ext/flac/
Dgstflacenc.c605 if (add_cuesheet (flacenc->toc, GST_AUDIO_INFO_RATE (info), cuesheet)) { in gst_flac_enc_set_metadata()
716 samples = -flacenc->seekpoints * GST_AUDIO_INFO_RATE (info); in gst_flac_enc_set_metadata()
834 duration = GST_CLOCK_TIME_TO_FRAMES (duration, GST_AUDIO_INFO_RATE (info)); in gst_flac_enc_peer_query_total_samples()
895 GST_AUDIO_INFO_RATE (info)); in gst_flac_enc_set_format()
1080 "rate", G_TYPE_INT, GST_AUDIO_INFO_RATE (info), NULL); in gst_flac_enc_process_stream_headers()
/third_party/gstreamer/gstplugins_bad/gst/segmentclip/
Dgstaudiosegmentclip.c173 rate = GST_AUDIO_INFO_RATE (&info); in gst_audio_segment_clip_set_caps()
/third_party/gstreamer/gstplugins_bad/sys/directsound/
Dgstdirectsoundsrc.c489 wfx.nSamplesPerSec = GST_AUDIO_INFO_RATE (&spec->info); in gst_directsound_src_prepare()
534 GST_AUDIO_INFO_BPF (&spec->info) * GST_AUDIO_INFO_RATE (&spec->info)); in gst_directsound_src_prepare()
568 GST_AUDIO_INFO_CHANNELS (&spec->info), GST_AUDIO_INFO_RATE (&spec->info), in gst_directsound_src_prepare()
/third_party/gstreamer/gstplugins_good/gst/audiofx/
Daudiofirfilter.c197 gint new_rate = GST_AUDIO_INFO_RATE (info); in gst_audio_fir_filter_setup()

1234