[Audio Processing] Update for new API
Signed-off-by: Christopher Snowhill <kode54@gmail.com>main
parent
b0bef40386
commit
38832d9ce9
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue