diff options
author | Chris Robinson <[email protected]> | 2010-05-31 19:04:41 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2010-05-31 19:04:41 -0700 |
commit | e98f1205e547422764ef2bdce2c47ac54998f6d6 (patch) | |
tree | 3a07c45d3be847a6bed54a9b8d402c2c5738ae51 /Alc/winmm.c | |
parent | 2205f91e5f602f33ee231e7b6e2a210241b9da13 (diff) |
Increase the temp buffer sizes to construct device names with
Diffstat (limited to 'Alc/winmm.c')
-rw-r--r-- | Alc/winmm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/winmm.c b/Alc/winmm.c index 6d43c734..747a250b 100644 --- a/Alc/winmm.c +++ b/Alc/winmm.c @@ -69,7 +69,7 @@ static void ProbeDevices(void) CaptureDeviceList[i] = NULL; if(waveInGetDevCaps(i, &WaveInCaps, sizeof(WAVEINCAPS)) == MMSYSERR_NOERROR) { - char name[128]; + char name[1024]; snprintf(name, sizeof(name), "%s via WaveIn", WaveInCaps.szPname); CaptureDeviceList[i] = strdup(name); } |