diff options
author | Chris Robinson <[email protected]> | 2012-02-20 20:45:22 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-02-20 20:45:22 -0800 |
commit | e2ccc6f98e63dc2ba74e2c989be3fc899602848d (patch) | |
tree | c8ba48b3f6276ff37537d0240e4630852b8443df /Alc/backends/pulseaudio.c | |
parent | d24ada7ab7605a7e990fe299fc7d56a08e870c84 (diff) |
Always use "OpenAL Soft" for the short device enumeration list
Diffstat (limited to 'Alc/backends/pulseaudio.c')
-rw-r--r-- | Alc/backends/pulseaudio.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/Alc/backends/pulseaudio.c b/Alc/backends/pulseaudio.c index 6100d59f..1e4086e1 100644 --- a/Alc/backends/pulseaudio.c +++ b/Alc/backends/pulseaudio.c @@ -1365,33 +1365,10 @@ void alc_pulse_deinit(void) //{{{ void alc_pulse_probe(enum DevProbe type) //{{{ { - pa_threaded_mainloop *loop; ALuint i; switch(type) { - case DEVICE_PROBE: - if((loop=pa_threaded_mainloop_new()) && - pa_threaded_mainloop_start(loop) >= 0) - { - pa_context *context; - - pa_threaded_mainloop_lock(loop); - context = connect_context(loop, AL_FALSE); - if(context) - { - AppendDeviceList(pulse_device); - - pa_context_disconnect(context); - pa_context_unref(context); - } - pa_threaded_mainloop_unlock(loop); - pa_threaded_mainloop_stop(loop); - } - if(loop) - pa_threaded_mainloop_free(loop); - break; - case ALL_DEVICE_PROBE: for(i = 0;i < numDevNames;++i) { |