/third_party/gstreamer/gstplugins_good/gst/interleave/ |
D | deinterleave.c | 210 gst_audio_info_init (&self->audio_info); in gst_deinterleave_init() 251 for (i = 0; i < GST_AUDIO_INFO_CHANNELS (&self->audio_info); i++) { in gst_deinterleave_add_new_pads() 255 GstAudioFormat format = GST_AUDIO_INFO_FORMAT (&self->audio_info); in gst_deinterleave_add_new_pads() 256 gint rate = GST_AUDIO_INFO_RATE (&self->audio_info); in gst_deinterleave_add_new_pads() 262 position = GST_AUDIO_INFO_POSITION (&self->audio_info, i); in gst_deinterleave_add_new_pads() 310 GST_AUDIO_INFO_POSITION (&self->audio_info, i); in gst_deinterleave_set_pads_caps() 342 switch (GST_AUDIO_INFO_WIDTH (&self->audio_info)) { in gst_deinterleave_set_process_function() 432 if (!gst_audio_info_from_caps (&self->audio_info, caps)) in gst_deinterleave_sink_setcaps() 445 if (gst_deinterleave_check_caps_change (self, &old_info, &self->audio_info)) { in gst_deinterleave_sink_setcaps() 551 gst_deinterleave_check_caps_change (self, &self->audio_info, &new_info); in gst_deinterleave_sink_acceptcaps() [all …]
|
D | deinterleave.h | 54 GstAudioInfo audio_info; member
|
/third_party/gstreamer/gstplugins_bad/sys/applemedia/ |
D | atdec.c | 411 gst_atdec_offline_render (GstATDec * atdec, GstAudioInfo * audio_info) in gst_atdec_offline_render() argument 424 status = AudioQueueAllocateBuffer (atdec->queue, out_frames * audio_info->bpf, in gst_atdec_offline_render() 439 if (output_buffer->mAudioDataByteSize % audio_info->bpf != 0) in gst_atdec_offline_render() 446 output_buffer->mAudioDataByteSize / audio_info->bpf; in gst_atdec_offline_render() 490 (guint) output_buffer->mAudioDataByteSize, audio_info->bpf), in gst_atdec_offline_render() 505 GstAudioInfo *audio_info; in gst_atdec_handle_frame() local 510 audio_info = gst_audio_decoder_get_audio_info (decoder); in gst_atdec_handle_frame() 518 flow_ret = gst_atdec_offline_render (atdec, audio_info); in gst_atdec_handle_frame() 552 flow_ret = gst_atdec_offline_render (atdec, audio_info); in gst_atdec_handle_frame()
|
/third_party/libsnd/programs/ |
D | sndfile-play.c | 735 audio_info_t audio_info ; in solaris_play() local 761 AUDIO_INITINFO (&audio_info) ; in solaris_play() 763 audio_info.play.sample_rate = sfinfo.samplerate ; in solaris_play() 764 audio_info.play.channels = sfinfo.channels ; in solaris_play() 765 audio_info.play.precision = 16 ; in solaris_play() 766 audio_info.play.encoding = AUDIO_ENCODING_LINEAR ; in solaris_play() 767 audio_info.play.gain = AUDIO_MAX_GAIN ; in solaris_play() 768 audio_info.play.balance = AUDIO_MID_BALANCE ; in solaris_play() 770 if ((error = ioctl (audio_fd, AUDIO_SETINFO, &audio_info))) in solaris_play() 776 delay_time = (BUFFER_LEN * 1000000) / (audio_info.play.sample_rate * 4) ; in solaris_play()
|
/third_party/gstreamer/gstplugins_bad/ext/bs2b/ |
D | gstbs2b.c | 115 const GstAudioInfo * audio_info); 244 gst_bs2b_setup (GstAudioFilter * filter, const GstAudioInfo * audio_info) in gst_bs2b_setup() argument 248 gint channels = GST_AUDIO_INFO_CHANNELS (audio_info); in gst_bs2b_setup() 260 switch (GST_AUDIO_INFO_FORMAT (audio_info)) { in gst_bs2b_setup() 321 (GST_AUDIO_INFO_WIDTH (audio_info) * channels) / 8; in gst_bs2b_setup() 324 bs2b_set_srate (element->bs2bdp, GST_AUDIO_INFO_RATE (audio_info)); in gst_bs2b_setup()
|
/third_party/gstreamer/gstplugins_base/tools/ |
D | gst-discoverer.c | 243 GstDiscovererAudioInfo *audio_info; in gst_stream_audio_information_to_string() local 256 audio_info = (GstDiscovererAudioInfo *) info; in gst_stream_audio_information_to_string() 257 ctmp = gst_discoverer_audio_info_get_language (audio_info); in gst_stream_audio_information_to_string() 261 channel_positions = format_channel_mask (audio_info); in gst_stream_audio_information_to_string() 263 gst_discoverer_audio_info_get_channels (audio_info), channel_positions); in gst_stream_audio_information_to_string() 267 gst_discoverer_audio_info_get_sample_rate (audio_info)); in gst_stream_audio_information_to_string() 269 gst_discoverer_audio_info_get_depth (audio_info)); in gst_stream_audio_information_to_string() 272 gst_discoverer_audio_info_get_bitrate (audio_info)); in gst_stream_audio_information_to_string() 274 gst_discoverer_audio_info_get_max_bitrate (audio_info)); in gst_stream_audio_information_to_string()
|
/third_party/gstreamer/gstplugins_bad/gst/inter/ |
D | gstinteraudiosrc.c | 242 if (interaudiosrc->surface->audio_info.finfo) { in gst_inter_audio_src_get_caps() 243 caps = gst_audio_info_to_caps (&interaudiosrc->surface->audio_info); in gst_inter_audio_src_get_caps() 352 if (interaudiosrc->surface->audio_info.finfo) { in gst_inter_audio_src_create() 353 if (!gst_audio_info_is_equal (&interaudiosrc->surface->audio_info, in gst_inter_audio_src_create() 355 caps = gst_audio_info_to_caps (&interaudiosrc->surface->audio_info); in gst_inter_audio_src_create() 363 bpf = interaudiosrc->surface->audio_info.bpf; in gst_inter_audio_src_create()
|
D | gstinteraudiosink.c | 212 memset (&interaudiosink->surface->audio_info, 0, sizeof (GstAudioInfo)); in gst_inter_audio_sink_start() 232 memset (&interaudiosink->surface->audio_info, 0, sizeof (GstAudioInfo)); in gst_inter_audio_sink_stop() 255 interaudiosink->surface->audio_info = info; in gst_inter_audio_sink_set_caps()
|
D | gstintersurface.h | 43 GstAudioInfo audio_info; member
|
/third_party/gstreamer/gstplugins_bad/sys/dshowdecwrapper/ |
D | gstdshowaudiodec.cpp | 882 GstAudioInfo audio_info; in gst_dshowaudiodec_setup_graph() local 921 gst_audio_info_init(&audio_info); in gst_dshowaudiodec_setup_graph() 922 gst_audio_info_set_format(&audio_info, in gst_dshowaudiodec_setup_graph() 926 outcaps = gst_audio_info_to_caps(&audio_info); in gst_dshowaudiodec_setup_graph() 1006 WAVEFORMATEX *audio_info = (WAVEFORMATEX *) mediatype->pbFormat; in gst_dshowaudiodec_get_filter_settings() local 1008 adec->channels = audio_info->nChannels; in gst_dshowaudiodec_get_filter_settings() 1009 adec->depth = audio_info->wBitsPerSample; in gst_dshowaudiodec_get_filter_settings() 1010 adec->rate = audio_info->nSamplesPerSec; in gst_dshowaudiodec_get_filter_settings()
|
/third_party/gstreamer/gstplugins_good/tests/check/elements/ |
D | deinterleave.c | 505 GstAudioInfo audio_info; in float_buffer_check_probe() local 519 gst_audio_info_init (&audio_info); in float_buffer_check_probe() 520 fail_unless (gst_audio_info_from_caps (&audio_info, caps)); in float_buffer_check_probe() 522 pos = audio_info.position; in float_buffer_check_probe()
|
/third_party/gstreamer/gstplugins_bad/tests/check/libs/ |
D | play.c | 564 GstPlayAudioInfo *audio_info = (GstPlayAudioInfo *) stream; in test_audio_info() local 575 (audio_info), 48000); in test_audio_info() 576 fail_unless_equals_int (gst_play_audio_info_get_channels (audio_info), 2); in test_audio_info() 578 (audio_info), 192000); in test_audio_info() 579 fail_unless (gst_play_audio_info_get_language (audio_info) != NULL); in test_audio_info() 584 (audio_info), 48000); in test_audio_info() 585 fail_unless_equals_int (gst_play_audio_info_get_channels (audio_info), 6); in test_audio_info() 586 fail_unless (gst_play_audio_info_get_language (audio_info) != NULL); in test_audio_info()
|
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/audio/ |
D | gstnonstreamaudiodecoder.h | 390 GstAudioInfo const *audio_info);
|
D | gstnonstreamaudiodecoder.c | 2227 GstAudioInfo const *audio_info) in gst_nonstream_audio_decoder_set_output_format() argument 2236 caps = gst_audio_info_to_caps (audio_info); in gst_nonstream_audio_decoder_set_output_format() 2246 dec->output_audio_info = *audio_info; in gst_nonstream_audio_decoder_set_output_format()
|
/third_party/pulseaudio/src/modules/oss/ |
D | module-oss.c | 418 struct audio_info info; in io_sink_get_latency()
|
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/play/ |
D | gstplay.c | 725 GstPlayAudioInfo *audio_info = gst_play_get_current_audio_track (self); in gst_play_get_property() local 726 g_value_take_object (value, audio_info); in gst_play_get_property()
|