diff --git a/Audio/Chain/ChunkList.m b/Audio/Chain/ChunkList.m index 04df44bcc..3464b8b2f 100644 --- a/Audio/Chain/ChunkList.m +++ b/Audio/Chain/ChunkList.m @@ -493,7 +493,7 @@ static void convert_be_to_le(uint8_t *buffer, size_t bitsPerSample, size_t bytes AudioChunk *ret = [[AudioChunk alloc] init]; [ret setFormat:[chunk format]]; [ret setChannelConfig:[chunk channelConfig]]; - [ret assignSamples:[removedData bytes] frameCount:maxFrameCount]; + [ret assignData:removedData]; listDuration -= [ret duration]; inRemover = NO; return [self convertChunk:ret];