kodi
AudioTranslator.h
1 /*
2  * Copyright (C) 2017-2018 Team Kodi
3  * This file is part of Kodi - https://kodi.tv
4  *
5  * SPDX-License-Identifier: GPL-2.0-or-later
6  * See LICENSES/README.md for more information.
7  */
8 
9 #pragma once
10 
11 #include "cores/AudioEngine/Utils/AEChannelData.h"
12 #include "cores/RetroPlayer/streams/RetroPlayerStreamTypes.h"
13 
14 namespace KODI
15 {
16 namespace RETRO
17 {
19 {
20 public:
26  static AEDataFormat TranslatePCMFormat(PCMFormat format);
27 
33  static AEChannel TranslateAudioChannel(AudioChannel channel);
34 };
35 } // namespace RETRO
36 } // namespace KODI
static AEDataFormat TranslatePCMFormat(PCMFormat format)
Translate audio PCM format (Game API to AudioEngine).
Definition: AudioTranslator.cpp:14
Definition: AudioDecoder.h:18
Definition: AudioTranslator.h:18
static AEChannel TranslateAudioChannel(AudioChannel channel)
Translate audio channels (Game API to AudioEngine).
Definition: AudioTranslator.cpp:26