diff options
author | Chris Robinson <[email protected]> | 2011-08-19 01:59:03 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-08-19 01:59:03 -0700 |
commit | e8e12865728289e6e9d428bd868d6ec4dc7e9d4c (patch) | |
tree | 8fa7ef19562dc0b3fb50fa2542869f5639454893 /Alc/pulseaudio.c | |
parent | 3d722b9ba07d0c2bb34b73dd46183f2ef4eba8ce (diff) |
Remove the "via *" portion of the enumerated devices
Diffstat (limited to 'Alc/pulseaudio.c')
-rw-r--r-- | Alc/pulseaudio.c | 8 |
1 files changed, 4 insertions, 4 deletions
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++) |