From 38832d9ce9ef1b4a1685a1db676456fe0e229b38 Mon Sep 17 00:00:00 2001 From: Christopher Snowhill Date: Thu, 14 Jul 2022 02:38:04 -0700 Subject: [PATCH] [Audio Processing] Update for new API Signed-off-by: Christopher Snowhill --- Audio/Chain/ChunkList.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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];