alsa has no volume knob

This commit is contained in:
Alexandre Ratchov 2012-05-29 18:59:39 +02:00
parent 16a36fa53e
commit 6c0895ba37
1 changed files with 2 additions and 16 deletions

View File

@ -84,8 +84,8 @@ static struct sio_ops sio_alsa_ops = {
sio_alsa_nfds,
sio_alsa_pollfd,
sio_alsa_revents,
sio_alsa_setvol,
sio_alsa_getvol
NULL,
NULL
};
/*
@ -273,20 +273,6 @@ sio_alsa_getcap(struct sio_hdl *sh, struct sio_cap *cap)
return 0;
}
static void
sio_alsa_getvol(struct sio_hdl *sh)
{
struct sio_alsa_hdl *hdl = (struct sio_alsa_hdl *)sh;
sio_onvol_cb(&hdl->sio, SIO_MAXVOL);
}
int
sio_alsa_setvol(struct sio_hdl *sh, unsigned vol)
{
return 1;
}
struct sio_hdl *
sio_alsa_open(const char *str, unsigned mode, int nbio)
{