Skip to content

Commit

Permalink
audio: Avoid trying to load plugin for "server" audio output
Browse files Browse the repository at this point in the history
By design there won't be any such plugin, and the resulting warning is
confusing for users looking at the log.
  • Loading branch information
sthibaul committed Nov 11, 2023
1 parent 42bf324 commit c25f0c6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/modules/module_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -680,6 +680,13 @@ int module_audio_init(char **status_info)

outputs = g_strsplit(module_audio_pars[0], ",", 0);
while (NULL != outputs[i]) {
if (!strcmp(outputs[i], "server")) {
if (!first_error)
first_error = g_strdup("server audio is not supported");
i++;
continue;
}

module_audio_id =
spd_audio_open(outputs[i], (void **)&module_audio_pars[1],
&error);
Expand Down

0 comments on commit c25f0c6

Please sign in to comment.