File: rmedigicontrol.h

package info (click to toggle)
alsa-tools 1.0.28-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 12,464 kB
  • ctags: 5,787
  • sloc: ansic: 23,609; cpp: 15,057; sh: 12,305; pascal: 1,140; asm: 1,053; xml: 814; makefile: 733; python: 250
file content (25 lines) | stat: -rw-r--r-- 446 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#include <glib.h>
#include <gtk/gtk.h>
#include <alsa/asoundlib.h>

typedef enum card_type
{
	NO_CARD,
	DIGI32,
	DIGI96,
	DIGI96_8,
	DIGI96_8_OTHER
}card_type_t;

typedef struct ctl_elem_info_val
{
	snd_ctl_elem_info_t *info;
	snd_ctl_elem_value_t *val;
}ctl_elem_info_val_t;

extern snd_ctl_t *ctl;

GtkWidget *create_enum_elem_radio(char *elem_name,ctl_elem_info_val_t *iv);

GtkWidget *create_loopback_toggle();
GtkWidget *create_level_box();