mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-02 09:01:48 -05:00
Completed control and mixer API
This commit is contained in:
parent
c709b0a627
commit
fea0c73cdb
23 changed files with 1988 additions and 1251 deletions
|
|
@ -808,11 +808,18 @@ void string_print(char *str, int id, snd_output_t *out)
|
|||
unsigned char *p = str;
|
||||
if (!id) {
|
||||
switch (*p) {
|
||||
case 0:
|
||||
assert(0);
|
||||
break;
|
||||
case '0' ... '9':
|
||||
case '-':
|
||||
goto quoted;
|
||||
}
|
||||
}
|
||||
if (!*p) {
|
||||
snd_output_puts(out, "''");
|
||||
return;
|
||||
}
|
||||
loop:
|
||||
switch (*p) {
|
||||
case 0:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue