1Sound(3)                   Library Functions Manual                   Sound(3)
2
3
4

Name

6       Sound - audio file description.
7

Structures

9       #include <audio/audiolib.h>
10       #include <audio/sound.h>
11
12       typedef struct
13       {
14           . . .
15       }SoundRec, *Sound;
16

Members

18       Do not dereference the members of the SoundRec structure directly.  In‐
19       stead use the access macros.
20
21       sound is a Sound, a pointer to a SoundRec structure.
22
23       SoundFileFormat(sound)
24                 Accesses the int value giving the format of the sound file.
25
26       SoundFileFormatString(sound)
27                 Accesses the string description of the format  of  the  sound
28                 file.
29
30       SoundDataFormat(sound)
31                 Accesses  the  int  value giving the data format of the sound
32                 file.
33
34       SoundDataFormatString(sound)
35                 Accesses the string description of the  data  format  of  the
36                 sound file.
37
38       SoundNumTracks(sound)
39                 Accesses the int value giving the number of tracks in the au‐
40                 dio data in the sound file.
41
42       SoundSampleRate(sound)
43                 Accesses the int value giving the samples rate of  the  audio
44                 data in the sound file.
45
46       SoundNumSamples(sound)
47                 Accesses the int value giving the total number of samples.
48
49       SoundComment(sound)
50                 Accesses the string comment.
51
52       SoundBytesPerSample(sound)
53                 Returns the bytes per sample of audio data.
54
55       SoundNumBytes(sound)
56                 Returns  the total number of bytes of audio data in the sound
57                 file.
58
59       SoundValidateDataFormat(sound)
60                 Returns true if the sound file format is a valid format.
61

Description

63       The SoundRec structure describes an audio file.
64

See Also

66       SoundCloseFile, SoundCreate,  SoundFlushFile,  SoundOpenFileForReading,
67       SoundOpenFileWriting,  SoundReadFile,  SoundRewindFile,  SoundSeekFile,
68       SoundTellFile, SoundWriteFile.
69
70       audiolib - Network Audio System C Language Interface
71
72
73
74sound                                1.9.5                            Sound(3)
Impressum