UI: Swap audio slots
Had the audio restart slot connected to things that didn't require a restartmaster
parent
a9f5959b3c
commit
b2202c4843
|
@ -847,8 +847,6 @@ void audio_line_output(audio_line_t line, const struct audio_data *data)
|
||||||
pthread_mutex_lock(&line->mutex);
|
pthread_mutex_lock(&line->mutex);
|
||||||
|
|
||||||
if (!line->buffers[0].size) {
|
if (!line->buffers[0].size) {
|
||||||
/* XXX: not entirely sure if this is the wisest course of
|
|
||||||
* action in all circumstances */
|
|
||||||
line->base_timestamp = data->timestamp -
|
line->base_timestamp = data->timestamp -
|
||||||
line->audio->info.buffer_ms * 1000000;
|
line->audio->info.buffer_ms * 1000000;
|
||||||
audio_line_place_data(line, data);
|
audio_line_place_data(line, data);
|
||||||
|
|
|
@ -90,8 +90,8 @@ void OBSBasicSettings::HookWidget(QWidget *widget, const char *signal,
|
||||||
#define SCROLL_CHANGED SIGNAL(valueChanged(int))
|
#define SCROLL_CHANGED SIGNAL(valueChanged(int))
|
||||||
|
|
||||||
#define GENERAL_CHANGED SLOT(GeneralChanged())
|
#define GENERAL_CHANGED SLOT(GeneralChanged())
|
||||||
#define AUDIO_CHANGED SLOT(AudioChangedRestart())
|
#define AUDIO_RESTART SLOT(AudioChangedRestart())
|
||||||
#define AUDIO_RESTART SLOT(AudioChanged())
|
#define AUDIO_CHANGED SLOT(AudioChanged())
|
||||||
#define VIDEO_RESTART SLOT(VideoChangedRestart())
|
#define VIDEO_RESTART SLOT(VideoChangedRestart())
|
||||||
#define VIDEO_RES SLOT(VideoChangedResolution())
|
#define VIDEO_RES SLOT(VideoChangedResolution())
|
||||||
#define VIDEO_CHANGED SLOT(VideoChanged())
|
#define VIDEO_CHANGED SLOT(VideoChanged())
|
||||||
|
|
Loading…
Reference in New Issue