mirror of
https://github.com/mpv-player/mpv
synced 2024-12-18 12:55:16 +00:00
934109a35b
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.
26 lines
825 B
C
26 lines
825 B
C
/*
|
|
* This file is part of mpv.
|
|
*
|
|
* mpv is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* mpv is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License along
|
|
* with mpv. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#ifndef MPV_COREAUDIO_CHMAP_H
|
|
#define MPV_COREAUDIO_CHMAP_H
|
|
|
|
#include <AudioToolbox/AudioToolbox.h>
|
|
|
|
bool ca_init_chmap(struct ao *ao, AudioDeviceID device);
|
|
|
|
#endif
|