added outputBufferChunkData()
Hiding OutputBuffer internals, again. We get an extra assertion in return. git-svn-id: https://svn.musicpd.org/mpd/trunk@7267 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
committed by
Eric Wong
parent
71b24e0950
commit
7a6c31ae06
@@ -506,10 +506,8 @@ static void decodeParent(PlayerControl * pc, DecoderControl * dc, OutputBuffer *
|
||||
}
|
||||
nextChunk = outputBufferAbsolute(cb, crossFadeChunks);
|
||||
if (nextChunk >= 0) {
|
||||
pcm_mix(cb->chunks +
|
||||
cb->begin * CHUNK_SIZE,
|
||||
cb->chunks +
|
||||
nextChunk * CHUNK_SIZE,
|
||||
pcm_mix(outputBufferChunkData(cb, cb->begin),
|
||||
outputBufferChunkData(cb, nextChunk),
|
||||
cb->chunkSize[cb->begin],
|
||||
cb->chunkSize[nextChunk],
|
||||
&(cb->audioFormat),
|
||||
|
||||
Reference in New Issue
Block a user