Adds functions to turn on audio monitoring to allow the user to hear playback of an audio source over the user's speaker. It can be set to turn off monitoring and only output to stream, or it can be set to output only to monitoring, or it can be set to both. On windows, audio monitoring uses WASAPI. Windows also is capable of syncing the audio to the video according to when the video frame itself was played. On mac, it uses AudioQueue. On linux, it's not currently implemented and won't do anything (to be implemented).
24 lines
456 B
C
24 lines
456 B
C
#include "../../obs-internal.h"
|
|
|
|
void obs_enum_audio_monitoring_devices(obs_enum_audio_device_cb cb, void *data)
|
|
{
|
|
UNUSED_PARAMETER(cb);
|
|
UNUSED_PARAMETER(data);
|
|
}
|
|
|
|
struct audio_monitor *audio_monitor_create(obs_source_t *source)
|
|
{
|
|
UNUSED_PARAMETER(source);
|
|
return NULL;
|
|
}
|
|
|
|
void audio_monitor_reset(struct audio_monitor *monitor)
|
|
{
|
|
UNUSED_PARAMETER(monitor);
|
|
}
|
|
|
|
void audio_monitor_destroy(struct audio_monitor *monitor)
|
|
{
|
|
UNUSED_PARAMETER(monitor);
|
|
}
|