None
Sound - audio file description.
#include <audio/audiolib.h>
#include <audio/sound.h>
typedef struct
{
. . .
}SoundRec, *Sound;
Do not dereference the members of the SoundRec structure directly. Instead use the access macros.
sound is a Sound, a pointer to a SoundRec structure.
Accesses the int value giving the format of the sound file.
Accesses the string description of the format of the sound file.
Accesses the int value giving the data format of the sound file.
Accesses the string description of the data format of the sound file.
Accesses the int value giving the number of tracks in the audio data in the sound file.
Accesses the int value giving the samples rate of the audio data in the sound file.
Accesses the int value giving the total number of samples.
Accesses the string comment.
Returns the bytes per sample of audio data.
Returns the total number of bytes of audio data in the sound file.
Returns true if the sound file format is a valid format.
The SoundRec structure describes an audio file.
SoundCloseFile, SoundCreate, SoundFlushFile, SoundOpenFileForReading, SoundOpenFileWriting, SoundReadFile, SoundRewindFile, SoundSeekFile, SoundTellFile, SoundWriteFile.
audiolib - Network Audio System C Language Interface