aboutsummaryrefslogtreecommitdiff
path: root/apps/drivers/drv_mixer.h
diff options
context:
space:
mode:
authorpx4dev <px4@purgatory.org>2012-08-05 02:09:11 -0700
committerpx4dev <px4@purgatory.org>2012-08-05 14:13:33 -0700
commit9804776a0c8bd67d4a533e3302f1a598c35b868b (patch)
treef91736f146ac44b3db2e94d3b8162bc168926963 /apps/drivers/drv_mixer.h
parent145a6c4c49b1aac9a8b8065ac5e48ba50754ba7f (diff)
downloadpx4-firmware-9804776a0c8bd67d4a533e3302f1a598c35b868b.tar.gz
px4-firmware-9804776a0c8bd67d4a533e3302f1a598c35b868b.tar.bz2
px4-firmware-9804776a0c8bd67d4a533e3302f1a598c35b868b.zip
Checkpoint: more work in progress on mixer load/save
Diffstat (limited to 'apps/drivers/drv_mixer.h')
-rw-r--r--apps/drivers/drv_mixer.h4
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)