nagachika/ruby-coreaudio — pull request #9 by Shinpeim (2013-04-18 06:41:57+00:00)
Title: Add feature to set nominal rate to device

now it is possible to set nominal rate like this:

# returns a default_output_device which's nominal rate is 48000.0
CoreAudio.default_output_device(48000.0)

# returns a default_input_device which's nominal rate is 48000.0
CoreAudio.default_input_device(48000.0)

# returns a devices which's nominal rate is 48000.0
CoreAudio.devices(48000.0)

if no sample_rate is given, device(s) which has default sample rate is returned, so this patch destroy no backward compatibility.