2 * Copyright (C) 2017-2018 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
11 #include "cores/AudioEngine/Utils/AEChannelData.h"
12 #include "cores/RetroPlayer/streams/RetroPlayerStreamTypes.h"
18 class CAudioTranslator
22 * \brief Translate audio PCM format (Game API to AudioEngine).
23 * \param format The audio PCM format to translate.
24 * \return Translated audio PCM format.
26 static AEDataFormat
TranslatePCMFormat(PCMFormat format
);
29 * \brief Translate audio channels (Game API to AudioEngine).
30 * \param format The audio channels to translate.
31 * \return Translated audio channels.
33 static AEChannel
TranslateAudioChannel(AudioChannel channel
);