nsphinx.addnodesdocument)}( rawsourcechildren]( translations LanguagesNode)}(hhh](h pending_xref)}(hhh]docutils.nodesTextChinese (Simplified)}parenthsba attributes}(ids]classes]names]dupnames]backrefs] refdomainstdreftypedoc reftarget:/translations/zh_CN/userspace-api/media/v4l/vidioc-g-audiomodnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget:/translations/zh_TW/userspace-api/media/v4l/vidioc-g-audiomodnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget:/translations/it_IT/userspace-api/media/v4l/vidioc-g-audiomodnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget:/translations/ja_JP/userspace-api/media/v4l/vidioc-g-audiomodnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget:/translations/ko_KR/userspace-api/media/v4l/vidioc-g-audiomodnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget:/translations/sp_SP/userspace-api/media/v4l/vidioc-g-audiomodnameN classnameN refexplicituh1hhh ubeh}(h]h ]h"]h$]h&]current_languageEnglishuh1h hh _documenthsourceNlineNubhcomment)}(h8SPDX-License-Identifier: GFDL-1.1-no-invariants-or-laterh]h8SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later}hhsbah}(h]h ]h"]h$]h&] xml:spacepreserveuh1hhhhhhT/var/lib/git/docbuild/linux/Documentation/userspace-api/media/v4l/vidioc-g-audio.rsthKubhtarget)}(h.. _VIDIOC_G_AUDIO:h]h}(h]h ]h"]h$]h&]refidvidioc-g-audiouh1hhKhhhhhhubhsection)}(hhh](htitle)}(h$ioctl VIDIOC_G_AUDIO, VIDIOC_S_AUDIOh]h$ioctl VIDIOC_G_AUDIO, VIDIOC_S_AUDIO}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hNameh]hName}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhK ubh paragraph)}(h\VIDIOC_G_AUDIO - VIDIOC_S_AUDIO - Query or select the current audio input and its attributesh]h\VIDIOC_G_AUDIO - VIDIOC_S_AUDIO - Query or select the current audio input and its attributes}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK hhhhubeh}(h]nameah ]h"]nameah$]h&]uh1hhhhhhhhK ubh)}(hhh](h)}(hSynopsish]hSynopsis}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubhindex)}(hhh]h}(h]h ]h"]h$]h&]entries](singleV4L.VIDIOC_G_AUDIO (C macro)c.V4L.VIDIOC_G_AUDIOhNtauh1jhjhhhNhNubhdesc)}(hhh](hdesc_signature)}(hVIDIOC_G_AUDIOh]hdesc_signature_line)}(hVIDIOC_G_AUDIOh]h desc_name)}(hVIDIOC_G_AUDIOh]h desc_sig_name)}(hj+h]hVIDIOC_G_AUDIO}(hj;hhhNhNubah}(h]h ]nah"]h$]h&]uh1j9hj5ubah}(h]h ](sig-namedescnameeh"]h$]h&]hhuh1j3hj/hhhhhKubah}(h]h ]h"]h$]h&]hh add_permalinkuh1j-sphinx_line_type declaratorhj)hhhhhKubah}(h]j ah ](sig sig-objecteh"]h$]h&] is_multiline _toc_parts) _toc_namehuh1j'hhhKhj$hhubh desc_content)}(hhh]h}(h]h ]h"]h$]h&]uh1jehj$hhhhhKubeh}(h]h ](cmacroeh"]h$]h&]domainjsobjtypejtdesctypejtnoindex noindexentrynocontentsentryuh1j"hhhjhNhNubh)}(h>``int ioctl(int fd, VIDIOC_G_AUDIO, struct v4l2_audio *argp)``h]hliteral)}(hjh]h:int ioctl(int fd, VIDIOC_G_AUDIO, struct v4l2_audio *argp)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1hhhhKhjhhubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jV4L.VIDIOC_S_AUDIO (C macro)c.V4L.VIDIOC_S_AUDIOhNtauh1jhjhhhNhNubj#)}(hhh](j()}(hVIDIOC_S_AUDIOh]j.)}(hVIDIOC_S_AUDIOh]j4)}(hVIDIOC_S_AUDIOh]j:)}(hjh]hVIDIOC_S_AUDIO}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j9hjubah}(h]h ](jLjMeh"]h$]h&]hhuh1j3hjhhhhhKubah}(h]h ]h"]h$]h&]hhjWuh1j-jXjYhjhhhhhKubah}(h]jah ](j]j^eh"]h$]h&]jbjc)jdhuh1j'hhhKhjhhubjf)}(hhh]h}(h]h ]h"]h$]h&]uh1jehjhhhhhKubeh}(h]h ](jsmacroeh"]h$]h&]jxjsjyjjzjj{j|j}uh1j"hhhjhNhNubh)}(hD``int ioctl(int fd, VIDIOC_S_AUDIO, const struct v4l2_audio *argp)``h]j)}(hjh]h@int ioctl(int fd, VIDIOC_S_AUDIO, const struct v4l2_audio *argp)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKhjhhubeh}(h]synopsisah ]h"]synopsisah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(h Argumentsh]h Arguments}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubhdefinition_list)}(hhh](hdefinition_list_item)}(h5``fd`` File descriptor returned by :c:func:`open()`. h](hterm)}(h``fd``h]j)}(hj"h]hfd}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhhhKhjubh definition)}(hhh]h)}(h-File descriptor returned by :c:func:`open()`.h](hFile descriptor returned by }(hj<hhhNhNubh)}(h:c:func:`open()`h]j)}(hjFh]hopen()}(hjHhhhNhNubah}(h]h ](xrefjsc-funceh"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]refdoc&userspace-api/media/v4l/vidioc-g-audio refdomainjsreftypefunc refexplicitrefwarn c:parent_keysphinx.domains.c LookupKey)}data]je ASTIdentifier)} identifierV4LsbNasb reftargetopenuh1hhhhKhj<ubh.}(hj<hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhj9ubah}(h]h ]h"]h$]h&]uh1j7hjubeh}(h]h ]h"]h$]h&]uh1jhhhKhjubj)}(h1``argp`` Pointer to struct :c:type:`v4l2_audio`. h](j)}(h``argp``h]j)}(hjh]hargp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhhhK!hjubj8)}(hhh]h)}(h'Pointer to struct :c:type:`v4l2_audio`.h](hPointer to struct }(hjhhhNhNubh)}(h:c:type:`v4l2_audio`h]j)}(hjh]h v4l2_audio}(hjhhhNhNubah}(h]h ](jRjsc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj^ refdomainjsreftypetype refexplicitrefwarnjdjhjs v4l2_audiouh1hhhhK!hjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK!hjubah}(h]h ]h"]h$]h&]uh1j7hjubeh}(h]h ]h"]h$]h&]uh1jhhhK!hjhhubeh}(h]h ]h"]h$]h&]uh1jhjhhhhhNubeh}(h] argumentsah ]h"] argumentsah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(h Descriptionh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhK$ubh)}(hXmTo query the current audio input applications zero out the ``reserved`` array of a struct :c:type:`v4l2_audio` and call the :ref:`VIDIOC_G_AUDIO ` ioctl with a pointer to this structure. Drivers fill the rest of the structure or return an ``EINVAL`` error code when the device has no audio inputs, or none which combine with the current video input.h](h;To query the current audio input applications zero out the }(hjhhhNhNubj)}(h ``reserved``h]hreserved}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh array of a struct }(hjhhhNhNubh)}(h:c:type:`v4l2_audio`h]j)}(hj!h]h v4l2_audio}(hj#hhhNhNubah}(h]h ](jRjsc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj^ refdomainjsreftypetype refexplicitrefwarnjdjhjs v4l2_audiouh1hhhhK&hjubh and call the }(hjhhhNhNubh)}(h&:ref:`VIDIOC_G_AUDIO `h]hinline)}(hjDh]hVIDIOC_G_AUDIO}(hjHhhhNhNubah}(h]h ](jRstdstd-refeh"]h$]h&]uh1jFhjBubah}(h]h ]h"]h$]h&]refdocj^ refdomainjRreftyperef refexplicitrefwarnjsvidioc_g_audiouh1hhhhK&hjubh] ioctl with a pointer to this structure. Drivers fill the rest of the structure or return an }(hjhhhNhNubj)}(h ``EINVAL``h]hEINVAL}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhd error code when the device has no audio inputs, or none which combine with the current video input.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK&hjhhubh)}(hXAudio inputs have one writable property, the audio mode. To select the current audio input *and* change the audio mode, applications initialize the ``index`` and ``mode`` fields, and the ``reserved`` array of a struct :c:type:`v4l2_audio` structure and call the :ref:`VIDIOC_S_AUDIO ` ioctl. Drivers may switch to a different audio mode if the request cannot be satisfied. However, this is a write-only ioctl, it does not return the actual new audio mode.h](h[Audio inputs have one writable property, the audio mode. To select the current audio input }(hjhhhNhNubhemphasis)}(h*and*h]hand}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh4 change the audio mode, applications initialize the }(hjhhhNhNubj)}(h ``index``h]hindex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h``mode``h]hmode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh fields, and the }(hjhhhNhNubj)}(h ``reserved``h]hreserved}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh array of a struct }(hjhhhNhNubh)}(h:c:type:`v4l2_audio`h]j)}(hjh]h v4l2_audio}(hjhhhNhNubah}(h]h ](jRjsc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj^ refdomainjsreftypetype refexplicitrefwarnjdjhjs v4l2_audiouh1hhhhK,hjubh structure and call the }(hjhhhNhNubh)}(h&:ref:`VIDIOC_S_AUDIO `h]jG)}(hjh]hVIDIOC_S_AUDIO}(hjhhhNhNubah}(h]h ](jRstdstd-refeh"]h$]h&]uh1jFhjubah}(h]h ]h"]h$]h&]refdocj^ refdomainjreftyperef refexplicitrefwarnjsvidioc_g_audiouh1hhhhK,hjubh ioctl. Drivers may switch to a different audio mode if the request cannot be satisfied. However, this is a write-only ioctl, it does not return the actual new audio mode.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK,hjhhubhtabular_col_spec)}(hhh]h}(h]h ]h"]h$]h&]spec|p{4.4cm}|p{4.4cm}|p{8.5cm}|uh1jhhhK4hjhhubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jV4L.v4l2_audio (C type)c.V4L.v4l2_audiohNtauh1jhjhhhNhNubj#)}(hhh](j()}(h v4l2_audioh]j.)}(htype v4l2_audioh](hdesc_sig_keyword)}(htypeh]htype}(hjGhhhNhNubah}(h]h ]kah"]h$]h&]uh1jEhjAhhhhhK6ubhdesc_sig_space)}(h h]h }(hjXhhhNhNubah}(h]h ]wah"]h$]h&]uh1jVhjAhhhhhK6ubj4)}(h v4l2_audioh]j:)}(hj?h]h v4l2_audio}(hjkhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j9hjgubah}(h]h ](jLjMeh"]h$]h&]hhuh1j3hjAhhhhhK6ubeh}(h]h ]h"]h$]h&]hhjWuh1j-jXjYhj=hhhhhK6ubah}(h]j8ah ](j]j^eh"]h$]h&]jbjc)jdhuh1j'hhhK6hj:hhubjf)}(hhh]h}(h]h ]h"]h$]h&]uh1jehj:hhhhhK6ubeh}(h]h ](jstypeeh"]h$]h&]jxjsjyjjzjj{j|j}uh1j"hhhjhNhNubhtable)}(hhh](h)}(hstruct v4l2_audioh]hstruct v4l2_audio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK8hjubhtgroup)}(hhh](hcolspec)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjubhtbody)}(hhh](hrow)}(hhh](hentry)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK=hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h ``index``h]j)}(hjh]hindex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhK>hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h=Identifies the audio input, set by the driver or application.h]h=Identifies the audio input, set by the driver or application.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK?hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h__u8h]h__u8}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK@hj5ubah}(h]h ]h"]h$]h&]uh1jhj2ubj)}(hhh]h)}(h``name``\ [32]h](j)}(h``name``h]hname}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubh [32]}(hjOhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKAhjLubah}(h]h ]h"]h$]h&]uh1jhj2ubj)}(hhh]h)}(hName of the audio input, a NUL-terminated ASCII string, for example: "Line In". This information is intended for the user, preferably the connector label on the device itself.h]hName of the audio input, a NUL-terminated ASCII string, for example: “Line In”. This information is intended for the user, preferably the connector label on the device itself.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKBhjqubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKEhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h``capability``h]j)}(hjh]h capability}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKFhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h4Audio capability flags, see :ref:`audio-capability`.h](hAudio capability flags, see }(hjhhhNhNubh)}(h:ref:`audio-capability`h]jG)}(hjh]haudio-capability}(hjhhhNhNubah}(h]h ](jRstdstd-refeh"]h$]h&]uh1jFhjubah}(h]h ]h"]h$]h&]refdocj^ refdomainjreftyperef refexplicitrefwarnjsaudio-capabilityuh1hhhhKGhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKGhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKHhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(h``mode``h]j)}(hj(h]hmode}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1hhhhKIhj#ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(hzAudio mode flags set by drivers and applications (on :ref:`VIDIOC_S_AUDIO ` ioctl), see :ref:`audio-mode`.h](h5Audio mode flags set by drivers and applications (on }(hjFhhhNhNubh)}(h&:ref:`VIDIOC_S_AUDIO `h]jG)}(hjPh]hVIDIOC_S_AUDIO}(hjRhhhNhNubah}(h]h ](jRstdstd-refeh"]h$]h&]uh1jFhjNubah}(h]h ]h"]h$]h&]refdocj^ refdomainj\reftyperef refexplicitrefwarnjsvidioc_g_audiouh1hhhhKJhjFubh ioctl), see }(hjFhhhNhNubh)}(h:ref:`audio-mode`h]jG)}(hjth]h audio-mode}(hjvhhhNhNubah}(h]h ](jRstdstd-refeh"]h$]h&]uh1jFhjrubah}(h]h ]h"]h$]h&]refdocj^ refdomainjreftyperef refexplicitrefwarnjs audio-modeuh1hhhhKJhjFubh.}(hjFhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKJhjCubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKLhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h``reserved``\ [2]h](j)}(h ``reserved``h]hreserved}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh [2]}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKMhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hTReserved for future extensions. Drivers and applications must set the array to zero.h]hTReserved for future extensions. Drivers and applications must set the array to zero.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKNhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]colsKuh1jhjubeh}(h]id1ah ]h"]h$]h&]uh1jhjhhhNhNubj )}(hhh]h}(h]h ]h"]h$]h&]j*|p{6.6cm}|p{2.2cm}|p{8.5cm}|uh1jhhhKRhjhhubh)}(h.. _audio-capability:h]h}(h]h ]h"]h$]h&]haudio-capabilityuh1hhKThjhhhhubj)}(hhh](h)}(hAudio Capability Flagsh]hAudio Capability Flags}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKVhj-ubj)}(hhh](j)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhj>ubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhj>ubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhj>ubj)}(hhh](j)}(hhh](j)}(hhh]h)}(h``V4L2_AUDCAP_STEREO``h]j)}(hjjh]hV4L2_AUDCAP_STEREO}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1hhhhK[hjeubah}(h]h ]h"]h$]h&]uh1jhjbubj)}(hhh]h)}(h0x00001h]h0x00001}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK\hjubah}(h]h ]h"]h$]h&]uh1jhjbubj)}(hhh]h)}(hThis is a stereo input. The flag is intended to automatically disable stereo recording etc. when the signal is always monaural. The API provides no means to detect if stereo is *received*, unless the audio input belongs to a tuner.h](hThis is a stereo input. The flag is intended to automatically disable stereo recording etc. when the signal is always monaural. The API provides no means to detect if stereo is }(hjhhhNhNubj)}(h *received*h]hreceived}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh,, unless the audio input belongs to a tuner.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK]hjubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj_ubj)}(hhh](j)}(hhh]h)}(h``V4L2_AUDCAP_AVL``h]j)}(hjh]hV4L2_AUDCAP_AVL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKahjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h0x00002h]h0x00002}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKbhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h)Automatic Volume Level mode is supported.h]h)Automatic Volume Level mode is supported.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKchjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]colsKuh1jhj-ubeh}(h](id2j,eh ]h"]audio-capabilityah$]h&]uh1jhjhhhNhNexpect_referenced_by_name}j4j"sexpect_referenced_by_id}j,j"subj )}(hhh]h}(h]h ]h"]h$]h&]j*|p{6.6cm}|p{2.2cm}|p{8.5cm}|uh1jhhhKfhjhhubh)}(h.. _audio-mode:h]h}(h]h ]h"]h$]h&]h audio-modeuh1hhKhhjhhhhubj)}(hhh](h)}(hAudio Mode Flagsh]hAudio Mode Flags}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKjhjPubj)}(hhh](j)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjaubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjaubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjaubj)}(hhh]j)}(hhh](j)}(hhh]h)}(h``V4L2_AUDMODE_AVL``h]j)}(hjh]hV4L2_AUDMODE_AVL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKohjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h0x00001h]h0x00001}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKphjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hAVL mode is on.h]hAVL mode is on.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKqhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]colsKuh1jhjPubeh}(h](id3jOeh ]h"] audio-modeah$]h&]uh1jhjhhhNhNj7}jjEsj9}jOjEsubeh}(h] descriptionah ]h"] descriptionah$]h&]uh1hhhhhhhhK$ubh)}(hhh](h)}(h Return Valueh]h Return Value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKtubh)}(hOn success 0 is returned, on error -1 and the ``errno`` variable is set appropriately. The generic error codes are described at the :ref:`Generic Error Codes ` chapter.h](h.On success 0 is returned, on error -1 and the }(hj hhhNhNubj)}(h ``errno``h]herrno}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubhM variable is set appropriately. The generic error codes are described at the }(hj hhhNhNubh)}(h':ref:`Generic Error Codes `h]jG)}(hj( h]hGeneric Error Codes}(hj* hhhNhNubah}(h]h ](jRstdstd-refeh"]h$]h&]uh1jFhj& ubah}(h]h ]h"]h$]h&]refdocj^ refdomainj4 reftyperef refexplicitrefwarnjs gen-errorsuh1hhhhKvhj ubh chapter.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKvhjhhubj)}(hhh]j)}(hEINVAL No audio inputs combine with the current video input, or the number of the selected audio input is out of bounds or it does not combine.h](j)}(hEINVALh]hEINVAL}(hjW hhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhK{hjS ubj8)}(hhh]h)}(hNo audio inputs combine with the current video input, or the number of the selected audio input is out of bounds or it does not combine.h]hNo audio inputs combine with the current video input, or the number of the selected audio input is out of bounds or it does not combine.}(hjh hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK{hje ubah}(h]h ]h"]h$]h&]uh1j7hjS ubeh}(h]h ]h"]h$]h&]uh1jhhhK{hjP ubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubeh}(h] return-valueah ]h"] return valueah$]h&]uh1hhhhhhhhKtubeh}(h](#ioctl-vidioc-g-audio-vidioc-s-audioheh ]h"]($ioctl vidioc_g_audio, vidioc_s_audiovidioc_g_audioeh$]h&]uh1hhhhhhhhKj7}j hsj9}hhsubeh}(h]h ]h"]h$]h&]sourcehuh1hcurrent_sourceN current_lineNsettingsdocutils.frontendValues)}(hN generatorN datestampN source_linkN source_urlN toc_backlinksjfootnote_backlinksK sectnum_xformKstrip_commentsNstrip_elements_with_classesN strip_classesN report_levelK halt_levelKexit_status_levelKdebugNwarning_streamN tracebackinput_encoding utf-8-siginput_encoding_error_handlerstrictoutput_encodingutf-8output_encoding_error_handlerj error_encodingutf-8error_encoding_error_handlerbackslashreplace language_codeenrecord_dependenciesNconfigN id_prefixhauto_id_prefixid dump_settingsNdump_internalsNdump_transformsNdump_pseudo_xmlNexpose_internalsNstrict_visitorN_disable_configN_sourceh _destinationN _config_files]7/var/lib/git/docbuild/linux/Documentation/docutils.confafile_insertion_enabled raw_enabledKline_length_limitM'pep_referencesN pep_base_urlhttps://peps.python.org/pep_file_url_templatepep-%04drfc_referencesN rfc_base_url&https://datatracker.ietf.org/doc/html/ tab_widthKtrim_footnote_reference_spacesyntax_highlightlong smart_quotessmartquotes_locales]character_level_inline_markupdoctitle_xform docinfo_xformKsectsubtitle_xform image_loadinglinkembed_stylesheetcloak_email_addressessection_self_linkenvNubreporterNindirect_targets]substitution_defs}substitution_names}refnames}refids}(h]haj,]j"ajO]jEaunameids}(j hj j hhjjjjjjj4j,jjOj j u nametypes}(j j hjjjj4jj uh}(hhj hhhjjj j)jjjjjjj8j=j,j-jOjPj jjjj1j-jjPu footnote_refs} citation_refs} autofootnotes]autofootnote_refs]symbol_footnotes]symbol_footnote_refs] footnotes] citations]autofootnote_startKsymbol_footnote_startK id_counter collectionsCounter}j KsRparse_messages]transform_messages](hsystem_message)}(hhh]h)}(hhh]h4Hyperlink target "vidioc-g-audio" is not referenced.}hj) sbah}(h]h ]h"]h$]h&]uh1hhj& ubah}(h]h ]h"]h$]h&]levelKtypeINFOsourcehlineKuh1j$ ubj% )}(hhh]h)}(hhh]h6Hyperlink target "audio-capability" is not referenced.}hjD sbah}(h]h ]h"]h$]h&]uh1hhjA ubah}(h]h ]h"]h$]h&]levelKtypej> sourcehlineKTuh1j$ ubj% )}(hhh]h)}(hhh]h0Hyperlink target "audio-mode" is not referenced.}hj^ sbah}(h]h ]h"]h$]h&]uh1hhj[ ubah}(h]h ]h"]h$]h&]levelKtypej> sourcehlineKhuh1j$ ube transformerN include_log] decorationNhhub.