Skip to content

Commit

Permalink
Processing: Fix missing converter setup function
Browse files Browse the repository at this point in the history
Oops, I was missing a function necessary for output format changes.

Signed-off-by: Christopher Snowhill <[email protected]>
  • Loading branch information
kode54 committed Oct 4, 2023
1 parent 87684a7 commit bc330e7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Audio/Chain/ConverterNode.m
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,11 @@ - (void)dealloc {
[self cleanUp];
}

- (void)setOutputFormat:(AudioStreamBasicDescription)format {
DLog(@"SETTING OUTPUT FORMAT!");
outputFormat = format;
}

- (void)inputFormatDidChange:(AudioStreamBasicDescription)format inputConfig:(uint32_t)inputConfig {
DLog(@"FORMAT CHANGED");
paused = YES;
Expand Down

0 comments on commit bc330e7

Please sign in to comment.