I\'m trying to record audio e.g. from the Macbook\'s internal microphone. This is my code:
func record() { let sampleRate = 48000 let numChannels = 1