[Audio Processing] Update for new API

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
xcode15
Christopher Snowhill 2022-07-14 02:38:04 -07:00
parent 7cb0054d77
commit 4044646280
1 changed files with 1 additions and 1 deletions

View File

@ -493,7 +493,7 @@ static void convert_be_to_le(uint8_t *buffer, size_t bitsPerSample, size_t bytes
AudioChunk *ret = [[AudioChunk alloc] init]; AudioChunk *ret = [[AudioChunk alloc] init];
[ret setFormat:[chunk format]]; [ret setFormat:[chunk format]];
[ret setChannelConfig:[chunk channelConfig]]; [ret setChannelConfig:[chunk channelConfig]];
[ret assignSamples:[removedData bytes] frameCount:maxFrameCount]; [ret assignData:removedData];
listDuration -= [ret duration]; listDuration -= [ret duration];
inRemover = NO; inRemover = NO;
return [self convertChunk:ret]; return [self convertChunk:ret];