aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Alc/alsa.c2
-rw-r--r--Alc/dsound.c4
-rw-r--r--Alc/pulseaudio.c8
-rw-r--r--Alc/winmm.c8
4 files changed, 11 insertions, 11 deletions
diff --git a/Alc/alsa.c b/Alc/alsa.c
index 0764068d..7dd257c3 100644
--- a/Alc/alsa.c
+++ b/Alc/alsa.c
@@ -327,7 +327,7 @@ static DevMap *probe_devices(snd_pcm_stream_t stream, ALuint *count)
DevList = temp;
cname = snd_ctl_card_info_get_name(info);
dname = snd_pcm_info_get_name(pcminfo);
- snprintf(name, sizeof(name), "%s [%s] (hw:%d,%d) via ALSA",
+ snprintf(name, sizeof(name), "%s [%s] (hw:%d,%d)",
cname, dname, card, dev);
DevList[idx].name = strdup(name);
DevList[idx].card = card;
diff --git a/Alc/dsound.c b/Alc/dsound.c
index d34e5409..08a1d13a 100644
--- a/Alc/dsound.c
+++ b/Alc/dsound.c
@@ -140,9 +140,9 @@ static BOOL CALLBACK DSoundEnumDevices(LPGUID guid, LPCSTR desc, LPCSTR drvname,
count = 0;
do {
if(count == 0)
- snprintf(str, sizeof(str), "%s via DirectSound", desc);
+ snprintf(str, sizeof(str), "%s", desc);
else
- snprintf(str, sizeof(str), "%s #%d via DirectSound", desc, count+1);
+ snprintf(str, sizeof(str), "%s #%d", desc, count+1);
count++;
for(i = 0;i < NumDevices;i++)
diff --git a/Alc/pulseaudio.c b/Alc/pulseaudio.c
index 8596f020..39df3282 100644
--- a/Alc/pulseaudio.c
+++ b/Alc/pulseaudio.c
@@ -571,9 +571,9 @@ static void sink_device_callback(pa_context *context, const pa_sink_info *info,
count = 0;
do {
if(count == 0)
- snprintf(str, sizeof(str), "%s via PulseAudio", info->description);
+ snprintf(str, sizeof(str), "%s", info->description);
else
- snprintf(str, sizeof(str), "%s #%d via PulseAudio", info->description, count+1);
+ snprintf(str, sizeof(str), "%s #%d", info->description, count+1);
count++;
for(i = 0;i < numDevNames;i++)
@@ -612,9 +612,9 @@ static void source_device_callback(pa_context *context, const pa_source_info *in
count = 0;
do {
if(count == 0)
- snprintf(str, sizeof(str), "%s via PulseAudio", info->description);
+ snprintf(str, sizeof(str), "%s", info->description);
else
- snprintf(str, sizeof(str), "%s #%d via PulseAudio", info->description, count+1);
+ snprintf(str, sizeof(str), "%s #%d", info->description, count+1);
count++;
for(i = 0;i < numCaptureDevNames;i++)
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++)