aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/pulseaudio.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/pulseaudio.c
parent694e9a5fec3aa9695e168480253c21486840d35c (diff)
Update device naming to be more apparent about the device being used
Diffstat (limited to 'Alc/pulseaudio.c')
-rw-r--r--Alc/pulseaudio.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Alc/pulseaudio.c b/Alc/pulseaudio.c
index c197e07c..46f425ed 100644
--- a/Alc/pulseaudio.c
+++ b/Alc/pulseaudio.c
@@ -143,7 +143,7 @@ typedef struct {
} DevMap;
-static const ALCchar pulse_device[] = "PulseAudio Software";
+static const ALCchar pulse_device[] = "PulseAudio Default";
static DevMap *allDevNameMap;
static ALuint numDevNames;
static DevMap *allCaptureDevNameMap;
@@ -424,7 +424,7 @@ static void sink_device_callback(pa_context *context, const pa_sink_info *info,
if(temp)
{
char str[256];
- snprintf(str, sizeof(str), "PulseAudio on %s", info->description);
+ snprintf(str, sizeof(str), "%s via PulseAudio", info->description);
allDevNameMap = temp;
allDevNameMap[numDevNames].name = strdup(str);
@@ -450,7 +450,7 @@ static void source_device_callback(pa_context *context, const pa_source_info *in
if(temp)
{
char str[256];
- snprintf(str, sizeof(str), "PulseAudio on %s", info->description);
+ snprintf(str, sizeof(str), "%s via PulseAudio", info->description);
allCaptureDevNameMap = temp;
allCaptureDevNameMap[numCaptureDevNames].name = strdup(str);
@@ -590,7 +590,7 @@ static void probe_devices(ALboolean capture)
else
{
allCaptureDevNameMap = malloc(sizeof(DevMap) * 1);
- allCaptureDevNameMap[0].name = strdup("PulseAudio Capture");
+ allCaptureDevNameMap[0].name = strdup("PulseAudio Default");
allCaptureDevNameMap[0].device_name = NULL;
numCaptureDevNames = 1;
}