Generates test audio for the standalone host: sine tone or file playback.
More...
#include <test_signal.hpp>
Generates test audio for the standalone host: sine tone or file playback.
Thread-safe: config changes from UI thread, fill() called on audio thread.
◆ TestSignalSource()
| pulp::format::TestSignalSource::TestSignalSource |
( |
| ) |
|
|
default |
◆ config()
◆ file_data()
◆ file_position()
| int64_t pulp::format::TestSignalSource::file_position |
( |
| ) |
const |
|
inline |
◆ fill()
| void pulp::format::TestSignalSource::fill |
( |
float *const * | output, |
|
|
int | num_channels, |
|
|
int | num_samples ) |
Fill output buffers with test signal.
Called from audio callback. output is an array of channel pointers (non-interleaved).
◆ has_file()
| bool pulp::format::TestSignalSource::has_file |
( |
| ) |
const |
|
inline |
◆ is_active()
| bool pulp::format::TestSignalSource::is_active |
( |
| ) |
const |
|
inline |
◆ is_looping()
| bool pulp::format::TestSignalSource::is_looping |
( |
| ) |
const |
|
inline |
◆ is_playing()
| bool pulp::format::TestSignalSource::is_playing |
( |
| ) |
const |
|
inline |
◆ load_file()
| bool pulp::format::TestSignalSource::load_file |
( |
const std::string & | path | ) |
|
◆ play()
| void pulp::format::TestSignalSource::play |
( |
| ) |
|
◆ reset()
| void pulp::format::TestSignalSource::reset |
( |
| ) |
|
◆ set_config()
◆ set_loop()
| void pulp::format::TestSignalSource::set_loop |
( |
bool | loop | ) |
|
|
inline |
◆ set_sample_rate()
| void pulp::format::TestSignalSource::set_sample_rate |
( |
double | sr | ) |
|
|
inline |
◆ stop()
| void pulp::format::TestSignalSource::stop |
( |
| ) |
|
◆ unload_file()
| void pulp::format::TestSignalSource::unload_file |
( |
| ) |
|
The documentation for this class was generated from the following file:
- /home/runner/work/pulp/pulp/core/format/include/pulp/format/test_signal.hpp