#include <AmAdvancedAudio.h>
Inheritance diagram for AmAudioFrontlist:

Public Member Functions | |
| AmAudioFrontlist (AmEventQueue *q) | |
| AmAudioFrontlist (AmEventQueue *q, AmAudio *back_audio) | |
| void | setBackAudio (AmAudio *new_ba) |
Protected Member Functions | |
| int | put (unsigned int user_ts, unsigned char *buffer, unsigned int size) |
| int | get (unsigned int user_ts, unsigned char *buffer, unsigned int size) |
AmAudioFrontlist is an AmAudio device, that has a playlist in front of a AmAudio entry, the 'back' device. The back device is only used if the playlist is empty. - This can be useful when for example announcements should be played to the participant while in a conference.
| int AmAudioFrontlist::put | ( | unsigned int | user_ts, | |
| unsigned char * | buffer, | |||
| unsigned int | size | |||
| ) | [protected, virtual] |
Put some samples to the output stream.
nb_sample = input buffer size / sample size of the reference formatwhereby the format with/from which the codec works is the reference one.
Reimplemented from AmPlaylist.
| int AmAudioFrontlist::get | ( | unsigned int | user_ts, | |
| unsigned char * | buffer, | |||
| unsigned int | size | |||
| ) | [protected, virtual] |
Get some samples from input stream.
nb_sample = input buffer size / sample size of the reference formatwhereby the format with/from which the codec works is the reference one.
Reimplemented from AmPlaylist.
1.5.1