Searched refs:descSecondary (Results 1 – 2 of 2) sorted by relevance
/third_party/gstreamer/gstplugins_good/sys/directsound/ |
D | gstdirectsoundsink.c | 477 DSBUFFERDESC descSecondary; in gst_directsound_sink_prepare() local 539 memset (&descSecondary, 0, sizeof (DSBUFFERDESC)); in gst_directsound_sink_prepare() 540 descSecondary.dwSize = sizeof (DSBUFFERDESC); in gst_directsound_sink_prepare() 541 descSecondary.dwFlags = DSBCAPS_GETCURRENTPOSITION2 | DSBCAPS_GLOBALFOCUS; in gst_directsound_sink_prepare() 543 descSecondary.dwFlags |= DSBCAPS_CTRLVOLUME; in gst_directsound_sink_prepare() 545 descSecondary.dwBufferBytes = dsoundsink->buffer_size; in gst_directsound_sink_prepare() 546 descSecondary.lpwfxFormat = (WAVEFORMATEX *) & wfx; in gst_directsound_sink_prepare() 548 hRes = IDirectSound_CreateSoundBuffer (dsoundsink->pDS, &descSecondary, in gst_directsound_sink_prepare() 843 DSBUFFERDESC descSecondary; in gst_directsound_probe_supported_formats() local 867 memset (&descSecondary, 0, sizeof (DSBUFFERDESC)); in gst_directsound_probe_supported_formats() [all …]
|
/third_party/gstreamer/gstplugins_bad/sys/directsound/ |
D | gstdirectsoundsrc.c | 479 DSCBUFFERDESC descSecondary; /* Capturebuffer description */ in gst_directsound_src_prepare() local 540 memset (&descSecondary, 0, sizeof (DSCBUFFERDESC)); in gst_directsound_src_prepare() 541 descSecondary.dwSize = sizeof (DSCBUFFERDESC); in gst_directsound_src_prepare() 542 descSecondary.dwFlags = 0; in gst_directsound_src_prepare() 543 descSecondary.dwReserved = 0; in gst_directsound_src_prepare() 546 descSecondary.dwBufferBytes = dsoundsrc->buffer_size; in gst_directsound_src_prepare() 547 descSecondary.lpwfxFormat = &wfx; in gst_directsound_src_prepare() 551 &descSecondary, &dsoundsrc->pDSBSecondary, NULL); in gst_directsound_src_prepare()
|