|
HikoGUI
A low latency retained GUI
|
Data Fields | |
| uint64_t | samplePosition |
| hires_utc_clock::time_point | timestamp |
| size_t | numberOfSamples |
| double | wordClockSampleRate |
| double | deviceSampleRate |
| size_t | numberOfBitsPerSample |
| size_t | stridePerSample |
| SampleFormat | sampleFormat |
| bool | containsGlitch |
| bool | badTimestamp |
| bool | silent |
| std::vector< AudioBuffer > | buffers |
| bool tt::AudioBlock::badTimestamp |
The timestamp in this block is bad.
| std::vector<AudioBuffer> tt::AudioBlock::buffers |
A list of sample data buffers. Each buffer contains a set of interleaved channels.
Some devices create a single buffer with all channels interleaved. Some devices create one non-interleaved buffer for each channel. Some devices have different sets of inputs, each interleaved, for example 8 digital inputs interleaved in one buffer, and 10 analogue inputs interleaved in the second buffer.
| bool tt::AudioBlock::containsGlitch |
The data in the buffer contains a glitch. Examples of how glitches could happen:
| double tt::AudioBlock::deviceSampleRate |
Sample rate to what the audio device is configured to.
| size_t tt::AudioBlock::numberOfBitsPerSample |
Number of bits in each sample.
| size_t tt::AudioBlock::numberOfSamples |
Number of samples in this audio block.
| SampleFormat tt::AudioBlock::sampleFormat |
Format of the samples in this block.
| uint64_t tt::AudioBlock::samplePosition |
The sample position of the first sample in this block since the start of the capture/render session.
| bool tt::AudioBlock::silent |
This block of audio is silent.
| size_t tt::AudioBlock::stridePerSample |
Number of bytes to jump to the next sample.
| hires_utc_clock::time_point tt::AudioBlock::timestamp |
Timestamp when the sample first sample in this block was captured at the audio device input or when the first sample in this block will appear at the audio device output.
| double tt::AudioBlock::wordClockSampleRate |
Sample rate of the word clock attached to the audio interface For example in some situation on film sets the audio interface sample rate is overdriven to 48048 Hz.