![]() |
UltraGrid
UltraGrid Low-Latency High-Resolution Transmission System
|
This file contains definition of some common audio types. More...
#include <cstdint>#include "../types.h"#include <string>#include <ostream>#include <memory>#include <tuple>#include <vector>
Go to the source code of this file.
Classes | |
| struct | audio_channel |
| Audio channel is a non-owning view on audio_frame2 isolating one channel. More... | |
| struct | audio_desc |
| struct | audio_frame |
| struct used to comunicate with audio capture/playback device More... | |
| class | audio_frame2 |
| struct | audio_frame2::channel |
Macros | |
| #define | AUDIO_FRAME_DISPOSE(frame) |
Typedefs | |
| typedef struct audio_frame | audio_frame |
| struct used to comunicate with audio capture/playback device | |
Enumerations | |
| enum | { MAX_AUD_CH_COUNT = 1 << 10 , MAX_AUD_SAMPLE_RATE = 1 << 24 } |
| enum | audio_codec_t { AC_NONE , AC_PCM , AC_ALAW , AC_MULAW , AC_SPEEX , AC_OPUS , AC_G722 , AC_MP3 , AC_AAC , AC_FLAC , AC_COUNT } |
Functions | |
| std::ostream & | operator<< (std::ostream &os, const audio_desc &desc) |
This file contains definition of some common audio types.
Definition in file types.h.
| #define AUDIO_FRAME_DISPOSE | ( | frame | ) |
Definition at line 117 of file types.h.
Referenced by capture_thread(), hd_rum_decompress::state_transcoder_decompress::frame_arrived(), ug_input_state::frame_arrived(), and vidcap_ug_input_done().
| typedef struct audio_frame audio_frame |
struct used to comunicate with audio capture/playback device
Always hold uncompressed (PCM) packed interleaved signed data.
| anonymous enum |
packet format maximal allowed values defined in: http://www.sitola.cz/files/4K-packet-format.pdf
| Enumerator | |
|---|---|
| MAX_AUD_CH_COUNT | |
| MAX_AUD_SAMPLE_RATE | |
| enum audio_codec_t |
| std::ostream & operator<< | ( | std::ostream & | os, |
| const audio_desc & | desc ) |
Definition at line 1215 of file audio.cpp.
References desc, and get_name_to_audio_codec().
