Big renaming - from sound to asound...

This commit is contained in:
Jaroslav Kysela 1998-08-30 21:08:44 +00:00
parent 254d52fc84
commit 2ae16fb30d
20 changed files with 59 additions and 57 deletions

View file

@ -163,11 +163,11 @@
For a complete list of all variables and functions in the API you
should look at the following header files:
1. /usr/include/sys/soundlib.h
1. /usr/include/sys/asoundlib.h
2. /usr/include/linux/sound.h
2. /usr/include/linux/asound.h
3. /usr/include/linux/sounddetect.h
3. /usr/include/linux/asoundid.h
22.. EErrrroorr CCooddeess
@ -1197,13 +1197,13 @@
}
format.format = SND_PCM_SFMT_MU_LAW;
format.rate = 8000;
format.voices = 1;
format.channels = 1;
if ( (err = snd_pcm_playback_format( handle, &format )) < 0 ) {
fprintf( stderr, "format setup failed: %s\n", snd_strerror( err ) );
snd_pcm_close( handle );
return;
}
fd = open( "/tmp/test.au" );
fd = open( "/tmp/test.au", O_RDONLY );
if ( fd < 0 ) {
perror( "open file" );
snd_pcm_close( handle );