Return to dev.c CVS log | Up to [local] / src / usr.bin / aucat |
version 1.15, 2008/11/11 12:56:02 | version 1.16, 2008/11/11 19:21:20 | ||
---|---|---|---|
|
|
||
void | void | ||
dev_setvol(struct abuf *ibuf, int vol) | dev_setvol(struct abuf *ibuf, int vol) | ||
{ | { | ||
if (!dev_getep(&ibuf, NULL)) | if (!dev_getep(&ibuf, NULL)) { | ||
DPRINTF("dev_setvol: not connected yet\n"); | |||
return; | return; | ||
fprintf(stderr, "vol = %d\n", vol); | } | ||
ibuf->mixvol = vol; | ibuf->mixvol = vol; | ||
DPRINTF("dev_setvol: %d\n", vol); | |||
} | } | ||
/* | /* |