bn::audio namespace
#include <bn_audio.h>

Audio related functions.

Functions

auto update_on_vblank() -> bool
Indicates if audio is updated on the V-Blank interrupt or not.
void set_update_on_vblank(bool update_on_vblank)
Sets if audio must be updated on the V-Blank interrupt or not.

Function documentation

bool bn::audio::update_on_vblank()

Indicates if audio is updated on the V-Blank interrupt or not.

Updating audio on the V-Blank interrupt helps to reduce audio noise but increases the possibility of visual bugs because of lack of V-Blank time.

void bn::audio::set_update_on_vblank(bool update_on_vblank)

Sets if audio must be updated on the V-Blank interrupt or not.

Updating audio on the V-Blank interrupt helps to reduce audio noise but increases the possibility of visual bugs because of lack of V-Blank time.