RING_MODE_SINGLE_OFF,
};
+/* dmx.c */
+
+void dmx_init(void);
+void dmx_set_pwm(uint index, uint val);
+bool dmx_is_ready(void);
+
/* pulse.c */
extern char *pulse_default_sink_name;
uint base_volume;
bool mute;
bool suspended;
+ char *active_port;
};
struct pulse_sink_input {
struct pulse_sink *pulse_sink_by_idx(int idx);
void pulse_sink_set_volume(int idx, pa_cvolume *cvol);
void pulse_sink_set_mute(int idx, bool mute);
+void pulse_sink_set_port(int idx, const char *port);
void pulse_sink_input_set_volume(int idx, pa_cvolume *cvol);
void pulse_sink_input_set_mute(int idx, bool mute);
void pulse_sink_input_move(int input_idx, int sink_idx);
void mpd_play(void);
void mpd_stop(void);
void mpd_pause(int arg);
+void mpd_next(void);
+void mpd_prev(void);