libobs: Increase maximum audio tracks to 6

This commit is contained in:
jp9000 2016-12-21 17:13:19 -08:00
parent 8cc5f8de55
commit f10e2c6740
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@
extern "C" {
#endif
#define MAX_AUDIO_MIXES 4
#define MAX_AUDIO_MIXES 6
#define MAX_AUDIO_CHANNELS 2
#define AUDIO_OUTPUT_FRAMES 1024

View File

@ -174,7 +174,7 @@ bool obs_source_init(struct obs_source *source)
source->control = bzalloc(sizeof(obs_weak_source_t));
source->deinterlace_top_first = true;
source->control->source = source;
source->audio_mixers = 0xF;
source->audio_mixers = 0xFF;
if (is_audio_source(source)) {
pthread_mutex_lock(&obs->data.audio_sources_mutex);