char name[32], title[128];
int err;
unsigned int cards_mask;
- snd_ctl_elem_t ctl;
+ snd_ctl_elem_value_t ctl;
// snd_mixer_filter_t filter;
/* Go through gtk initialization */
#include "envy24control.h"
-static snd_ctl_elem_t spdif_master;
-static snd_ctl_elem_t word_clock_sync;
-static snd_ctl_elem_t volume_rate;
-static snd_ctl_elem_t spdif_input;
-static snd_ctl_elem_t spdif_output;
+static snd_ctl_elem_value_t spdif_master;
+static snd_ctl_elem_value_t word_clock_sync;
+static snd_ctl_elem_value_t volume_rate;
+static snd_ctl_elem_value_t spdif_input;
+static snd_ctl_elem_value_t spdif_output;
#define toggle_set(widget, state) \
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(widget), state);
gint master_clock_status_timeout_callback(gpointer data)
{
- snd_ctl_elem_t sw;
+ snd_ctl_elem_value_t sw;
int err;
if (card_eeprom.subvendor != ICE1712_SUBDEVICE_DELTA1010)
static GdkGC *penRedShadow[21] = { NULL, };
static GdkGC *penRedLight[21] = { NULL, };
static GdkPixmap *pixmap[21] = { NULL, };
-static snd_ctl_elem_t peaks;
+static snd_ctl_elem_value_t peaks;
static void update_peak_switch(void)
{
void mixer_update_stream(int stream, int vol_flag, int sw_flag)
{
- snd_ctl_elem_t vol, sw;
+ snd_ctl_elem_value_t vol, sw;
int err;
if (vol_flag) {
static void set_switch1(int stream, int left, int right)
{
- snd_ctl_elem_t sw;
+ snd_ctl_elem_value_t sw;
int err;
memset(&sw, 0, sizeof(sw));
static void set_volume1(int stream, int left, int right)
{
- snd_ctl_elem_t vol;
+ snd_ctl_elem_value_t vol;
int err;
memset(&vol, 0, sizeof(vol));
#include "envy24control.h"
-static snd_ctl_elem_t routes;
+static snd_ctl_elem_value_t routes;
#define toggle_set(widget, state) \
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(widget), state);