1 .. -*- coding: utf-8; mode: rst -*-
3 .. _AUDIO_SET_BYPASS_MODE:
11 This ioctl call asks the Audio Device to bypass the Audio decoder and
12 forward the stream without decoding. This mode shall be used if streams
13 that can’t be handled by the DVB system shall be decoded. Dolby
14 DigitalTM streams are automatically forwarded by the DVB subsystem if
15 the hardware can handle it.
20 .. c:function:: int ioctl(int fd, int request = AUDIO_SET_BYPASS_MODE, boolean mode)
36 - File descriptor returned by a previous call to open().
42 - Equals AUDIO_SET_BYPASS_MODE for this command.
48 - Enables or disables the decoding of the current Audio stream in
54 - TRUE Bypass is disabled
59 - FALSE Bypass is enabled
65 On success 0 is returned, on error -1 and the ``errno`` variable is set
66 appropriately. The generic error codes are described at the
67 :ref:`Generic Error Codes <gen-errors>` chapter.