Skip to content

Commit

Permalink
Force channel capabilities to no input, mono output (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
stalgiag authored Jun 24, 2024
1 parent 64ce4c5 commit 4732265
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ public class ATDriverGenericMacOSExtensionAudioUnit: AVSpeechSynthesisProviderAu
logger.log("initialized")
}

public override var channelCapabilities: [NSNumber]? {
// Specifies that the Audio Unit supports no input channels and exactly one output channel.
return [0, 1]
}

deinit {
messenger.invalidate()
}
Expand Down

0 comments on commit 4732265

Please sign in to comment.