OSSIA
Open Scenario System for Interactive Application
Loading...
Searching...
No Matches
audio_tick.hpp
1
#pragma once
2
#include <cinttypes>
3
#include <optional>
4
namespace
ossia
5
{
6
enum
transport_mode
7
{
8
none,
9
client,
10
master
11
};
12
13
enum
transport_status
14
{
15
stopped,
16
starting,
17
playing
18
};
19
20
struct
audio_tick_state
21
{
22
// Audio samples. Array of arrays pointing to individual channels
23
float
*
const
* inputs{};
24
float
** outputs{};
25
26
// Number of input and output channels
27
int32_t n_in{};
28
int32_t n_out{};
29
30
// Number of frames to playback
31
uint64_t frames{};
32
33
// Absolute transport position in seconds
34
double
seconds{};
35
36
// Absolute transport position in frames
37
std::optional<uint64_t> position_in_frames{};
38
39
// Current transport status
40
std::optional<transport_status> status{};
41
};
42
}
ossia
Definition
git_info.h:7
src
ossia
audio
audio_tick.hpp
Generated on Mon Mar 31 2025 23:58:28 for OSSIA by
1.9.8