Skip to main content

S2C_AUDIO_FRAME

Constant S2C_AUDIO_FRAME 

Source
pub const S2C_AUDIO_FRAME: u8 = 0x30;
Expand description

An encoded audio frame (Opus) from the compositor’s mixed output: [0x30][timestamp:4][flags:1][data:N] timestamp: sample offset in 48 kHz ticks from an arbitrary epoch. flags: bits 1-2 = codec (0 = Opus). Other bits reserved.