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

Go to the source code of this file.

Functions

void volume (Environment *_environment, int _volume, int _channels)
 Emit ASM code for VOLUME ....
void volume_vars (Environment *_environment, char *_volume, char *_channels)
 Emit ASM code for VOLUME ....

Function Documentation

◆ volume()

void volume ( Environment * _environment,
int _volume,
int _channels )

Emit ASM code for VOLUME ....

This function emits a code capable to change the volume of the audio generated.

Parameters
_environmentCurrent calling environment
_volumevolume to play
_channelschannels to play on

Definition at line 54 of file volume.c.

◆ volume_vars()

void volume_vars ( Environment * _environment,
char * _volume,
char * _channels )

Emit ASM code for VOLUME ....

This function emits a code capable to change the volume of the audio generated.

Parameters
_environmentCurrent calling environment
_volumevolume to play
_channelschannels to play on

Definition at line 71 of file volume.c.