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

strf_audio_hdr_t Struct Reference

Data Fields

pj_uint32_t strf
 
pj_uint32_t strf_size
 
pj_uint16_t fmt_tag
 
pj_uint16_t nchannels
 
pj_uint32_t sample_rate
 
pj_uint32_t bytes_per_sec
 
pj_uint16_t block_align
 
pj_uint16_t bits_per_sample
 
pj_uint16_t extra_size
 

Field Documentation

◆ fmt_tag

pj_uint16_t strf_audio_hdr_t::fmt_tag

1 for PCM

◆ nchannels

pj_uint16_t strf_audio_hdr_t::nchannels

Number of channels.

◆ sample_rate

pj_uint32_t strf_audio_hdr_t::sample_rate

Sampling rate.

◆ bytes_per_sec

pj_uint32_t strf_audio_hdr_t::bytes_per_sec

Average bytes per second.

◆ block_align

pj_uint16_t strf_audio_hdr_t::block_align

nchannels * bits / 8

◆ bits_per_sample

pj_uint16_t strf_audio_hdr_t::bits_per_sample

Bits per sample.


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

 


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