bump the OS X buffer up to 1s
git-svn-id: https://svn.musicpd.org/mpd/trunk@3098 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
		| @@ -242,9 +242,9 @@ static int osx_openDevice(AudioOutput * audioOutput) { | |||||||
| 		return -1; | 		return -1; | ||||||
| 	} | 	} | ||||||
|  |  | ||||||
| 	/* create a buffer of 0.5s */ | 	/* create a buffer of 1s */ | ||||||
| 	od->bufferSize = (audioFormat->sampleRate >> 1) * | 	od->bufferSize = (audioFormat->sampleRate) * | ||||||
|                          (audioFormat->bits>>3) * (audioFormat->channels); |                          (audioFormat->bits >> 3) * (audioFormat->channels); | ||||||
| 	od->buffer = realloc(od->buffer, od->bufferSize); | 	od->buffer = realloc(od->buffer, od->bufferSize); | ||||||
|  |  | ||||||
| 	od->pos = 0; | 	od->pos = 0; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Warren Dukes
					Warren Dukes