test: fixed the read_mixer program on !HAVE_PULSE
This commit is contained in:
parent
70106464d3
commit
6a5f4651a1
@ -21,8 +21,8 @@
|
|||||||
#include "mixer_list.h"
|
#include "mixer_list.h"
|
||||||
#include "filter_registry.h"
|
#include "filter_registry.h"
|
||||||
#include "pcm_volume.h"
|
#include "pcm_volume.h"
|
||||||
#include "output/pulse_output_plugin.h"
|
|
||||||
#include "event_pipe.h"
|
#include "event_pipe.h"
|
||||||
|
#include "config.h"
|
||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|
||||||
@ -30,6 +30,9 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
|
#ifdef HAVE_PULSE
|
||||||
|
#include "output/pulse_output_plugin.h"
|
||||||
|
|
||||||
void
|
void
|
||||||
pulse_output_set_mixer(G_GNUC_UNUSED struct pulse_output *po,
|
pulse_output_set_mixer(G_GNUC_UNUSED struct pulse_output *po,
|
||||||
G_GNUC_UNUSED struct pulse_mixer *pm)
|
G_GNUC_UNUSED struct pulse_mixer *pm)
|
||||||
@ -50,6 +53,8 @@ pulse_output_set_volume(G_GNUC_UNUSED struct pulse_output *po,
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
void
|
void
|
||||||
event_pipe_emit(G_GNUC_UNUSED enum pipe_event event)
|
event_pipe_emit(G_GNUC_UNUSED enum pipe_event event)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user