aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/oss.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-05-31 19:00:33 -0700
committerChris Robinson <[email protected]>2010-05-31 19:00:33 -0700
commitda1dee351dce20da4c46d0fbdf3054196359dee2 (patch)
tree1362f3ffd66b97980e04dddeffe67f880088124b /Alc/oss.c
parent694e9a5fec3aa9695e168480253c21486840d35c (diff)
Update device naming to be more apparent about the device being used
Diffstat (limited to 'Alc/oss.c')
-rw-r--r--Alc/oss.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/Alc/oss.c b/Alc/oss.c
index fe339305..ed96fa17 100644
--- a/Alc/oss.c
+++ b/Alc/oss.c
@@ -47,8 +47,7 @@
#define SOUND_MIXER_WRITE MIXER_WRITE
#endif
-static const ALCchar oss_device[] = "OSS Software";
-static const ALCchar oss_device_capture[] = "OSS Capture";
+static const ALCchar oss_device[] = "OSS Default";
typedef struct {
int fd;
@@ -324,8 +323,8 @@ static ALCboolean oss_open_capture(ALCdevice *device, const ALCchar *deviceName)
strncpy(driver, GetConfigValue("oss", "capture", "/dev/dsp"), sizeof(driver)-1);
driver[sizeof(driver)-1] = 0;
if(!deviceName)
- deviceName = oss_device_capture;
- else if(strcmp(deviceName, oss_device_capture) != 0)
+ deviceName = oss_device;
+ else if(strcmp(deviceName, oss_device) != 0)
return ALC_FALSE;
data = (oss_data*)calloc(1, sizeof(oss_data));
@@ -513,6 +512,6 @@ void alc_oss_probe(int type)
struct stat buf;
if(stat(GetConfigValue("oss", "capture", "/dev/dsp"), &buf) == 0)
#endif
- AppendCaptureDeviceList(oss_device_capture);
+ AppendCaptureDeviceList(oss_device);
}
}