DOKK / manpages / debian 12 / libaudio-dev / AuSoundPlaySynchronousFromFile.3nas.en
AuSoundPlaySynchronousFromFile(3) Library Functions Manual AuSoundPlaySynchronousFromFile(3)

Name

AuSoundPlaySynchronousFromFile - play a file.

Synopsis

#include <audio/audiolib.h>
#include <audio/soundlib.h>

AuBool AuSoundPlaySynchronousFromFile(server, filename, volume)
AuServer *server;
char *filename;
int volume;

Arguments

Specifies the connection to the audio server.
Specifies the name of the audio data file.
Specifies the volume level.

Description

AuSoundPlaySynchronousFromFile plays filename and returns AuTrue when done or AuFalse if there was an error.

See Also

AuSoundPlay, AuSoundPlayFromBucket, AuSoundPlayFromData, AuSoundPlayFromFile.

audiolib - Network Audio System C Language Interface

1.9.4 soundlib