#include <AUFile.h>
Collaboration diagram for AUFile:

Public Member Functions | |
| AUFile (void) | |
| ~AUFile (void) | |
| AUFile (AUFile &source) | |
| bool | open (const char *filename) |
| bool | write (const char *filename) |
| bool | record (const char *filename, unsigned int duration) |
| bool | play (void) const |
| void | normalize (void) |
| bool | cutSampleRange (unsigned int length) |
| vector< double > & | getData (void) |
| unsigned int | getSize (void) |
| AU_info_data * | getInformation (void) |
| bool | setInformation (unsigned int size, unsigned char *data) |
| void | setSize (unsigned int size) |
| const char * | getFilename (void) |
Private Attributes | |
| char * | filename |
| au_filehdr | au_header |
| vector< double > | au_data |
| AU_info_data | i_data |
| bool | if_open |
Friends | |
| class | GUIMainImpl |
|
|
Standard constructor. |
|
|
Standard destructor. |
|
|
Copy constructor. |
|
|
Shrink an AU file to the usable samplerange.
|
|
|
Getter for the audio data stream |
|
|
Getter for the filename.
|
|
|
Getter for the additional header information |
|
|
Getter for the audio stream size |
|
|
Normalize the audio stream data. |
|
|
Open an AU file and write its content to the class.
|
|
|
Play the AU file.
|
|
||||||||||||
|
Record a new AU file
|
|
||||||||||||
|
Setter for the additional header information.
|
|
|
Setter for audio data stream size.
|
|
|
Write the class data to an AU file.
|
|
|
The audio data stream of the au-file. |
|
|
The header of the au-file. |
|
|
Filename when loaded from file or NULL when new object. |
|
|
Additional information which can be added at the end of the header |
|
|
Flag, which is set to true once a file has been loaded. Otherwise, that is before any data has been loaded, it is set to false. |
1.3-rc3