wasapisrc audio example

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

wasapisrc audio example

orione1974
Hi.
Could you help me with an example of "wasapisrc"?

gst-launch audiotestsrc ! autoaudiosink   *** WORK! ***

gst-launch wasapisrc ! autoaudiosink    *** DON'T WORK ***

ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstWasapiSrc:wasapisrc0: Could not open resource for reading.
Additional debug info:
..\..\..\..\..\Source\gst-plugins-bad\sys\wasapi\gstwasapiutil.c(195): gst_wasapi_util_get_default_device_client (): /GstPipeline:pipeline0/GstWasapiSrc:wasapisrc0: IAudioClient::Initialize () failed: AUDCLNT_E_UNSUPPORTED_FORMAT
Setting pipeline to NULL ...
Freeing pipeline ...

gst-launch wasapisrc ! audioconvert ! autoaudiosink   *** DON'T WORK ***

Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstWasapiSrc:wasapisrc0: Could not open resource for reading.
Additional debug info:
..\..\..\..\..\Source\gst-plugins-bad\sys\wasapi\gstwasapiutil.c(195): gst_wasapi_util_get_default_device_client (): /GstPipeline:pipeline0/GstWasapiSrc:wasapisrc0:
IAudioClient::Initialize () failed: AUDCLNT_E_UNSUPPORTED_FORMAT
Setting pipeline to NULL ...
Freeing pipeline ...