summaryrefslogtreecommitdiffstats
path: root/audio/out/ao_coreaudio_chmap.h
Commit message (Collapse)AuthorAgeFilesLines
* ao_coreaudio_exclusive: deal with devices return different channel countwm42015-10-211-0/+4
| | | | | | | | | If the device returns an unexpected number of channels instead of the requested count on init, don't immediately error out. Instead, look if there's a channel map with the given number of channels. If there isn't, still error out, because we don't want to guess the channel layout.
* ao_coreaudio: move channel mapping code to a separate filewm42015-05-051-0/+25
Move all of the channel map retrieval/negotiation code to a separate file. This will (probably) be helpful when extending ao_coreaudio_exclusive.c. Nothing else changes, other than some minor cosmetics and renaming, and changing some details for decoupling it from the ao_coreaudio.c internals.