syedhali / EZAudio

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.96k stars 824 forks source link

Playback not going to proper headphone output #116

Open vdeltoral opened 10 years ago

vdeltoral commented 10 years ago

I'm using the EZAudioPlayFile example. If headphones were plugged in before the app is started, then the iPhone/iPod's external speakers are used. However, if the headphones are unplugged and replugged, the audio routes to the headphones. Steps to reproduce:

-Plug headphones into an iOS device. -Open EZAudioPlayFileExample from a completely shut down state -Hit play -The audio will play from the device's speakers, and not the headphones, despite the headphones being plugged in

EZAudio version 0.0.6. I am using both deployment target and base SDK iOS 8.1 and XCode 6.1 on Yosemite. I was able to reproduce this issue on an iPhone 5 and a 3rd generation iPad, both running iOS 8.1. (Great API overall :+1: )

hakanw commented 9 years ago

See issue #61