One thing that always bugs me about most apps, is that you cant adjust the volume until the sound starts playing. Like you click the play button, and realize it might be too loud and so try to turn it down with the hardware buttons, but end up just changing the level of the "ringer" volume, and once the sound is done buffering it comes blasting through the headphones.
My app uses audiounits, which I used to start and stop along with the play button and stop button, however this is not recommended by apple. Now I just start the audiounits at program start and stop it at program end, and just pass empty buffers in the audiounit callback. This has the nice side effect of allowing hardware control over volume level at any time the app is running.
|