aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/pulseaudio.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-05-31 19:04:41 -0700
committerChris Robinson <[email protected]>2010-05-31 19:04:41 -0700
commite98f1205e547422764ef2bdce2c47ac54998f6d6 (patch)
tree3a07c45d3be847a6bed54a9b8d402c2c5738ae51 /Alc/pulseaudio.c
parent2205f91e5f602f33ee231e7b6e2a210241b9da13 (diff)
Increase the temp buffer sizes to construct device names with
Diffstat (limited to 'Alc/pulseaudio.c')
-rw-r--r--Alc/pulseaudio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/pulseaudio.c b/Alc/pulseaudio.c
index db9e06af..27709384 100644
--- a/Alc/pulseaudio.c
+++ b/Alc/pulseaudio.c
@@ -423,7 +423,7 @@ static void sink_device_callback(pa_context *context, const pa_sink_info *info,
temp = realloc(allDevNameMap, (numDevNames+1) * sizeof(*allDevNameMap));
if(temp)
{
- char str[256];
+ char str[1024];
snprintf(str, sizeof(str), "%s via PulseAudio", info->description);
allDevNameMap = temp;