BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJMEDIA Reference

pjmedia_tone_digit Struct Reference

#include <tonegen.h>

Data Fields

char digit
 
short on_msec
 
short off_msec
 
short volume
 

Detailed Description

This structure describes individual MF digits to be played with pjmedia_tonegen_play_digits().

Field Documentation

◆ digit

char pjmedia_tone_digit::digit

The ASCI identification for the digit.

◆ on_msec

short pjmedia_tone_digit::on_msec

Playback ON duration, in miliseconds.

◆ off_msec

short pjmedia_tone_digit::off_msec

Playback OFF duration, ini miliseconds.

◆ volume

short pjmedia_tone_digit::volume

Volume (1-32767), or 0 for default, which PJMEDIA_TONEGEN_VOLUME will be used.


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

 


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