SoundCreate(3) | Library Functions Manual | SoundCreate(3) |
SoundCreate - create a description of an audio file.
#include <audio/audiolib.h>
Sound SoundCreate(file_format,
data_format, num_tracks, sample_rate,
num_samples, comment)
int file_format;
int data_format;
int num_tracks;
int sample_rate;
int num_samples;
char *comment;
SoundCreate creates a SoundRec structure, initializes it with the specified values and returns a Sound (a pointer to the SoundRec structure) or NULL if there was an error.
SoundCloseFile, SoundOpenFileForReading, SoundOpenFileWriting,
audiolib - Network Audio System C Language Interface
1.9.4 |