![]() |
UltraGrid
UltraGrid Low-Latency High-Resolution Transmission System
|

Functions | |
| void | display_put_audio_frame (struct display *d, const struct audio_frame *frame) |
| Puts audio data. | |
| bool | display_reconfigure_audio (struct display *d, int quant_samples, int channels, int sample_rate) |
Audio related functions (embedded audio).
| void display_put_audio_frame | ( | struct display * | d, |
| const struct audio_frame * | frame ) |
Puts audio data.
| d | video display |
| frame | audio frame to be played |
Definition at line 574 of file video_display.c.
References DISPLAY_MAGIC, frame, display::funcs, display::magic, video_display_info::put_audio_frame, and display::state.
Referenced by display_aggregate_put_audio_frame(), display_multiplier_put_audio_frame(), main(), and vidcap_ug_input_init().
| bool display_reconfigure_audio | ( | struct display * | d, |
| int | quant_samples, | ||
| int | channels, | ||
| int | sample_rate ) |
This function instructs video driver to reconfigure itself
| d | video display structure |
| quant_samples | number of bits per sample |
| channels | count of channels |
| sample_rate | samples per second |
| TRUE | if reconfiguration succeeded |
| FALSE | if reconfiguration failed |
Definition at line 590 of file video_display.c.
References channels, DISPLAY_MAGIC, display::display_name, EXIT_FAIL_USAGE, exit_uv(), FALSE, display::funcs, LOG_LEVEL_FATAL, log_msg(), display::magic, MOD_NAME, quant_samples, video_display_info::reconfigure_audio, sample_rate, and display::state.
Referenced by display_aggregate_reconfigure_audio(), display_multiplier_reconfigure_audio(), main(), and vidcap_ug_input_init().
