ugBASIC 1.18
An isomorphic BASIC language compiler for retrocomputers
Loading...
Searching...
No Matches
volume_off.c File Reference
#include "../../ugbc.h"

Go to the source code of this file.

Functions

void volume_off (Environment *_environment, int _channels)
 Emit ASM code for VOLUME OFF.
void volume_off_var (Environment *_environment, char *_channels)
 Emit ASM code for VOLUME OFF.

Function Documentation

◆ volume_off()

void volume_off ( Environment * _environment,
int _channels )

Emit ASM code for VOLUME OFF.

This function emits a code capable to turn off the volume.

Parameters
_environmentCurrent calling environment
_channelschannels to mute

Definition at line 68 of file volume_off.c.

◆ volume_off_var()

void volume_off_var ( Environment * _environment,
char * _channels )

Emit ASM code for VOLUME OFF.

This function emits a code capable to mute the audio generated.

Parameters
_environmentCurrent calling environment
_channelschannels to play on

Definition at line 91 of file volume_off.c.