mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-02 09:01:48 -05:00
Big renaming - from sound to asound...
This commit is contained in:
parent
254d52fc84
commit
2ae16fb30d
20 changed files with 59 additions and 57 deletions
|
|
@ -134,11 +134,11 @@ int card = 0, err;
|
|||
void *handle;
|
||||
stuct snd_ctl_hw_info info;
|
||||
|
||||
if ( (err = snd_ctl_open( &handle, card )) < 0 ) {
|
||||
if ( (err = snd_ctl_open( &handle, card )) < 0 ) {
|
||||
fprintf( stderr, "open failed: %s\n", snd_strerror( err ) );
|
||||
return;
|
||||
}
|
||||
if ( (err = snd_ctl_hw_info( handle, &info )) < 0 ) {
|
||||
if ( (err = snd_ctl_hw_info( handle, &info )) < 0 ) {
|
||||
fprintf( stderr, "hw info failed: %s\n", snd_strerror( err ) );
|
||||
snd_ctl_close( handle );
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue