Commit d392b7e4 authored by Warren Dukes's avatar Warren Dukes

bump the OS X buffer up to 1s

git-svn-id: https://svn.musicpd.org/mpd/trunk@3098 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent 700d7aa2
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment