An iOS and macOS audio visualization framework built upon Core Audio useful for anyone doing real-time, low-latency audio processing and visualizations.
Other
4.94k
stars
822
forks
source link
Swift not outputting audio to iPad speaker (iOS 8.4, Xcode7 beta5, Swift 2.0) #215
I've slightly modified the EZAudioPlayFileExample. I've got my project running in the simulator, but now that I'm running it on iPad, sounds aren't playing. When I insert headphones, the sounds play fine. I'm using EZAudioPlayer, so the AVAudioSession and output devices are being automatically managed there. When I switch out the headphones after the controller has loaded, the output switches fine, but still won't output to the iPad speakers. The visualizations are rendering with the sounds, regardless of whether i hear anything.
Am I missing anything basic here?
This is one of my first iPad apps and though I've become fairly familiar with swift, there's still a lot I need to learn about xcode and iOS frameworks. The only experience I've had with iOS audio so far is EZAudio, which has been pretty awesome btw.
I've slightly modified the EZAudioPlayFileExample. I've got my project running in the simulator, but now that I'm running it on iPad, sounds aren't playing. When I insert headphones, the sounds play fine. I'm using EZAudioPlayer, so the AVAudioSession and output devices are being automatically managed there. When I switch out the headphones after the controller has loaded, the output switches fine, but still won't output to the iPad speakers. The visualizations are rendering with the sounds, regardless of whether i hear anything.
Am I missing anything basic here?
This is one of my first iPad apps and though I've become fairly familiar with swift, there's still a lot I need to learn about xcode and iOS frameworks. The only experience I've had with iOS audio so far is EZAudio, which has been pretty awesome btw.