Ring Daemon 16.0.0
|
#include <tonelist.h>
Public Types | |
enum class | CountryId { ZID_NORTH_AMERICA = 0 , ZID_FRANCE , ZID_AUSTRALIA , ZID_UNITED_KINGDOM , ZID_SPAIN , ZID_ITALY , ZID_JAPAN , ZID_COUNTRIES } |
Countries. More... | |
Public Member Functions | |
std::shared_ptr< Tone > | getCurrentTone () |
void | setCurrentTone (Tone::ToneId toneId) |
void | setSampleRate (unsigned int sampleRate, AVSampleFormat sampleFormat) |
TelephoneTone (const std::string &countryName, unsigned int sampleRate, AVSampleFormat sampleFormat) | |
Definition at line 30 of file tonelist.h.
Countries.
Enumerator | |
---|---|
ZID_NORTH_AMERICA | |
ZID_FRANCE | |
ZID_AUSTRALIA | |
ZID_UNITED_KINGDOM | |
ZID_SPAIN | |
ZID_ITALY | |
ZID_JAPAN | |
ZID_COUNTRIES |
Definition at line 34 of file tonelist.h.
jami::TelephoneTone::TelephoneTone | ( | const std::string & | countryName, |
unsigned int | sampleRate, | ||
AVSampleFormat | sampleFormat | ||
) |
Definition at line 47 of file tonelist.cpp.
std::shared_ptr< Tone > jami::TelephoneTone::getCurrentTone | ( | ) |
Definition at line 70 of file tonelist.cpp.
References jami::emitSignal(), and jami::Tone::TONE_NULL.
void jami::TelephoneTone::setCurrentTone | ( | Tone::ToneId | toneId | ) |
Definition at line 55 of file tonelist.cpp.
References jami::emitSignal(), and jami::Tone::TONE_NULL.
void jami::TelephoneTone::setSampleRate | ( | unsigned int | sampleRate, |
AVSampleFormat | sampleFormat | ||
) |
Definition at line 64 of file tonelist.cpp.