BASS

BASS_CONFIG_PAUSE_NOPLAY config option


Prevent channels being played while the output is paused?

BASS_SetConfig(
    BASS_CONFIG_PAUSE_NOPLAY,
    BOOL noplay
);

Parameters

noplayIf TRUE, channels cannot be played while the output is paused.

Remarks

When the output is paused using BASS_Pause, and this config option is enabled, channels cannot be played until the output is resumed using BASS_Start. Any attempts to play a channel will result in a BASS_ERROR_START error.

By default, this config option is enabled.

See also

BASS_GetConfig, BASS_SetConfig, BASS_Pause