python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Setting sampling rate of default audio output device programmatically
I'm working on an application that plays sounds through the default audio device on a Mac. I want to change the output sampling rate and bit depth of the default output device but it always gives me a...
act1292
Votes: 0
Answers: 1
AudioUnitRender callback set buffer list
I have the following AudioUnit setup to process audio frames:
var renderCallbackStruct:AURenderCallbackStruct = AURenderCallbackStruct()
renderCallbackStruct.inputProc = renderCal...
Deepak Sharma
Votes: 0
Answers: 0
Cannot use Voice Isolation with AVAudioRecorder or AudioUnit
I'm trying to record voice audio with either AVAudioRecorder or AUAudioUnit.
In both, after a recording has started, whenever calling AVCaptureDevice.showSystemUserInterface(.microphoneModes) and sele...
pinglock
Votes: 0
Answers: 1
Read AudioUnit property (kAudioUnitProperty_SupportedChannelLayoutTags) return error: kAudioUnitErr_InvalidElement
I'm trying to read information from AudioUnit:
var value = AudioChannelLayoutTag()
var size = UInt32(MemoryLayout<AudioChannelLayoutTag>.size)
let status = AudioUnitGetProperty(audioUnit, kAudio...
Alino
Votes: 0
Answers: 1