Home
last modified time | relevance | path

Searched refs:nChannels (Results 1 – 20 of 20) sorted by relevance

/third_party/gstreamer/gstplugins_bad/sys/wasapi2/
Dgstwasapi2util.c295 WORD nChannels = 0; in gst_wasapi2_util_waveformatex_to_channel_mask() local
298 nChannels = format->nChannels; in gst_wasapi2_util_waveformatex_to_channel_mask()
307 if (nChannels > 2 && !dwChannelMask) { in gst_wasapi2_util_waveformatex_to_channel_mask()
308 GST_WARNING ("Unknown channel mask value for %d channel stream", nChannels); in gst_wasapi2_util_waveformatex_to_channel_mask()
310 if (nChannels >= G_N_ELEMENTS (default_ch_masks)) { in gst_wasapi2_util_waveformatex_to_channel_mask()
311 GST_ERROR ("To may channels %d", nChannels); in gst_wasapi2_util_waveformatex_to_channel_mask()
315 dwChannelMask = default_ch_masks[nChannels]; in gst_wasapi2_util_waveformatex_to_channel_mask()
318 pos = g_new (GstAudioChannelPosition, nChannels); in gst_wasapi2_util_waveformatex_to_channel_mask()
319 gst_wasapi_util_channel_position_all_none (nChannels, pos); in gst_wasapi2_util_waveformatex_to_channel_mask()
322 if (nChannels > G_N_ELEMENTS (wasapi_to_gst_pos)) { in gst_wasapi2_util_waveformatex_to_channel_mask()
[all …]
/third_party/openmax/api/1.1.2/
DOMX_Audio.h163 OMX_U32 nChannels; /**< Number of channels (e.g. 2 for stereo) */ member
208 OMX_U32 nChannels; /**< Number of channels */ member
278 OMX_U32 nChannels; /**< Number of channels */ member
301 OMX_U32 nChannels; /**< Number of channels */ member
354 OMX_U16 nChannels; /**< Number of channels */ member
387 OMX_U32 nChannels; /**< Number of channels */ member
413 OMX_U32 nChannels; /**< Number of channels */ member
432 OMX_U32 nChannels; /**< Number of channels in the data stream (not member
457 OMX_U32 nChannels; /**< Number of channels in the data stream (not member
485 OMX_U32 nChannels; /**< Number of channels in the data stream (not member
[all …]
/third_party/gstreamer/gstplugins_bad/sys/wasapi/
Dgstwasapiutil.c704 WORD nChannels = format->Format.nChannels; in gst_wasapi_util_waveformatex_to_channel_mask() local
708 pos = g_new (GstAudioChannelPosition, nChannels); in gst_wasapi_util_waveformatex_to_channel_mask()
709 gst_wasapi_util_channel_position_all_none (nChannels, pos); in gst_wasapi_util_waveformatex_to_channel_mask()
712 if (nChannels > G_N_ELEMENTS (wasapi_to_gst_pos)) { in gst_wasapi_util_waveformatex_to_channel_mask()
713 GST_INFO ("Got too many (%i) channels, assuming non-positional", nChannels); in gst_wasapi_util_waveformatex_to_channel_mask()
726 for (ii = 0, ch = 0; ii < G_N_ELEMENTS (wasapi_to_gst_pos) && ch < nChannels; in gst_wasapi_util_waveformatex_to_channel_mask()
785 "channels", G_TYPE_INT, format->Format.nChannels, in gst_wasapi_util_parse_waveformatex()
Dgstwasapisink.c376 format->nChannels); in gst_wasapi_sink_get_caps()
Dgstwasapisrc.c391 format->nChannels); in gst_wasapi_src_get_caps()
/third_party/gstreamer/gstplugins_good/sys/directsound/
Dgstdirectsoundsink.c491 wfx.nChannels = spec->info.channels; in gst_directsound_sink_prepare()
493 wfx.wBitsPerSample = (spec->info.bpf * 8) / wfx.nChannels; in gst_directsound_sink_prepare()
514 wfx.nChannels = 2; in gst_directsound_sink_prepare()
517 wfx.nBlockAlign = wfx.wBitsPerSample / 8 * wfx.nChannels; in gst_directsound_sink_prepare()
860 wfx.nChannels = 2; in gst_directsound_probe_supported_formats()
/third_party/flutter/skia/third_party/externals/sdl/src/audio/xaudio2/
DSDL_xaudio2.c394 waveformat.nChannels = this->spec.channels; in XAUDIO2_OpenDevice()
397 waveformat.nChannels * (waveformat.wBitsPerSample / 8); in XAUDIO2_OpenDevice()
/third_party/flutter/skia/third_party/externals/sdl/src/audio/winmm/
DSDL_winmm.c233 pfmt->nChannels = this->spec.channels; in PrepWaveFormat()
235 pfmt->nBlockAlign = pfmt->nChannels * (pfmt->wBitsPerSample / 8); in PrepWaveFormat()
/third_party/gstreamer/gstplugins_bad/sys/dshowdecwrapper/
Dgstdshowaudiodec.cpp736 mpeg1_format->wfx.nChannels = adec->channels; in dshowaudiodec_set_input_format()
812 format->nChannels = adec->channels; in dshowaudiodec_set_input_format()
841 format->nChannels = adec->channels; in dshowaudiodec_set_output_format()
1008 adec->channels = audio_info->nChannels; in gst_dshowaudiodec_get_filter_settings()
/third_party/flutter/skia/third_party/externals/sdl/src/audio/directsound/
DSDL_directsound.c539 wfmt.nChannels = this->spec.channels; in DSOUND_OpenDevice()
541 wfmt.nBlockAlign = wfmt.nChannels * (wfmt.wBitsPerSample / 8); in DSOUND_OpenDevice()
/third_party/gstreamer/gstplugins_good/sys/waveform/
Dgstwaveformsink.c353 wfx.nChannels = spec->info.channels; in gst_waveform_sink_prepare()
355 wfx.wBitsPerSample = (spec->info.bpf * 8) / wfx.nChannels; in gst_waveform_sink_prepare()
/third_party/ffmpeg/libavdevice/
Ddshow_common.c182 dshowdebug(" nChannels: %u\n", fx->nChannels); in ff_print_AM_MEDIA_TYPE()
Ddshow.c446 fx->nChannels = ctx->channels; in dshow_cycle_formats()
1029 par->channels = fx->nChannels; in dshow_add_device()
/third_party/pulseaudio/src/modules/
Dmodule-waveout.c468 wf->nChannels = ss->channels; in ss_to_waveformat()
481 wf->nBlockAlign = wf->nChannels * wf->wBitsPerSample/8; in ss_to_waveformat()
/third_party/gstreamer/gstplugins_bad/sys/directsound/
Dgstdirectsoundsrc.c488 wfx.nChannels = GST_AUDIO_INFO_CHANNELS (&spec->info); in gst_directsound_src_prepare()
490 wfx.wBitsPerSample = GST_AUDIO_INFO_BPF (&spec->info) * 8 / wfx.nChannels; in gst_directsound_src_prepare()
/third_party/gstreamer/gstplugins_bad/ext/voaacenc/
Dgstvoaacenc.c518 params.nChannels = voaacenc->channels; in voaacenc_core_set_parameter()
/third_party/libsnd/programs/
Dsndfile-play.c591 wf.nChannels = audio_data.sfinfo.channels ; in win32_play()
/third_party/gstreamer/gstplugins_bad/sys/dshowsrcwrapper/
Dgstdshowaudiosrc.cpp763 wavformat->nChannels, in gst_dshowaudiosrc_getcaps_from_streamcaps()
/third_party/gstreamer/gstplugins_good/gst/isomp4/
Dqtdemux.c12503 gint16 nChannels; in qtdemux_parse_trak() member
12563 gint16 nChannels; in qtdemux_parse_trak() member
12597 wfex.nChannels = GST_READ_UINT16_LE (wfex_data + 8 + 2); in qtdemux_parse_trak()
12608 wfex.nChannels, wfex.nSamplesPerSec, wfex.nAvgBytesPerSec, in qtdemux_parse_trak()
/third_party/gstreamer/gstplugins_bad/
DChangeLog43025 first nChannels elements of wasapi_to_gst_pos array, translating, for