openalsink: can't playback on Win32 - "Invalid Device" error
Submitted by Bakhtiar Hasmanan
Link to original bug (#744555)
Description
I need alternative for dsound under win32 when I tried openal gstreamer 1.4.5 throw error, is there additional step required for openal playback?
OS: WinXP 32
gst-play output:
gst-play-1.0.exe --audiosink openalsink g:\Musik\test.ogg
WARNING: no real random source present!
Now playing g:\Musik\test.ogg
AL lib: (EE) DoReset: Failed to initialize audio client: 0x88890002
ERROR Unable to prepare device. for file:///g:/Musik/test.ogg
ERROR debug information: gstopenalsink.c(859): gst_openal_sink_prepare (): /GstPlayBin:playbin/GstPlaySink:playsink/GstBin:abin/GstOpenALSink:openalsink0:
ALC error: Invalid Device
Reached end of play list.
opealinfo output:
Available playback devices:
Speakers (Realtek High Definition Audio)
Available capture devices:
Microphone (Logitech Mic (QuickCam E3500))
Microphone (Realtek High Definition Audio)
Default playback device: Speakers (Realtek High Definition Audio)
Default capture device: Microphone (Logitech Mic (QuickCam E3500))
ALC version: 1.1
** Info for device "Speakers (Realtek High Definition Audio)" **
ALC version: 1.1
ALC extensions:
ALC_ENUMERATE_ALL_EXT, ALC_ENUMERATION_EXT, ALC_EXT_CAPTURE,
ALC_EXT_DEDICATED, ALC_EXT_disconnect, ALC_EXT_EFX,
ALC_EXT_thread_local_context, ALC_SOFT_loopback
OpenAL vendor string: OpenAL Community
OpenAL renderer string: OpenAL Soft
OpenAL version string: 1.1 ALSOFT 1.15.1
OpenAL extensions:
AL_EXT_ALAW, AL_EXT_DOUBLE, AL_EXT_EXPONENT_DISTANCE, AL_EXT_FLOAT32,
AL_EXT_IMA4, AL_EXT_LINEAR_DISTANCE, AL_EXT_MCFORMATS, AL_EXT_MULAW,
AL_EXT_MULAW_MCFORMATS, AL_EXT_OFFSET, AL_EXT_source_distance_model,
AL_LOKI_quadriphonic, AL_SOFT_buffer_samples, AL_SOFT_buffer_sub_data,
AL_SOFTX_deferred_updates, AL_SOFT_direct_channels, AL_SOFT_loop_points,
AL_SOFT_source_latency
EFX version: 1.0
Max auxiliary sends: 4
Supported filters:
Low-pass
Supported effects:
EAX Reverb, Reverb, Echo, Ring Modulator, Dedicated Dialog, Dedicated LFE
Version: 1.4.5