AudioSnapshot¶
Import: import system.audio;
Read the audio guide for usage, limits, and current platform restrictions.
AudioSnapshot¶
A copied view of a player's recent output PCM.
samples¶
Interleaved PCM after the player's volume and mute settings.
sample_rate¶
Samples per second per channel.
channels¶
One for mono or two for stereo.
frame_position¶
Rendered frame index since capture was enabled, at the beginning of this snapshot.
overrun¶
Whether output frames were lost to queue overflow or a concurrent capture update.