nagachika/ruby-coreaudio — pull request #14 by kinushu (2014-01-19 14:45:05+00:00)
Title: Add feature to set default output device

now it is possible to set default output device like this:

# get audio devices
devs = CoreAudio.devices

# select target audio device
dev = (select device)

# set default output device
CoreAudio.set_default_output_device(dev)