New docs..

This commit is contained in:
Jaroslav Kysela 1998-08-31 14:21:06 +00:00
parent 2ae16fb30d
commit 82fc81e31e
3 changed files with 11 additions and 11 deletions

View file

@ -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;