Removed card type from devices info. Added card number to devices info. Completed encapsulation of PCM API. Removed snd_pcm_card(). All copy functions now have the form copy(dst, src).

This commit is contained in:
Abramo Bagnara 2001-01-31 17:26:56 +00:00
parent 8e9a23acb5
commit de19407578
58 changed files with 560 additions and 382 deletions

View file

@ -28,7 +28,6 @@
#include <fcntl.h>
#include <assert.h>
#include <dlfcn.h>
#include "asoundlib.h"
#include "control_local.h"
snd_ctl_type_t snd_ctl_type(snd_ctl_t *ctl)
@ -45,12 +44,6 @@ int snd_ctl_close(snd_ctl_t *ctl)
return res;
}
int snd_ctl_card(snd_ctl_t *ctl)
{
assert(ctl);
return ctl->ops->card(ctl);
}
int snd_ctl_poll_descriptor(snd_ctl_t *ctl)
{
assert(ctl);