Commit graph

4 commits

Author SHA1 Message Date
Cai Yuanqing
d28fc0df89 coreaudio: Make coreaudio-detect safer by adding asserts before dereferencing 2010-12-22 15:08:19 +00:00
Daniel Mack
3df6845101 modules/coreaudio: replace deprecated functions
All API calls are now consolidated in AudioObject* calls, the old model
has been deprecated in 10.6. Follow that change.
2010-05-15 16:08:16 +01:00
Daniel Mack
7732421a27 CoreAudio: add audio device module
This patch adds support for CoreAudio driven devices under Mac OS X. It
is typically instanciated by the CoreAudio device detection module and
handles all available streams on a specific device.

Sinks are created according to the reported stream configuration.
Float32 is used as default audio sample format at it is the only format
CoreAudio speaks natively.

Hardware volume control is not implemented yet.
2009-12-16 16:11:39 +08:00
Daniel Mack
a23f5cf33d CoreAudio: add device detection module
This adds a new module for CoreAudio device detection. It registers a
callback to detect hotplugged devices and creates/destroys modules named
'module-coreaudio-device'. Devices are identified via a system-wide
unique AudioDeviceID.
2009-12-16 16:11:38 +08:00