WARNING: The online documentation has moved to https://docs.pjsip.org.

Visit the new documentation at https://docs.pjsip.org:

BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJMEDIA Reference

pjmedia_tone_digit_map Struct Reference

#include <tonegen.h>

Data Fields

unsigned count
 
struct {
   char   digit
 
   short   freq1
 
   short   freq2
 
digits [16]
 

Detailed Description

This structure describes the digit map which is used by the tone generator to produce tones from an ASCII digits. Digit map used by a particular tone generator can be retrieved/set with pjmedia_tonegen_get_digit_map() and pjmedia_tonegen_set_digit_map().

Field Documentation

◆ count

unsigned pjmedia_tone_digit_map::count

Number of digits in the map.

◆ digit

char pjmedia_tone_digit_map::digit

The ASCI identification for the digit.

◆ freq1

short pjmedia_tone_digit_map::freq1

First frequency.

◆ freq2

short pjmedia_tone_digit_map::freq2

Optional second frequency.

◆ 

struct { ... } pjmedia_tone_digit_map::digits[16]

Array of digits in the digit map.


The documentation for this struct was generated from the following file:

 


PJMEDIA small footprint Open Source media stack
Copyright (C) 2006-2008 Teluu Inc.