diff options
Diffstat (limited to 'src/audioOutputs')
-rw-r--r-- | src/audioOutputs/audioOutput_osx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/audioOutputs/audioOutput_osx.c b/src/audioOutputs/audioOutput_osx.c index c5ca2883a..5ed4bc5bf 100644 --- a/src/audioOutputs/audioOutput_osx.c +++ b/src/audioOutputs/audioOutput_osx.c @@ -242,9 +242,9 @@ static int osx_openDevice(AudioOutput * audioOutput) { return -1; } - /* create a buffer of 0.5s */ - od->bufferSize = (audioFormat->sampleRate >> 1) * - (audioFormat->bits>>3) * (audioFormat->channels); + /* create a buffer of 1s */ + od->bufferSize = (audioFormat->sampleRate) * + (audioFormat->bits >> 3) * (audioFormat->channels); od->buffer = realloc(od->buffer, od->bufferSize); od->pos = 0; |