Ring Daemon 16.0.0
|
#include <tonecontrol.h>
Public Member Functions | |
std::shared_ptr< AudioLoop > | getTelephoneFile (void) |
std::shared_ptr< AudioLoop > | getTelephoneTone () |
void | play (Tone::ToneId toneId) |
void | seek (double value) |
bool | setAudioFile (const std::string &file) |
void | setSampleRate (unsigned rate, AVSampleFormat sampleFormat) |
void | stop () |
void | stopAudioFile () |
ToneControl ()=delete | |
ToneControl (const Preferences &preferences) | |
~ToneControl () | |
Definition at line 36 of file tonecontrol.h.
|
delete |
jami::ToneControl::ToneControl | ( | const Preferences & | preferences | ) |
Definition at line 31 of file tonecontrol.cpp.
jami::ToneControl::~ToneControl | ( | ) |
Definition at line 36 of file tonecontrol.cpp.
Definition at line 69 of file tonecontrol.cpp.
References jami::emitSignal().
std::shared_ptr< AudioLoop > jami::ToneControl::getTelephoneTone | ( | ) |
Definition at line 60 of file tonecontrol.cpp.
References jami::emitSignal().
void jami::ToneControl::play | ( | Tone::ToneId | toneId | ) |
Definition at line 120 of file tonecontrol.cpp.
References jami::emitSignal().
Definition at line 129 of file tonecontrol.cpp.
References jami::emitSignal().
Definition at line 76 of file tonecontrol.cpp.
References jami::emitSignal(), and JAMI_WARN.
void jami::ToneControl::setSampleRate | ( | unsigned | rate, |
AVSampleFormat | sampleFormat | ||
) |
Definition at line 39 of file tonecontrol.cpp.
References jami::emitSignal(), jami::Preferences::getZoneToneChoice(), and JAMI_WARN.
void jami::ToneControl::stop | ( | ) |
Definition at line 106 of file tonecontrol.cpp.
References jami::emitSignal(), and jami::Tone::TONE_NULL.
void jami::ToneControl::stopAudioFile | ( | ) |
Definition at line 95 of file tonecontrol.cpp.
References jami::emitSignal().