aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/pulseaudio.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-02-20 20:45:22 -0800
committerChris Robinson <[email protected]>2012-02-20 20:45:22 -0800
commite2ccc6f98e63dc2ba74e2c989be3fc899602848d (patch)
treec8ba48b3f6276ff37537d0240e4630852b8443df /Alc/backends/pulseaudio.c
parentd24ada7ab7605a7e990fe299fc7d56a08e870c84 (diff)
Always use "OpenAL Soft" for the short device enumeration list
Diffstat (limited to 'Alc/backends/pulseaudio.c')
-rw-r--r--Alc/backends/pulseaudio.c23
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)
{