|
MythTV master
|
#include <iostream>#include <dlfcn.h>#include <QtGlobal>#include <QJniEnvironment>#include <QJniObject>#include "libmythbase/mythlogging.h"#include "audiooutputopensles.h"Go to the source code of this file.
Macros | |
| #define | QAndroidJniEnvironment QJniEnvironment |
| #define | QAndroidJniObject QJniObject |
| #define | LOC QString("AOSLES: ") |
| #define | OPENSLES_BUFFERS 10 /* maximum number of buffers */ |
| #define | POSITIONUPDATEPERIOD 40 |
| #define | CHECK_OPENSL_ERROR(msg) |
| #define | CHECK_OPENSL_START_ERROR(msg) |
| #define | Destroy(a) (*(a))->Destroy(a); |
| #define | SetPlayState(a, b) (*(a))->SetPlayState(a, b) |
| #define | RegisterCallback(a, b, c) (*(a))->RegisterCallback(a, b, c) |
| #define | GetInterface(a, b, c) (*(a))->GetInterface(a, b, c) |
| #define | Realize(a, b) (*(a))->Realize(a, b) |
| #define | CreateOutputMix(a, b, c, d, e) (*(a))->CreateOutputMix(a, b, c, d, e) |
| #define | CreateAudioPlayer(a, b, c, d, e, f, g) (*(a))->CreateAudioPlayer(a, b, c, d, e, f, g) |
| #define | Enqueue(a, b, c) (*(a))->Enqueue(a, b, c) |
| #define | Clear(a) (*(a))->Clear(a) |
| #define | GetState(a, b) (*(a))->GetState(a, b) |
| #define | SetPositionUpdatePeriod(a, b) (*(a))->SetPositionUpdatePeriod(a, b) |
| #define | SetVolumeLevel(a, b) (*(a))->SetVolumeLevel(a, b) |
| #define | GetVolumeLevel(a, b) (*(a))->GetVolumeLevel(a, b) |
| #define | SetMute(a, b) (*(a))->SetMute(a, b) |
| #define | OPENSL_DLSYM(dest, name) |
Functions | |
| int | GetNativeOutputSampleRate (void) |
Variables | |
| static constexpr std::chrono::milliseconds | OPENSLES_BUFLEN { 10ms } |
| #define CHECK_OPENSL_ERROR | ( | msg | ) |
Definition at line 28 of file audiooutputopensles.cpp.
| #define CHECK_OPENSL_START_ERROR | ( | msg | ) |
Definition at line 36 of file audiooutputopensles.cpp.
| #define Clear | ( | a | ) | (*(a))->Clear(a) |
Definition at line 54 of file audiooutputopensles.cpp.
Definition at line 51 of file audiooutputopensles.cpp.
Definition at line 50 of file audiooutputopensles.cpp.
| #define Destroy | ( | a | ) | (*(a))->Destroy(a); |
Definition at line 45 of file audiooutputopensles.cpp.
| #define Enqueue | ( | a, | |
| b, | |||
| c | |||
| ) | (*(a))->Enqueue(a, b, c) |
Definition at line 53 of file audiooutputopensles.cpp.
| #define GetInterface | ( | a, | |
| b, | |||
| c | |||
| ) | (*(a))->GetInterface(a, b, c) |
Definition at line 48 of file audiooutputopensles.cpp.
| #define GetState | ( | a, | |
| b | |||
| ) | (*(a))->GetState(a, b) |
Definition at line 55 of file audiooutputopensles.cpp.
| #define GetVolumeLevel | ( | a, | |
| b | |||
| ) | (*(a))->GetVolumeLevel(a, b) |
Definition at line 58 of file audiooutputopensles.cpp.
| #define LOC QString("AOSLES: ") |
Definition at line 19 of file audiooutputopensles.cpp.
| #define OPENSL_DLSYM | ( | dest, | |
| name | |||
| ) |
| #define OPENSLES_BUFFERS 10 /* maximum number of buffers */ |
Definition at line 21 of file audiooutputopensles.cpp.
| #define POSITIONUPDATEPERIOD 40 |
Definition at line 25 of file audiooutputopensles.cpp.
| #define QAndroidJniEnvironment QJniEnvironment |
Definition at line 11 of file audiooutputopensles.cpp.
| #define QAndroidJniObject QJniObject |
Definition at line 12 of file audiooutputopensles.cpp.
| #define Realize | ( | a, | |
| b | |||
| ) | (*(a))->Realize(a, b) |
Definition at line 49 of file audiooutputopensles.cpp.
| #define RegisterCallback | ( | a, | |
| b, | |||
| c | |||
| ) | (*(a))->RegisterCallback(a, b, c) |
Definition at line 47 of file audiooutputopensles.cpp.
| #define SetMute | ( | a, | |
| b | |||
| ) | (*(a))->SetMute(a, b) |
Definition at line 59 of file audiooutputopensles.cpp.
| #define SetPlayState | ( | a, | |
| b | |||
| ) | (*(a))->SetPlayState(a, b) |
Definition at line 46 of file audiooutputopensles.cpp.
| #define SetPositionUpdatePeriod | ( | a, | |
| b | |||
| ) | (*(a))->SetPositionUpdatePeriod(a, b) |
Definition at line 56 of file audiooutputopensles.cpp.
| #define SetVolumeLevel | ( | a, | |
| b | |||
| ) | (*(a))->SetVolumeLevel(a, b) |
Definition at line 57 of file audiooutputopensles.cpp.
| int GetNativeOutputSampleRate | ( | void | ) |
Definition at line 63 of file audiooutputopensles.cpp.
Referenced by AudioOutputOpenSLES::GetOutputSettings(), and AudioOutputOpenSLES::StartPlayer().
|
staticconstexpr |
Definition at line 22 of file audiooutputopensles.cpp.
Referenced by AudioOutputOpenSLES::OpenDevice(), AudioOutputOpenSLES::StartPlayer(), and AudioOutputOpenSLES::WriteAudio().