BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJMEDIA Reference

#include <tonegen.h>

Data Fields

short freq1
 
short freq2
 
short on_msec
 
short off_msec
 
short volume
 
short flags
 

Detailed Description

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

Field Documentation

◆ freq1

short pjmedia_tone_desc::freq1

First frequency.

◆ freq2

short pjmedia_tone_desc::freq2

Optional second frequency.

◆ on_msec

short pjmedia_tone_desc::on_msec

Playback ON duration, in miliseconds.

◆ off_msec

short pjmedia_tone_desc::off_msec

Playback OFF duration, ini miliseconds.

◆ volume

short pjmedia_tone_desc::volume

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

◆ flags

short pjmedia_tone_desc::flags

Currently internal flags, must be 0


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

 


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