#include <gin_sampleplayer.h>
◆ SamplePlayer() [1/3]
| SamplePlayer::SamplePlayer |
( |
| ) |
|
◆ SamplePlayer() [2/3]
| SamplePlayer::SamplePlayer |
( |
const char * |
data, |
|
|
int |
dataLen |
|
) |
| |
◆ SamplePlayer() [3/3]
| SamplePlayer::SamplePlayer |
( |
const juce::File & |
f | ) |
|
◆ load() [1/2]
◆ load() [2/2]
| void SamplePlayer::load |
( |
const juce::File & |
f | ) |
|
◆ setBuffer()
| void SamplePlayer::setBuffer |
( |
const juce::AudioSampleBuffer & |
newBuffer, |
|
|
double |
sampleRate |
|
) |
| |
◆ setPlaybackSampleRate()
| void SamplePlayer::setPlaybackSampleRate |
( |
double |
sampleRate | ) |
|
◆ reset()
| void SamplePlayer::reset |
( |
| ) |
|
◆ setCrossfadeSamples()
| void SamplePlayer::setCrossfadeSamples |
( |
int |
samples | ) |
|
◆ play()
| void SamplePlayer::play |
( |
| ) |
|
◆ stop()
| void SamplePlayer::stop |
( |
| ) |
|
◆ isPlaying()
| bool SamplePlayer::isPlaying |
( |
| ) |
const |
◆ setLooping()
| void SamplePlayer::setLooping |
( |
bool |
shouldLoop | ) |
|
◆ isLooping()
| bool SamplePlayer::isLooping |
( |
| ) |
const |
◆ processBlock()
| void SamplePlayer::processBlock |
( |
juce::AudioSampleBuffer & |
output | ) |
|
◆ getPosition()
| double SamplePlayer::getPosition |
( |
| ) |
const |
◆ getPositionInSeconds()
| double SamplePlayer::getPositionInSeconds |
( |
| ) |
const |
◆ setPosition()
| void SamplePlayer::setPosition |
( |
double |
newPosition | ) |
|
◆ getLengthInSeconds()
| double SamplePlayer::getLengthInSeconds |
( |
| ) |
const |
◆ hasFileLoaded()
| bool SamplePlayer::hasFileLoaded |
( |
| ) |
const |
◆ getLoadedFile()
| juce::File SamplePlayer::getLoadedFile |
( |
| ) |
const |
◆ getBuffer()
| const juce::AudioSampleBuffer & SamplePlayer::getBuffer |
( |
| ) |
const |
◆ getSourceSampleRate()
| double SamplePlayer::getSourceSampleRate |
( |
| ) |
const |
◆ clear()
| void SamplePlayer::clear |
( |
| ) |
|
◆ populatePositionInfo()
| juce::AudioPlayHead::PositionInfo SamplePlayer::populatePositionInfo |
( |
| ) |
|
The documentation for this class was generated from the following file: