diff options
author | Chris Robinson <[email protected]> | 2008-02-12 21:19:09 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2008-02-12 21:19:09 -0800 |
commit | f2875d5d13c1d37c0602d49e49699b4b0a48ddd5 (patch) | |
tree | b6528b7d842fcdf9925350f279a2f81f6a51b2f0 | |
parent | b0720333cc4b879751b34701910077d6d0627190 (diff) |
Read in chunks of the fragment size, not expected buffer size
-rw-r--r-- | Alc/oss.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -368,7 +368,7 @@ static ALCboolean oss_open_capture(ALCdevice *device, const ALCchar *deviceName, return ALC_FALSE; } - data->data_size = SampleSize * device->FrameSize * info.fragments; + data->data_size = info.fragsize; data->mix_data = calloc(1, data->data_size); device->ExtraData = data; |