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