aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/winmm.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-08-19 01:59:03 -0700
committerChris Robinson <[email protected]>2011-08-19 01:59:03 -0700
commite8e12865728289e6e9d428bd868d6ec4dc7e9d4c (patch)
tree8fa7ef19562dc0b3fb50fa2542869f5639454893 /Alc/winmm.c
parent3d722b9ba07d0c2bb34b73dd46183f2ef4eba8ce (diff)
Remove the "via *" portion of the enumerated devices
Diffstat (limited to 'Alc/winmm.c')
-rw-r--r--Alc/winmm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Alc/winmm.c b/Alc/winmm.c
index cd4b8912..445dd51e 100644
--- a/Alc/winmm.c
+++ b/Alc/winmm.c
@@ -83,9 +83,9 @@ static void ProbePlaybackDevices(void)
count = 0;
do {
if(count == 0)
- snprintf(name, sizeof(name), "%s via WaveOut", WaveCaps.szPname);
+ snprintf(name, sizeof(name), "%s", WaveCaps.szPname);
else
- snprintf(name, sizeof(name), "%s #%d via WaveOut", WaveCaps.szPname, count+1);
+ snprintf(name, sizeof(name), "%s #%d", WaveCaps.szPname, count+1);
count++;
for(j = 0;j < i;j++)
@@ -122,9 +122,9 @@ static void ProbeCaptureDevices(void)
count = 0;
do {
if(count == 0)
- snprintf(name, sizeof(name), "%s via WaveIn", WaveInCaps.szPname);
+ snprintf(name, sizeof(name), "%s", WaveInCaps.szPname);
else
- snprintf(name, sizeof(name), "%s #%d via WaveIn", WaveInCaps.szPname, count+1);
+ snprintf(name, sizeof(name), "%s #%d", WaveInCaps.szPname, count+1);
count++;
for(j = 0;j < i;j++)