Sound Switcher, part 1
more from apple
Jun 7, 07

I spent about 5 hours tonight working on phase 1 of "Sound Switcher", a new widget I'm building to quickly switch sound input devices. The widgety part is going to be pretty straightforward (that's next on the list).

The hard stuff is what I worked on tonight: writing a tiny app in Objective-C that talks to CoreAudio. It does three things:

  • list all sound output devices
  • show current sound output device
  • change sound output device (this one doesn't quite work yet...)

In the end, it's not all that complicated, but it was a bit rough getting started. The doc+examples aren't as useful as you'd like.