diff options
author | Chris Robinson <[email protected]> | 2010-05-31 19:00:33 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2010-05-31 19:00:33 -0700 |
commit | da1dee351dce20da4c46d0fbdf3054196359dee2 (patch) | |
tree | 1362f3ffd66b97980e04dddeffe67f880088124b /Alc/portaudio.c | |
parent | 694e9a5fec3aa9695e168480253c21486840d35c (diff) |
Update device naming to be more apparent about the device being used
Diffstat (limited to 'Alc/portaudio.c')
-rw-r--r-- | Alc/portaudio.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Alc/portaudio.c b/Alc/portaudio.c index 561f7470..2b8e0fa4 100644 --- a/Alc/portaudio.c +++ b/Alc/portaudio.c @@ -46,8 +46,7 @@ MAKE_FUNC(Pa_GetStreamInfo); #undef MAKE_FUNC -static const ALCchar pa_device[] = "PortAudio Software"; -static const ALCchar pa_capture[] = "PortAudio Capture"; +static const ALCchar pa_device[] = "PortAudio Default"; void *pa_load(void) @@ -281,8 +280,8 @@ static ALCboolean pa_open_capture(ALCdevice *device, const ALCchar *deviceName) PaError err; if(!deviceName) - deviceName = pa_capture; - else if(strcmp(deviceName, pa_capture) != 0) + deviceName = pa_device; + else if(strcmp(deviceName, pa_device) != 0) return ALC_FALSE; if(!pa_load()) @@ -435,5 +434,5 @@ void alc_pa_probe(int type) else if(type == ALL_DEVICE_PROBE) AppendAllDeviceList(pa_device); else if(type == CAPTURE_DEVICE_PROBE) - AppendCaptureDeviceList(pa_capture); + AppendCaptureDeviceList(pa_device); } |