xbmc/cores/AudioEngine/Sinks/darwin/CoreAudioHelpers.h
raw| 1 | /* |
| 2 | * Copyright (C) 2011-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 <string> |
| 12 | |
| 13 | #include <AudioToolbox/AudioToolbox.h> |
| 14 | |
| 15 | // Helper Functions |
| 16 | std::string GetError(OSStatus error); |
| 17 | const char* StreamDescriptionToString(AudioStreamBasicDescription desc, std::string &str); |