osphinx.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]hPortuguese (Brazilian)}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget:/translations/pt_BR/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_AUDIOhNtauh1j%hjhhhNhNubhdesc)}(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}(hjOhhhNhNubah}(h]h ]nah"]h$]h&]uh1jMhjIubah}(h]h ](sig-namedescnameeh"]h$]h&]hhuh1jGhjChhhhhKubah}(h]h ]h"]h$]h&]hhƌ add_permalinkuh1jAsphinx_line_type declaratorhj=hhhhhKubah}(h]j4ah ](sig sig-objecteh"]h$]h&] is_multiline _toc_parts) _toc_namehuh1j;hhhKhj8hhubh desc_content)}(hhh]h}(h]h ]h"]h$]h&]uh1jyhj8hhhhhKubeh}(h]h ](cmacroeh"]h$]h&]domainjobjtypejdesctypejnoindex noindexentrynocontentsentryuh1j6hhhjhNhNubh)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKhjhhubj&)}(hhh]h}(h]h ]h"]h$]h&]entries](j2V4L.VIDIOC_S_AUDIO (C macro)c.V4L.VIDIOC_S_AUDIOhNtauh1j%hjhhhNhNubj7)}(hhh](j<)}(hVIDIOC_S_AUDIOh]jB)}(hVIDIOC_S_AUDIOh]jH)}(hVIDIOC_S_AUDIOh]jN)}(hjh]hVIDIOC_S_AUDIO}(hjhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jMhjubah}(h]h ](j`jaeh"]h$]h&]hhuh1jGhjhhhhhKubah}(h]h ]h"]h$]h&]hhjkuh1jAjljmhjhhhhhKubah}(h]jah ](jqjreh"]h$]h&]jvjw)jxhuh1j;hhhKhjhhubjz)}(hhh]h}(h]h ]h"]h$]h&]uh1jyhjhhhhhKubeh}(h]h ](jmacroeh"]h$]h&]jjjjjjjjjuh1j6hhhjhNhNubh)}(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)}(hj6h]hfd}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1j2hhhKhj.ubh definition)}(hhh]h)}(h-File descriptor returned by :c:func:`open()`.h](hFile descriptor returned by }(hjPhhhNhNubh)}(h:c:func:`open()`h]j)}(hjZh]hopen()}(hj\hhhNhNubah}(h]h ](xrefjc-funceh"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]refdoc&userspace-api/media/v4l/vidioc-g-audio refdomainjreftypefunc refexplicitrefwarn c:parent_keysphinx.domains.c LookupKey)}data]jy ASTIdentifier)} identifierV4LsbNasb reftargetopenuh1hhhhKhjPubh.}(hjPhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjMubah}(h]h ]h"]h$]h&]uh1jKhj.ubeh}(h]h ]h"]h$]h&]uh1j,hhhKhj)ubj-)}(h1``argp`` Pointer to struct :c:type:`v4l2_audio`. h](j3)}(h``argp``h]j)}(hjh]hargp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1j2hhhK!hjubjL)}(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 ](jfjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocjr refdomainjreftypetype refexplicitrefwarnjxj|j v4l2_audiouh1hhhhK!hjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK!hjubah}(h]h ]h"]h$]h&]uh1jKhjubeh}(h]h ]h"]h$]h&]uh1j,hhhK!hj)hhubeh}(h]h ]h"]h$]h&]uh1j'hjhhhhhNubeh}(h] argumentsah ]h"] argumentsah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(h Descriptionh]h Description}(hj hhhNhNubah}(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)}(hj5h]h v4l2_audio}(hj7hhhNhNubah}(h]h ](jfjc-typeeh"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]refdocjr refdomainjreftypetype refexplicitrefwarnjxj|j v4l2_audiouh1hhhhK&hjubh and call the }(hjhhhNhNubh)}(h&:ref:`VIDIOC_G_AUDIO `h]hinline)}(hjXh]hVIDIOC_G_AUDIO}(hj\hhhNhNubah}(h]h ](jfstdstd-refeh"]h$]h&]uh1jZhjVubah}(h]h ]h"]h$]h&]refdocjr refdomainjfreftyperef refexplicitrefwarnjvidioc_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}(hj|hhhNhNubah}(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 ](jfjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocjr refdomainjreftypetype refexplicitrefwarnjxj|j v4l2_audiouh1hhhhK,hjubh structure and call the }(hjhhhNhNubh)}(h&:ref:`VIDIOC_S_AUDIO `h]j[)}(hj h]hVIDIOC_S_AUDIO}(hj hhhNhNubah}(h]h ](jfstdstd-refeh"]h$]h&]uh1jZhj ubah}(h]h ]h"]h$]h&]refdocjr refdomainjreftyperef refexplicitrefwarnjvidioc_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}|uh1j3hhhK4hjhhubj&)}(hhh]h}(h]h ]h"]h$]h&]entries](j2V4L.v4l2_audio (C type)c.V4L.v4l2_audiohNtauh1j%hjhhhNhNubj7)}(hhh](j<)}(h v4l2_audioh]jB)}(htype v4l2_audioh](hdesc_sig_keyword)}(htypeh]htype}(hj[hhhNhNubah}(h]h ]kah"]h$]h&]uh1jYhjUhhhhhK6ubhdesc_sig_space)}(h h]h }(hjlhhhNhNubah}(h]h ]wah"]h$]h&]uh1jjhjUhhhhhK6ubjH)}(h v4l2_audioh]jN)}(hjSh]h v4l2_audio}(hjhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jMhj{ubah}(h]h ](j`jaeh"]h$]h&]hhuh1jGhjUhhhhhK6ubeh}(h]h ]h"]h$]h&]hhjkuh1jAjljmhjQhhhhhK6ubah}(h]jLah ](jqjreh"]h$]h&]jvjw)jxhuh1j;hhhK6hjNhhubjz)}(hhh]h}(h]h ]h"]h$]h&]uh1jyhjNhhhhhK6ubeh}(h]h ](jtypeeh"]h$]h&]jjjjjjjjjuh1j6hhhjhNhNubhtable)}(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&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhhhK>hj ubah}(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.}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK?hj)ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h__u8h]h__u8}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK@hjIubah}(h]h ]h"]h$]h&]uh1jhjFubj)}(hhh]h)}(h``name``\ [32]h](j)}(h``name``h]hname}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubh [32]}(hjchhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKAhj`ubah}(h]h ]h"]h$]h&]uh1jhjFubj)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKBhjubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(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]j[)}(hjh]haudio-capability}(hjhhhNhNubah}(h]h ](jfstdstd-refeh"]h$]h&]uh1jZhjubah}(h]h ]h"]h$]h&]refdocjr refdomainjreftyperef refexplicitrefwarnjaudio-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}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKHhj ubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h``mode``h]j)}(hj<h]hmode}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1hhhhKIhj7ubah}(h]h ]h"]h$]h&]uh1jhjubj)}(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 }(hjZhhhNhNubh)}(h&:ref:`VIDIOC_S_AUDIO `h]j[)}(hjdh]hVIDIOC_S_AUDIO}(hjfhhhNhNubah}(h]h ](jfstdstd-refeh"]h$]h&]uh1jZhjbubah}(h]h ]h"]h$]h&]refdocjr refdomainjpreftyperef refexplicitrefwarnjvidioc_g_audiouh1hhhhKJhjZubh ioctl), see }(hjZhhhNhNubh)}(h:ref:`audio-mode`h]j[)}(hjh]h audio-mode}(hjhhhNhNubah}(h]h ](jfstdstd-refeh"]h$]h&]uh1jZhjubah}(h]h ]h"]h$]h&]refdocjr refdomainjreftyperef refexplicitrefwarnj audio-modeuh1hhhhKJhjZubh.}(hjZhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKJhjWubah}(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&]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&]uh1jhjhhhNhNubj4)}(hhh]h}(h]h ]h"]h$]h&]j>|p{6.6cm}|p{2.2cm}|p{8.5cm}|uh1j3hhhKRhjhhubh)}(h.. _audio-capability:h]h}(h]h ]h"]h$]h&]hԌaudio-capabilityuh1hhKThjhhhhubj)}(hhh](h)}(hAudio Capability Flagsh]hAudio Capability Flags}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKVhjAubj)}(hhh](j)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjRubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjRubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjRubj)}(hhh](j)}(hhh](j)}(hhh]h)}(h``V4L2_AUDCAP_STEREO``h]j)}(hj~h]hV4L2_AUDCAP_STEREO}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1hhhhK[hjyubah}(h]h ]h"]h$]h&]uh1jhjvubj)}(hhh]h)}(h0x00001h]h0x00001}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK\hjubah}(h]h ]h"]h$]h&]uh1jhjvubj)}(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&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjsubj)}(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&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]colsKuh1jhjAubeh}(h](id2j@eh ]h"]audio-capabilityah$]h&]uh1jhjhhhNhNexpect_referenced_by_name}jHj6sexpect_referenced_by_id}j@j6subj4)}(hhh]h}(h]h ]h"]h$]h&]j>|p{6.6cm}|p{2.2cm}|p{8.5cm}|uh1j3hhhKfhjhhubh)}(h.. _audio-mode:h]h}(h]h ]h"]h$]h&]hԌ audio-modeuh1hhKhhjhhhhubj)}(hhh](h)}(hAudio Mode Flagsh]hAudio Mode Flags}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKjhjdubj)}(hhh](j)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjuubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjuubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjuubj)}(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&]uh1jhjuubeh}(h]h ]h"]h$]h&]colsKuh1jhjdubeh}(h](id3jceh ]h"] audio-modeah$]h&]uh1jhjhhhNhNjK}j jYsjM}jcjYsubeh}(h] descriptionah ]h"] descriptionah$]h&]uh1hhhhhhhhK$ubh)}(hhh](h)}(h Return Valueh]h Return Value}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hhhhhKtubh)}(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]j[)}(hj< h]hGeneric Error Codes}(hj> hhhNhNubah}(h]h ](jfstdstd-refeh"]h$]h&]uh1jZhj: ubah}(h]h ]h"]h$]h&]refdocjr refdomainjH reftyperef refexplicitrefwarnj gen-errorsuh1hhhhKvhj ubh chapter.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKvhj hhubj()}(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](j3)}(hEINVALh]hEINVAL}(hjk hhhNhNubah}(h]h ]h"]h$]h&]uh1j2hhhK{hjg ubjL)}(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.}(hj| hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK{hjy ubah}(h]h ]h"]h$]h&]uh1jKhjg ubeh}(h]h ]h"]h$]h&]uh1j,hhhK{hjd ubah}(h]h ]h"]h$]h&]uh1j'hj hhhhhNubeh}(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&]uh1hhhhhhhhKjK}j hsjM}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_sourcehnj _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@]j6ajc]jYaunameids}(j hj j jjjjjjj j jHj@j jcj j u nametypes}(j j jjjj jHj j uh}(hhj hjhjjj4j=jjjjj jjLjQj@jAjcjdj j j'jjEjAjjdu 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&]levelKtypeINFOsourcehnjlineKuh1j8 ubj9 )}(hhh]h)}(hhh]h6Hyperlink target "audio-capability" is not referenced.}hjX sbah}(h]h ]h"]h$]h&]uh1hhjU ubah}(h]h ]h"]h$]h&]levelKtypejR sourcehnjlineKTuh1j8 ubj9 )}(hhh]h)}(hhh]h0Hyperlink target "audio-mode" is not referenced.}hjr sbah}(h]h ]h"]h$]h&]uh1hhjo ubah}(h]h ]h"]h$]h&]levelKtypejR sourcehnjlineKhuh1j8 ube transformerN include_log] decorationNhhub.