|
Wireshark 4.7.3
The Wireshark network protocol analyzer
|
Context structure for audio codec configuration and state. More...
#include <codecs.h>
Public Attributes | |
| unsigned | sample_rate |
| unsigned | channels |
| wmem_map_t * | fmtp_map |
| void * | priv |
Context structure for audio codec configuration and state.
Encapsulates codec-specific parameters and decoder state used during media processing. This structure is typically initialized by the codec registration or setup routines and passed to encoding/decoding functions.
| unsigned _codec_context_t::channels |
Number of audio channels (e.g., 1 for mono, 2 for stereo).
| wmem_map_t* _codec_context_t::fmtp_map |
Optional format parameters (FMTP) as a key-value map, or NULL if not provided.
| void* _codec_context_t::priv |
Pointer to codec-specific private state allocated and managed by the codec implementation.
| unsigned _codec_context_t::sample_rate |
Sample rate in Hz (e.g., 8000, 44100).