Core Audio on iOS detect system speaker has any output

568 views Asked by At

I am new in Core Audio Programming.

I try to do the automation test on the voice streaming app. Unfortunately, we are using 3rd party lib which get the audio streaming and directly output to system output device (e.g. iPhone speaker). I like to have a test that draw the histogram (wave graph) for the speaker volume to reflect that is really get output from the internet stream. Anyone can provide some suggestion, hints, sample code, opensource to get the output device realtime info such as volume, pitch etc...?

1

There are 1 answers

0
hotpaw2 On

You could try plugging the headphone output of the device-under-test into the audio input of another Mac, PC or iOS device to acquire audio test/histogram data. Or just put a Mac/PC external mic next to the DUTs speaker.