[WASAPI] set stream audio category
[xbmc.git] / xbmc / cores / RetroPlayer / audio / AudioTranslator.h
blobf8935d8acaea44d3a04983ee944adcaffc962e9b
1 /*
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.
7 */
9 #pragma once
11 #include "cores/AudioEngine/Utils/AEChannelData.h"
12 #include "cores/RetroPlayer/streams/RetroPlayerStreamTypes.h"
14 namespace KODI
16 namespace RETRO
18 class CAudioTranslator
20 public:
21 /*!
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);
28 /*!
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);
35 } // namespace RETRO
36 } // namespace KODI