Home --> Documentations --> PJMEDIA Reference

pjmedia_audio_format_detail Struct Reference

Data Fields

unsigned clock_rate
unsigned channel_count
unsigned frame_time_usec
unsigned bits_per_sample
pj_uint32_t avg_bps
pj_uint32_t max_bps

Detailed Description

This structure is put in detail field of pjmedia_format to describe detail information about an audio media.

Field Documentation

◆ clock_rate

unsigned pjmedia_audio_format_detail::clock_rate

Audio clock rate in samples or Hz.

Referenced by PJMEDIA_AFD_SPF(), pjmedia_format_init_audio(), and PJMEDIA_PIA_SRATE().

◆ channel_count

unsigned pjmedia_audio_format_detail::channel_count

Number of channels.

Referenced by PJMEDIA_AFD_SPF(), pjmedia_format_init_audio(), and PJMEDIA_PIA_CCNT().

◆ frame_time_usec

unsigned pjmedia_audio_format_detail::frame_time_usec

◆ bits_per_sample

unsigned pjmedia_audio_format_detail::bits_per_sample

Number of bits per sample.

Referenced by pjmedia_format_init_audio(), and PJMEDIA_PIA_BITS().

◆ avg_bps

pj_uint32_t pjmedia_audio_format_detail::avg_bps

◆ max_bps

pj_uint32_t pjmedia_audio_format_detail::max_bps

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


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