Merged pcmfinal branch.

This commit is contained in:
Jaroslav Kysela 2000-11-20 20:10:46 +00:00
parent 3cc2b957fb
commit 41bb7068f2
57 changed files with 5189 additions and 3088 deletions

View file

@ -31,7 +31,7 @@
#define SND_FILE_TIMER "/dev/snd/timer"
#define SND_TIMER_VERSION_MAX SND_PROTOCOL_VERSION(2, 0, 0)
struct snd_timer {
struct _snd_timer {
int fd;
};
@ -136,18 +136,6 @@ int snd_timer_params(snd_timer_t *handle, snd_timer_params_t * params)
return 0;
}
int snd_timer_setup(snd_timer_t *handle, snd_timer_setup_t * setup)
{
snd_timer_t *tmr;
tmr = handle;
if (!tmr || !setup)
return -EINVAL;
if (ioctl(tmr->fd, SND_TIMER_IOCTL_SETUP, setup) < 0)
return -errno;
return 0;
}
int snd_timer_status(snd_timer_t *handle, snd_timer_status_t * status)
{
snd_timer_t *tmr;