Ring Daemon 16.0.0
Loading...
Searching...
No Matches
jami::TelephoneTone Class Reference

#include <tonelist.h>

Collaboration diagram for jami::TelephoneTone:
Collaboration graph

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< TonegetCurrentTone ()
 
void setCurrentTone (Tone::ToneId toneId)
 
void setSampleRate (unsigned int sampleRate, AVSampleFormat sampleFormat)
 
 TelephoneTone (const std::string &countryName, unsigned int sampleRate, AVSampleFormat sampleFormat)
 

Detailed Description

Definition at line 30 of file tonelist.h.

Member Enumeration Documentation

◆ CountryId

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.

Constructor & Destructor Documentation

◆ TelephoneTone()

jami::TelephoneTone::TelephoneTone ( const std::string &  countryName,
unsigned int  sampleRate,
AVSampleFormat  sampleFormat 
)

Definition at line 47 of file tonelist.cpp.

Member Function Documentation

◆ getCurrentTone()

std::shared_ptr< Tone > jami::TelephoneTone::getCurrentTone ( )

Definition at line 70 of file tonelist.cpp.

References jami::emitSignal(), and jami::Tone::TONE_NULL.

Here is the call graph for this function:

◆ setCurrentTone()

void jami::TelephoneTone::setCurrentTone ( Tone::ToneId  toneId)

Definition at line 55 of file tonelist.cpp.

References jami::emitSignal(), and jami::Tone::TONE_NULL.

Here is the call graph for this function:

◆ setSampleRate()

void jami::TelephoneTone::setSampleRate ( unsigned int  sampleRate,
AVSampleFormat  sampleFormat 
)

Definition at line 64 of file tonelist.cpp.


The documentation for this class was generated from the following files: