alsa-utils patches
Hello!
Here's a new batch of Debian patches, all from David B. Harris.
- add a "Press Escape to quit" string to alsamixer's title, some uses couldn't figure out how to exit the program (Debian Bug#178393).
- hide the cursor, which was missplaced and wasn't goodlooking anyway (Debian Bug#81169).
- remove trailing spaces from amixer's output (Debian Bug#177518).
- don't ignore second -l/-L flags in aplay (Debian Bug#177521).
As always, details for each bug is in http://bugs.debian.org/xxxxxx,
where xxxxxx is the bug number.
alsamixer/alsamixer.c +2 -1
@@ -1029,7 +1029,7 @@/* program title */ -sprintf (string,"%s %s" ,PRGNAME_UPPER ,VERSION ); +sprintf (string,"%s %s (Press Escape to quit)" ,PRGNAME_UPPER ,VERSION ); max_len =strlen (string);if (mixer_max_x >= max_len +4 ) {
@@ -1566,6 +1566,7 @@/* initialize ncurses */ mixer_window =initscr (); +curs_set (0 );/* hide the cursor */ mixer_no_lrcorner =tigetflag ("xenl" ) !=1 &&tigetflag ("am" ) !=1 ;
amixer/amixer.c +36 -36
199 lines not on this page · raw message
aplay/aplay.c +14 -4
@@ -313,6 +313,7 @@ };char *pcm_name ="default" ;int tmp, err, c; +int do_device_list =0 , do_pcm_list =0 ;snd_pcm_info_t *info; err =snd_output_stdio_attach (&log, stderr,0 );
@@ -347,11 +348,11 @@version ();return 0 ;case 'l' : -device_list (); -return 0 ; + do_device_list =1 ; +break ;case 'L' : -pcm_list (); -return 0 ; + do_pcm_list =1 ; +break ;case 'D' : pcm_name = optarg;break ;
@@ -457,6 +458,15 @@ } } +if (do_device_list) { +if (do_pcm_list)pcm_list (); +device_list (); +return 0 ; + }else if (do_pcm_list) { +pcm_list (); +return 0 ; + } + err =snd_pcm_open (&handle, pcm_name, stream, open_mode);if (err <0 ) {error ("audio open error: %s" ,snd_strerror (err));
Signature · 3 lines
Jordi Mallach Pérez -- Debian developer http://www.debian.org/ [email protected] [email protected] http://www.sindominio.net/ GnuPG public key information available at http://oskuro.net/~jordi/
Jaroslav Kysela
AppliedQuoted 11 lines · Jordi Mallach
Hello!
Here's a new batch of Debian patches, all from David B. Harris.
- add a "Press Escape to quit" string to alsamixer's title, some uses couldn't figure out how to exit the program (Debian Bug#178393).
- hide the cursor, which was missplaced and wasn't goodlooking anyway (Debian Bug#81169).
- remove trailing spaces from amixer's output (Debian Bug#177518).
- don't ignore second -l/-L flags in aplay (Debian Bug#177521).
Quoted 2 lines
As always, details for each bug is in http://bugs.debian.org/xxxxxx,
where xxxxxx is the bug number.
Applied. Thanks.
Jaroslav
-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf