![]() |
UltraGrid
UltraGrid Low-Latency High-Resolution Transmission System
|
#include <stddef.h>

Go to the source code of this file.
Functions | |
| AudioDeviceID | audio_ca_get_device_by_name (const char *name, int dir) |
| void | audio_ca_get_device_name (AudioDeviceID dev_id, size_t namebuf_len, char *namebuf) |
| void | audio_ca_probe (struct device_info **available_devices, int *count, int dir) |
Definition in file coreaudio.h.
| AudioDeviceID audio_ca_get_device_by_name | ( | const char * | name, |
| int | dir ) |
@briew tries to get device id from device name
| name | name of the device to be looked up |
| dir | direction - |
Definition at line 369 of file coreaudio.cpp.
References audio_ca_probe(), count, device_info::dev, and name.
Referenced by audio_cap_ca_init(), and audio_play_ca_init().

| void audio_ca_get_device_name | ( | AudioDeviceID | dev_id, |
| size_t | namebuf_len, | ||
| char * | namebuf ) |
Definition at line 281 of file coreaudio.cpp.
References get_osstatus_str(), kAudioObjectPropertyElementMain, LOG_LEVEL_WARNING, and log_msg().
Referenced by audio_ca_probe(), audio_cap_ca_init(), and audio_play_ca_init().

| void audio_ca_probe | ( | struct device_info ** | available_devices, |
| int * | count, | ||
| int | dir ) |
Returns CoreAudio devices
| dir | -1 capture; 1 playback |
@briew probe for available capture/playback devices (direction given by parameter dir)
| dir | -1 capture, 1 playback |
Definition at line 305 of file coreaudio.cpp.
References audio_ca_get_device_name(), count, device_info::dev, get_osstatus_str(), is_requested_direction(), kAudioObjectPropertyElementMain, LOG, LOG_LEVEL_ERROR, log_msg(), MOD_NAME, and name.
Referenced by audio_ca_get_device_by_name(), audio_cap_ca_probe(), and audio_play_ca_probe().
