Mauro Carvalho Chehab | 47d23e3 | 2016-07-05 10:37:31 -0300 | [diff] [blame] | 1 | .. -*- coding: utf-8; mode: rst -*- |
| 2 | |
| 3 | .. _AUDIO_SET_BYPASS_MODE: |
| 4 | |
Mauro Carvalho Chehab | 586027c | 2016-07-05 07:58:48 -0300 | [diff] [blame^] | 5 | ===================== |
Mauro Carvalho Chehab | 47d23e3 | 2016-07-05 10:37:31 -0300 | [diff] [blame] | 6 | AUDIO_SET_BYPASS_MODE |
| 7 | ===================== |
| 8 | |
Mauro Carvalho Chehab | 586027c | 2016-07-05 07:58:48 -0300 | [diff] [blame^] | 9 | NAME |
| 10 | ---- |
Mauro Carvalho Chehab | 47d23e3 | 2016-07-05 10:37:31 -0300 | [diff] [blame] | 11 | |
Mauro Carvalho Chehab | 586027c | 2016-07-05 07:58:48 -0300 | [diff] [blame^] | 12 | AUDIO_SET_BYPASS_MODE |
Mauro Carvalho Chehab | 47d23e3 | 2016-07-05 10:37:31 -0300 | [diff] [blame] | 13 | |
Mauro Carvalho Chehab | 586027c | 2016-07-05 07:58:48 -0300 | [diff] [blame^] | 14 | SYNOPSIS |
Mauro Carvalho Chehab | 47d23e3 | 2016-07-05 10:37:31 -0300 | [diff] [blame] | 15 | -------- |
| 16 | |
| 17 | .. c:function:: int ioctl(int fd, int request = AUDIO_SET_BYPASS_MODE, boolean mode) |
| 18 | |
Mauro Carvalho Chehab | 47d23e3 | 2016-07-05 10:37:31 -0300 | [diff] [blame] | 19 | |
Mauro Carvalho Chehab | 586027c | 2016-07-05 07:58:48 -0300 | [diff] [blame^] | 20 | ARGUMENTS |
| 21 | --------- |
Mauro Carvalho Chehab | 47d23e3 | 2016-07-05 10:37:31 -0300 | [diff] [blame] | 22 | |
| 23 | .. flat-table:: |
| 24 | :header-rows: 0 |
| 25 | :stub-columns: 0 |
| 26 | |
| 27 | |
| 28 | - .. row 1 |
| 29 | |
| 30 | - int fd |
| 31 | |
| 32 | - File descriptor returned by a previous call to open(). |
| 33 | |
| 34 | - .. row 2 |
| 35 | |
| 36 | - int request |
| 37 | |
| 38 | - Equals AUDIO_SET_BYPASS_MODE for this command. |
| 39 | |
| 40 | - .. row 3 |
| 41 | |
| 42 | - boolean mode |
| 43 | |
| 44 | - Enables or disables the decoding of the current Audio stream in |
| 45 | the DVB subsystem. |
| 46 | |
| 47 | - .. row 4 |
| 48 | |
| 49 | - |
| 50 | - TRUE Bypass is disabled |
| 51 | |
| 52 | - .. row 5 |
| 53 | |
| 54 | - |
| 55 | - FALSE Bypass is enabled |
| 56 | |
| 57 | |
Mauro Carvalho Chehab | 586027c | 2016-07-05 07:58:48 -0300 | [diff] [blame^] | 58 | DESCRIPTION |
| 59 | ----------- |
| 60 | |
| 61 | This ioctl call asks the Audio Device to bypass the Audio decoder and |
| 62 | forward the stream without decoding. This mode shall be used if streams |
| 63 | that can’t be handled by the DVB system shall be decoded. Dolby |
| 64 | DigitalTM streams are automatically forwarded by the DVB subsystem if |
| 65 | the hardware can handle it. |
| 66 | |
| 67 | |
| 68 | RETURN VALUE |
Mauro Carvalho Chehab | 47d23e3 | 2016-07-05 10:37:31 -0300 | [diff] [blame] | 69 | ------------ |
| 70 | |
| 71 | On success 0 is returned, on error -1 and the ``errno`` variable is set |
| 72 | appropriately. The generic error codes are described at the |
| 73 | :ref:`Generic Error Codes <gen-errors>` chapter. |