Lines Matching +full:audio +full:- +full:video

1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
13 VIDIOC_G_MODULATOR - VIDIOC_S_MODULATOR - Get or set modulator attributes
47 Modulators have two writable properties, an audio modulation set and the
48 radio frequency. To change the modulated audio subprograms, applications
51 different audio modulation if the request cannot be satisfied. However
52 this is a write-only ioctl, it does not return the actual audio
67 .. flat-table:: struct v4l2_modulator
68 :header-rows: 0
69 :stub-columns: 0
72 * - __u32
73 - ``index``
74 - Identifies the modulator, set by the application.
75 * - __u8
76 - ``name``\ [32]
77 - Name of the modulator, a NUL-terminated ASCII string.
80 * - __u32
81 - ``capability``
82 - Modulator capability flags. No flags are defined for this field,
84 used accordingly. The audio flags indicate the ability to encode
85 audio subprograms. They will *not* change for example with the
86 current video standard.
87 * - __u32
88 - ``rangelow``
89 - The lowest tunable frequency in units of 62.5 KHz, or if the
93 * - __u32
94 - ``rangehigh``
95 - The highest tunable frequency in units of 62.5 KHz, or if the
99 * - __u32
100 - ``txsubchans``
101 - With this field applications can determine how audio sub-carriers
103 :ref:`modulator-txsubchans`.
108 semantics are different. Video output devices
109 are assumed to have an analog or PCM audio input with 1-3
111 for modulation, together with some audio subprogram indicator,
113 * - __u32
114 - ``type``
115 - :cspan:`2` Type of the modulator, see :c:type:`v4l2_tuner_type`.
116 * - __u32
117 - ``reserved``\ [3]
118 - Reserved for future extensions.
125 .. _modulator-txsubchans:
127 .. flat-table:: Modulator Audio Transmission Flags
128 :header-rows: 0
129 :stub-columns: 0
132 * - ``V4L2_TUNER_SUB_MONO``
133 - 0x0001
134 - Modulate channel 1 as mono audio, when the input has more
135 channels, a down-mix of channel 1 and 2. This flag does not
138 * - ``V4L2_TUNER_SUB_STEREO``
139 - 0x0002
140 - Modulate channel 1 and 2 as left and right channel of a stereo
141 audio signal. When the input has only one channel or two channels
145 driver does not support stereo audio it shall fall back to mono.
146 * - ``V4L2_TUNER_SUB_LANG1``
147 - 0x0008
148 - Modulate channel 1 and 2 as primary and secondary language of a
149 bilingual audio signal. When the input has only one channel it is
154 respective audio matrix, or the current video standard does not
155 permit bilingual audio the :ref:`VIDIOC_S_MODULATOR <VIDIOC_G_MODULATOR>` ioctl shall
158 * - ``V4L2_TUNER_SUB_LANG2``
159 - 0x0004
160 - Same effect as ``V4L2_TUNER_SUB_SAP``.
161 * - ``V4L2_TUNER_SUB_SAP``
162 - 0x0004
163 - When combined with ``V4L2_TUNER_SUB_MONO`` the first channel is
164 encoded as mono audio, the last channel as Second Audio Program.
165 When the input has only one channel it is used for both audio
167 down-mix of channel 1 and 2. When combined with
169 right stereo audio, channel 3 as Second Audio Program. When the
172 channel it is used for all audio tracks. It is not possible to
173 encode a Second Audio Program only. This flag must combine with
175 hardware does not support the respective audio matrix, or the
176 current video standard does not permit SAP the
179 * - ``V4L2_TUNER_SUB_RDS``
180 - 0x0010
181 - Enable the RDS encoder for a radio FM transmitter.
186 On success 0 is returned, on error -1 and the ``errno`` variable is set
188 :ref:`Generic Error Codes <gen-errors>` chapter.