1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
2 .. c:namespace:: DTV.audio
15 .. attention:: This ioctl is deprecated
20 .. c:macro:: AUDIO_SET_MUTE
22 ``int ioctl(int fd, AUDIO_SET_MUTE, boolean state)``
35 - File descriptor returned by a previous call to open().
41 - Indicates if audio device shall mute or not.
50 This ioctl is for Digital TV devices only. To control a V4L2 decoder use the
51 V4L2 :ref:`VIDIOC_DECODER_CMD` with the
52 ``V4L2_DEC_CMD_START_MUTE_AUDIO`` flag instead.
54 This ioctl call asks the audio device to mute the stream that is
55 currently being played.
60 On success 0 is returned, on error -1 and the ``errno`` variable is set
61 appropriately. The generic error codes are described at the
62 :ref:`Generic Error Codes <gen-errors>` chapter.