Completed parametric configuration and begun to use it

This commit is contained in:
Abramo Bagnara 2001-05-22 09:19:44 +00:00
parent 3c7ef9765b
commit 009a7fee0a
3 changed files with 3 additions and 3 deletions

View file

@ -182,7 +182,7 @@ static int mixer_ofs_x = 0;
static float mixer_extra_space = 0;
static int mixer_cbar_height = 0;
static char card_id[64] = "hw:0";
static char card_id[64] = "default";
static snd_mixer_t *mixer_handle;
static char mixer_card_name[128];
static char mixer_device_name[128];

View file

@ -39,7 +39,7 @@
int quiet = 0;
int debugflag = 0;
char *card = "hw:0";
char *card = "default";
static void error(const char *fmt,...)
{

View file

@ -295,7 +295,7 @@ int main(int argc, char *argv[])
{"separate-channels", 0, 0, 'I'},
{0, 0, 0, 0}
};
char *pcm_name = "plug:0,0";
char *pcm_name = "default";
int tmp, err, c;
snd_pcm_info_t *info;