Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include "cores/AudioEngine/Sinks/darwin/CoreAudioHelpers.h"
#include "cores/AudioEngine/Sinks/osx/AEDeviceEnumerationOSX.h"
#include "cores/AudioEngine/Sinks/osx/CoreAudioHardware.h"
#include "cores/AudioEngine/Utils/AEUtil.h"
#include <vector>
#include <gtest/gtest.h>
Functions | |
void | addLPCMFormats (std::vector< AudioStreamBasicDescription > &streamFormats) |
void | addPassthroughFormats (std::vector< AudioStreamBasicDescription > &streamFormats) |
void | initStereoFormatsWithoutPassthrough () |
void | initStreamFormats () |
AEAudioFormat | getAC3AEFormat () |
AEAudioFormat | getStereo22050AEFormat () |
AEAudioFormat | getStereo48000AEFormat () |
AEAudioFormat | getLPCM96000AEFormat () |
unsigned int | findMatchingFormat (const std::vector< AudioStreamBasicDescription > &formatList, const AEAudioFormat &srcFormat) |
TEST (TestAESinkDARWINOSXScoreStream, MatchAc3InStereoWithPassthroughFormats) | |
TEST (TestAESinkDARWINOSXScoreStream, MatchAc3InStereoWithoutPassthroughFormats) | |
TEST (TestAESinkDARWINOSXScoreStream, MatchAc3InAllWithPassthroughFormats) | |
TEST (TestAESinkDARWINOSXScoreStream, MatchAc3InAllWithoutPassthroughFormats) | |
TEST (TestAESinkDARWINOSXScoreStream, MatchFloatStereo22050InStereoWithPassthroughFormats) | |
TEST (TestAESinkDARWINOSXScoreStream, MatchFloatStereo22050InStereoWithoutPassthroughFormats) | |
TEST (TestAESinkDARWINOSXScoreStream, MatchFloatStereo22050InAllWithPassthroughFormats) | |
TEST (TestAESinkDARWINOSXScoreStream, MatchFloatStereo22050InAllWithoutPassthroughFormats) | |
TEST (TestAESinkDARWINOSXScoreStream, MatchFloatStereo48000InStereoWithPassthroughFormats) | |
TEST (TestAESinkDARWINOSXScoreStream, MatchFloatStereo48000InStereoWithoutPassthroughFormats) | |
TEST (TestAESinkDARWINOSXScoreStream, MatchFloatStereo48000InAllWithPassthroughFormats) | |
TEST (TestAESinkDARWINOSXScoreStream, MatchFloatStereo48000InAllWithoutPassthroughFormats) | |
TEST (TestAESinkDARWINOSXScoreStream, MatchFloat5_1_96000InStereoWithPassthroughFormats) | |
TEST (TestAESinkDARWINOSXScoreStream, MatchFloat5_1_96000InStereoWithoutPassthroughFormats) | |
TEST (TestAESinkDARWINOSXScoreStream, MatchFloat5_1_96000InAllWithPassthroughFormats) | |
TEST (TestAESinkDARWINOSXScoreStream, MatchFloat5_1_96000InAllWithoutPassthroughFormats) | |
Variables | |
std::vector< AudioStreamBasicDescription > | stereoFormatsWithPassthrough |
std::vector< AudioStreamBasicDescription > | stereoFormatsWithoutPassthrough |
std::vector< AudioStreamBasicDescription > | allFormatsWithPassthrough |
std::vector< AudioStreamBasicDescription > | allFormatsWithoutPassthrough |
void addLPCMFormats | ( | std::vector< AudioStreamBasicDescription > & | streamFormats | ) |
void addPassthroughFormats | ( | std::vector< AudioStreamBasicDescription > & | streamFormats | ) |
unsigned int findMatchingFormat | ( | const std::vector< AudioStreamBasicDescription > & | formatList, |
const AEAudioFormat & | srcFormat ) |
AEAudioFormat getAC3AEFormat | ( | ) |
AEAudioFormat getLPCM96000AEFormat | ( | ) |
AEAudioFormat getStereo22050AEFormat | ( | ) |
AEAudioFormat getStereo48000AEFormat | ( | ) |
void initStereoFormatsWithoutPassthrough | ( | ) |
void initStreamFormats | ( | ) |
TEST | ( | TestAESinkDARWINOSXScoreStream | , |
MatchAc3InAllWithoutPassthroughFormats | ) |
TEST | ( | TestAESinkDARWINOSXScoreStream | , |
MatchAc3InAllWithPassthroughFormats | ) |
TEST | ( | TestAESinkDARWINOSXScoreStream | , |
MatchAc3InStereoWithoutPassthroughFormats | ) |
TEST | ( | TestAESinkDARWINOSXScoreStream | , |
MatchAc3InStereoWithPassthroughFormats | ) |
TEST | ( | TestAESinkDARWINOSXScoreStream | , |
MatchFloat5_1_96000InAllWithoutPassthroughFormats | ) |
TEST | ( | TestAESinkDARWINOSXScoreStream | , |
MatchFloat5_1_96000InAllWithPassthroughFormats | ) |
TEST | ( | TestAESinkDARWINOSXScoreStream | , |
MatchFloat5_1_96000InStereoWithoutPassthroughFormats | ) |
TEST | ( | TestAESinkDARWINOSXScoreStream | , |
MatchFloat5_1_96000InStereoWithPassthroughFormats | ) |
TEST | ( | TestAESinkDARWINOSXScoreStream | , |
MatchFloatStereo22050InAllWithoutPassthroughFormats | ) |
TEST | ( | TestAESinkDARWINOSXScoreStream | , |
MatchFloatStereo22050InAllWithPassthroughFormats | ) |
TEST | ( | TestAESinkDARWINOSXScoreStream | , |
MatchFloatStereo22050InStereoWithoutPassthroughFormats | ) |
TEST | ( | TestAESinkDARWINOSXScoreStream | , |
MatchFloatStereo22050InStereoWithPassthroughFormats | ) |
TEST | ( | TestAESinkDARWINOSXScoreStream | , |
MatchFloatStereo48000InAllWithoutPassthroughFormats | ) |
TEST | ( | TestAESinkDARWINOSXScoreStream | , |
MatchFloatStereo48000InAllWithPassthroughFormats | ) |
TEST | ( | TestAESinkDARWINOSXScoreStream | , |
MatchFloatStereo48000InStereoWithoutPassthroughFormats | ) |
TEST | ( | TestAESinkDARWINOSXScoreStream | , |
MatchFloatStereo48000InStereoWithPassthroughFormats | ) |
std::vector<AudioStreamBasicDescription> allFormatsWithoutPassthrough |
std::vector<AudioStreamBasicDescription> allFormatsWithPassthrough |
std::vector<AudioStreamBasicDescription> stereoFormatsWithoutPassthrough |
std::vector<AudioStreamBasicDescription> stereoFormatsWithPassthrough |