diff options
Diffstat (limited to 'apps/drivers')
-rw-r--r-- | apps/drivers/drv_mixer.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/drivers/drv_mixer.h b/apps/drivers/drv_mixer.h index 10cda792a..f3a39e60c 100644 --- a/apps/drivers/drv_mixer.h +++ b/apps/drivers/drv_mixer.h @@ -80,11 +80,15 @@ struct MixInfo * is allocated following the MixInfo structure. If the allocation * is too small, no mixer data is retured. The control_count field in * the MixInfo.mixer structure is always updated. + * + * If no mixer is assigned for the given index, the ioctl returns ENOENT. */ #define MIXERIOCGETMIXER(_mixer) _MIXERIOC(0x20 + _mixer) /** * Copy a mixer from *(struct MixMixer *)arg to the device. + * + * If arg is zero, the mixer is deleted. */ #define MIXERIOCSETMIXER(_mixer) _MIXERIOC(0x40 + _mixer) |