pjsip logo pjsip.org
Open source SIP stack and media stack for presence, im/instant messaging, and multimedia communication

HOME

SIP/media Features
High Performance SIP
Small Footprint SIP
Symbian Port

FAQ

Documentation

Licensing

Download

Development (Trac)

Projects using pjsip

Mailing List

Open Source Links


About: PJLIB, PJLIB-UTIL, PJSIP, and PJMEDIA are created by: Benny Prijono
<bennylp@pjsip.org>


 

Home --> Documentations --> PJMEDIA Reference

pjmedia_wave_hdr Struct Reference
[WAVE Header]


Detailed Description

This file describes the simpler/canonical version of a WAVE file. It does not support the full RIFF format specification.

Data Fields

struct {
   pj_uint32_t   riff
   pj_uint32_t   file_len
   pj_uint32_t   wave
riff_hdr
struct {
   pj_uint32_t   fmt
   pj_uint32_t   len
   pj_uint16_t   fmt_tag
   pj_uint16_t   nchan
   pj_uint32_t   sample_rate
   pj_uint32_t   bytes_per_sec
   pj_uint16_t   block_align
   pj_uint16_t   bits_per_sample
fmt_hdr
struct {
   pj_uint32_t   data
   pj_uint32_t   len
data_hdr

Field Documentation

File length minus 8 bytes

This structure describes RIFF WAVE file header

16 for PCM.

Data length.

Number of channels.

Average bytes per second.

struct { ... } pjmedia_wave_hdr::fmt_hdr

This structure describes format chunks/header

The data header preceeds the actual data in the file.


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

 


PJMEDIA small footprint Open Source media stack
(C)2003-2008 Benny Prijono