|
std::atomic< float > | mGain { 1.0f } |
| Atomic because it may be read by worker threads in playback. More...
|
|
std::atomic< float > | mPan { 0.0f } |
| Atomic because it may be read by worker threads in playback. More...
|
|
int | mRate { 44100 } |
|
double | mOrigin { 0.0 } |
|
sampleFormat | mFormat { floatSample } |
|
Definition at line 211 of file WaveTrack.cpp.
◆ WaveTrackData() [1/2]
anonymous_namespace{WaveTrack.cpp}::WaveTrackData::WaveTrackData |
( |
| ) |
|
|
default |
◆ WaveTrackData() [2/2]
anonymous_namespace{WaveTrack.cpp}::WaveTrackData::WaveTrackData |
( |
const WaveTrackData & |
| ) |
|
◆ ~WaveTrackData()
anonymous_namespace{WaveTrack.cpp}::WaveTrackData::~WaveTrackData |
( |
| ) |
|
|
overridedefault |
◆ Clone()
std::unique_ptr< ClientData::Cloneable<> > anonymous_namespace{WaveTrack.cpp}::WaveTrackData::Clone |
( |
| ) |
const |
|
overridevirtual |
◆ Get() [1/2]
Definition at line 269 of file WaveTrack.cpp.
270{
272}
A Track that contains audio waveform data.
static WaveTrackData & Get(WaveTrack &track)
References BasicUI::Get().
◆ Get() [2/2]
◆ GetOrigin()
double anonymous_namespace{WaveTrack.cpp}::WaveTrackData::GetOrigin |
( |
| ) |
const |
◆ GetPan()
float anonymous_namespace{WaveTrack.cpp}::WaveTrackData::GetPan |
( |
| ) |
const |
Definition at line 303 of file WaveTrack.cpp.
304{
305 return mPan.load(std::memory_order_relaxed);
306}
std::atomic< float > mPan
Atomic because it may be read by worker threads in playback.
◆ GetRate()
int anonymous_namespace{WaveTrack.cpp}::WaveTrackData::GetRate |
( |
| ) |
const |
◆ GetSampleFormat()
sampleFormat anonymous_namespace{WaveTrack.cpp}::WaveTrackData::GetSampleFormat |
( |
| ) |
const |
◆ GetVolume()
float anonymous_namespace{WaveTrack.cpp}::WaveTrackData::GetVolume |
( |
| ) |
const |
Definition at line 293 of file WaveTrack.cpp.
294{
295 return mGain.load(std::memory_order_relaxed);
296}
std::atomic< float > mGain
Atomic because it may be read by worker threads in playback.
◆ operator=()
◆ SetOrigin()
void anonymous_namespace{WaveTrack.cpp}::WaveTrackData::SetOrigin |
( |
double |
origin | ) |
|
◆ SetPan()
void anonymous_namespace{WaveTrack.cpp}::WaveTrackData::SetPan |
( |
float |
value | ) |
|
Definition at line 308 of file WaveTrack.cpp.
309{
310 mPan.store(value, std::memory_order_relaxed);
311}
◆ SetRate()
void anonymous_namespace{WaveTrack.cpp}::WaveTrackData::SetRate |
( |
int |
value | ) |
|
◆ SetSampleFormat()
void anonymous_namespace{WaveTrack.cpp}::WaveTrackData::SetSampleFormat |
( |
sampleFormat |
format | ) |
|
◆ SetVolume()
void anonymous_namespace{WaveTrack.cpp}::WaveTrackData::SetVolume |
( |
float |
value | ) |
|
Definition at line 298 of file WaveTrack.cpp.
299{
300 mGain.store(value, std::memory_order_relaxed);
301}
◆ mFormat
sampleFormat anonymous_namespace{WaveTrack.cpp}::WaveTrackData::mFormat { floatSample } |
|
private |
◆ mGain
std::atomic<float> anonymous_namespace{WaveTrack.cpp}::WaveTrackData::mGain { 1.0f } |
|
private |
Atomic because it may be read by worker threads in playback.
Definition at line 237 of file WaveTrack.cpp.
◆ mOrigin
double anonymous_namespace{WaveTrack.cpp}::WaveTrackData::mOrigin { 0.0 } |
|
private |
◆ mPan
std::atomic<float> anonymous_namespace{WaveTrack.cpp}::WaveTrackData::mPan { 0.0f } |
|
private |
Atomic because it may be read by worker threads in playback.
Definition at line 239 of file WaveTrack.cpp.
◆ mRate
int anonymous_namespace{WaveTrack.cpp}::WaveTrackData::mRate { 44100 } |
|
private |
The documentation for this struct was generated from the following file: