18c2ecf20Sopenharmony_ci.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 28c2ecf20Sopenharmony_ci.. c:namespace:: DTV.audio 38c2ecf20Sopenharmony_ci 48c2ecf20Sopenharmony_ci.. _AUDIO_BILINGUAL_CHANNEL_SELECT: 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ci============================== 78c2ecf20Sopenharmony_ciAUDIO_BILINGUAL_CHANNEL_SELECT 88c2ecf20Sopenharmony_ci============================== 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ciName 118c2ecf20Sopenharmony_ci---- 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ciAUDIO_BILINGUAL_CHANNEL_SELECT 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ci.. attention:: This ioctl is deprecated 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ciSynopsis 188c2ecf20Sopenharmony_ci-------- 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_ci.. c:macro:: AUDIO_BILINGUAL_CHANNEL_SELECT 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ci``int ioctl(int fd, AUDIO_BILINGUAL_CHANNEL_SELECT, struct audio_channel_select *select)`` 238c2ecf20Sopenharmony_ci 248c2ecf20Sopenharmony_ciArguments 258c2ecf20Sopenharmony_ci--------- 268c2ecf20Sopenharmony_ci 278c2ecf20Sopenharmony_ci.. flat-table:: 288c2ecf20Sopenharmony_ci :header-rows: 0 298c2ecf20Sopenharmony_ci :stub-columns: 0 308c2ecf20Sopenharmony_ci 318c2ecf20Sopenharmony_ci - 328c2ecf20Sopenharmony_ci 338c2ecf20Sopenharmony_ci - int fd 348c2ecf20Sopenharmony_ci 358c2ecf20Sopenharmony_ci - File descriptor returned by a previous call to open(). 368c2ecf20Sopenharmony_ci 378c2ecf20Sopenharmony_ci - 388c2ecf20Sopenharmony_ci 398c2ecf20Sopenharmony_ci - audio_channel_select_t ch 408c2ecf20Sopenharmony_ci 418c2ecf20Sopenharmony_ci - Select the output format of the audio (mono left/right, stereo). 428c2ecf20Sopenharmony_ci 438c2ecf20Sopenharmony_ciDescription 448c2ecf20Sopenharmony_ci----------- 458c2ecf20Sopenharmony_ci 468c2ecf20Sopenharmony_ciThis ioctl is obsolete. Do not use in new drivers. It has been replaced 478c2ecf20Sopenharmony_ciby the V4L2 ``V4L2_CID_MPEG_AUDIO_DEC_MULTILINGUAL_PLAYBACK`` control 488c2ecf20Sopenharmony_cifor MPEG decoders controlled through V4L2. 498c2ecf20Sopenharmony_ci 508c2ecf20Sopenharmony_ciThis ioctl call asks the Audio Device to select the requested channel 518c2ecf20Sopenharmony_cifor bilingual streams if possible. 528c2ecf20Sopenharmony_ci 538c2ecf20Sopenharmony_ciReturn Value 548c2ecf20Sopenharmony_ci------------ 558c2ecf20Sopenharmony_ci 568c2ecf20Sopenharmony_ciOn success 0 is returned, on error -1 and the ``errno`` variable is set 578c2ecf20Sopenharmony_ciappropriately. The generic error codes are described at the 588c2ecf20Sopenharmony_ci:ref:`Generic Error Codes <gen-errors>` chapter. 59