亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? audio.tex

?? linux TV 源碼
?? TEX
?? 第 1 頁 / 共 2 頁
字號:
\devsec{DVB Audio Device}The DVB audio device controls the MPEG2 audio decoder of the DVB hardware.It can be accessed through \texttt{/dev/dvb/adapter0/audio0}.Data types and and ioctl definitions can be accessed by including\texttt{linux/dvb/video.h} in your application.Please note that some DVB cards don't have their ownMPEG decoder, which results in the omission of the audio and videodevice.\devsubsec{Audio Data Types}This section describes the structures, data types and defines used when talking to the audio device.\devsubsubsec{audio\_stream\_source\_t}\label{audiostreamsource}The audio stream source is set through the AUDIO\_SELECT\_SOURCEcall and can take the following values, depending on whether we arereplaying from an internal (demux) or external (user write) source.\begin{verbatim}typedef enum {        AUDIO_SOURCE_DEMUX,         AUDIO_SOURCE_MEMORY } audio_stream_source_t;\end{verbatim}AUDIO\_SOURCE\_DEMUX selects the demultiplexer (fedeither by the frontend or the DVR device) as the source of the video stream.If AUDIO\_SOURCE\_MEMORY is selected the stream comes from the application through the \texttt{write()} system call.\devsubsubsec{audio\_play\_state\_t}The following values can be returned by the AUDIO\_GET\_STATUS callrepresenting the state of audio playback.\label{audioplaystate}\begin{verbatim}typedef enum {         AUDIO_STOPPED,        AUDIO_PLAYING,        AUDIO_PAUSED  } audio_play_state_t;\end{verbatim}\devsubsubsec{audio\_channel\_select\_t}\label{audiochannelselect}The audio channel selected via AUDIO\_CHANNEL\_SELECT is determined bythe following values.\begin{verbatim}typedef enum {        AUDIO_STEREO,        AUDIO_MONO_LEFT,         AUDIO_MONO_RIGHT, } audio_channel_select_t;\end{verbatim}\devsubsubsec{struct audio\_status}\label{audiostatus}The AUDIO\_GET\_STATUS call returns the following structure informingabout various states of the playback operation.\begin{verbatim}typedef struct audio_status {         boolean AV_sync_state;        boolean mute_state;          audio_play_state_t play_state;        audio_stream_source_t stream_source;         audio_channel_select_t channel_select;        boolean bypass_mode;} audio_status_t;\end{verbatim}\devsubsubsec{struct audio\_mixer}\label{audiomixer}The following structure is used by the AUDIO\_SET\_MIXER call to setthe audio volume.\begin{verbatim}typedef struct audio_mixer {         unsigned int volume_left;        unsigned int volume_right;} audio_mixer_t;\end{verbatim}\devsubsubsec{audio encodings}\label{audiotypes}A call to AUDIO\_GET\_CAPABILITIES returns an unsigned integer withthe following bits set according to the hardwares capabilities.\begin{verbatim}#define AUDIO_CAP_DTS    1#define AUDIO_CAP_LPCM   2#define AUDIO_CAP_MP1    4#define AUDIO_CAP_MP2    8#define AUDIO_CAP_MP3   16#define AUDIO_CAP_AAC   32#define AUDIO_CAP_OGG   64#define AUDIO_CAP_SDDS 128#define AUDIO_CAP_AC3  256\end{verbatim}\devsubsubsec{struct audio\_karaoke}\label{audiokaraoke}The ioctl AUDIO\_SET\_KARAOKE uses the following format:\begin{verbatim}typedefstruct audio_karaoke{        int vocal1;          int vocal2;          int melody;  } audio_karaoke_t;\end{verbatim}If Vocal1 or Vocal2 are non-zero, they get mixedinto left and right t at 70\% each.If both, Vocal1 and Vocal2 are non-zero, Vocal1 getsmixed into the left channel andVocal2 into the right channel at 100\% each.Ff Melody is non-zero, the melody channel gets mixedinto left and right.\devsubsubsec{audio attributes}\label{aattrib}The following attributes can be set by a call to AUDIO\_SET\_ATTRIBUTES:\begin{verbatim}typedef uint16_t audio_attributes_t;/*   bits: descr. *//*   15-13 audio coding mode (0=ac3, 2=mpeg1, 3=mpeg2ext, 4=LPCM, 6=DTS, *//*   12    multichannel extension *//*   11-10 audio type (0=not spec, 1=language included) *//*    9- 8 audio application mode (0=not spec, 1=karaoke, 2=surround) *//*    7- 6 Quantization / DRC (mpeg audio: 1=DRC exists)(lpcm: 0=16bit,  *//*    5- 4 Sample frequency fs (0=48kHz, 1=96kHz) *//*    2- 0 number of audio channels (n+1 channels) */\end{verbatim}\clearpage\devsubsec{Audio Function Calls}\function{open()}{  int open(const char *deviceName, int flags);}{  This system call opens a named audio device (e.g. /dev/dvb/adapter0/audio0) for subsequent  use. When an open() call has succeeded, the device will be ready for use.  The significance of blocking or non-blocking mode is described in the   documentation for functions where there is a difference. It does not affect   the semantics of the open() call itself. A device opened in blocking mode can  later be put into non-blocking mode (and vice versa) using the F\_SETFL command  of the fcntl system call.  This is a standard system call, documented in the   Linux manual page for fcntl.  Only one user can open the Audio  Device in O\_RDWR mode. All other attempts to  open the device in this mode will fail, and an error code will be returned.  If the Audio Device is opened in O\_RDONLY mode, the only ioctl call that can   be used is AUDIO\_GET\_STATUS. All other call will return with an error code.  }{  const char *deviceName & Name of specific audio device.\\  int flags & A bit-wise OR of the following flags:\\            & \hspace{1em} O\_RDONLY read-only access\\            & \hspace{1em} O\_RDWR read/write access\\            & \hspace{1em} O\_NONBLOCK open in non-blocking mode \\            & \hspace{1em} (blocking mode is the default)\\  }{  ENODEV    & Device driver not loaded/available.\\  EINTERNAL & Internal error.\\  EBUSY     & Device or resource busy.\\  EINVAL    & Invalid argument.\\}\function{close()}{  int close(int fd);}{  This system call closes a previously opened audio device.  }{  int fd & File descriptor returned by a previous call to open().\\  }{  EBADF & fd is not a valid open file descriptor.\\}\function{write()}{  size\_t write(int fd, const void *buf, size\_t count);}{  This system call can only be used if AUDIO\_SOURCE\_MEMORY is selected   in the ioctl call AUDIO\_SELECT\_SOURCE.   The data provided shall be in PES format.  If O\_NONBLOCK is not specified the function will block until buffer space is  available. The amount of data to be transferred is implied by count.  }{  int fd      & File descriptor returned by a previous call to open().\\  void *buf   & Pointer to the buffer containing the PES data.\\  size\_t count& Size of buf.\\  }{  EPERM&  Mode AUDIO\_SOURCE\_MEMORY not selected.\\  ENOMEM& Attempted to write more data than the internal buffer can hold.\\  EBADF&  fd is not a valid open file descriptor.\\}\ifunction{AUDIO\_STOP}{  int ioctl(int fd, int request = AUDIO\_STOP);}{  This ioctl call asks the Audio Device to stop playing the current stream.  }{  int fd & File descriptor returned by a previous call to open().\\  int request& Equals AUDIO\_STOP for this command.  }{  EBADF&      fd is not a valid open file descriptor \\  EINTERNAL & Internal error.}\ifunction{AUDIO\_PLAY}{  int ioctl(int fd, int request = AUDIO\_PLAY);}{  This ioctl call asks the Audio Device to start playing an audio stream  from the selected source.  }{  int fd & File descriptor returned by a previous call to open().\\  int request& Equals AUDIO\_PLAY for this command.  }{  EBADF&      fd is not a valid open file descriptor \\  EINTERNAL & Internal error.}\ifunction{AUDIO\_PAUSE}{  int ioctl(int fd, int request = AUDIO\_PAUSE);}{  This ioctl call suspends the audio stream being played.   Decoding and playing are paused.   It is then possible to restart again decoding and playing process of the  audio stream using AUDIO\_CONTINUE command.\\  If  AUDIO\_SOURCE\_MEMORY is selected in the ioctl call   AUDIO\_SELECT\_SOURCE, the DVB-subsystem will not decode (consume)   any more data until the ioctl  call

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产亚洲精品7777| 亚洲国产精品自拍| 国产日韩精品一区二区浪潮av| 成人欧美一区二区三区在线播放| 一区二区高清在线| 国产成人在线网站| 一本大道综合伊人精品热热 | 久久综合久久鬼色| 一区二区三区四区高清精品免费观看| 精品一区二区三区日韩| 欧美日韩久久久久久| 欧美国产精品专区| 国产一区二区三区久久久| 91国偷自产一区二区使用方法| 国产欧美精品一区二区色综合朱莉| 日韩电影在线一区二区| 91传媒视频在线播放| 国产精品久久久久影院| 国产大陆精品国产| 久久先锋影音av鲁色资源网| 日本视频在线一区| 欧美探花视频资源| 亚洲一区二区在线免费观看视频| 成人午夜激情在线| 国产亚洲欧洲997久久综合| 日本aⅴ精品一区二区三区 | 欧美sm极限捆绑bd| 性久久久久久久久| 91国产视频在线观看| 亚洲日本中文字幕区| 国产成人夜色高潮福利影视| 久久久久久久网| 国产一区二区在线电影| 久久久青草青青国产亚洲免观| 男女男精品视频网| 国产精品久久久久久久久免费桃花| 国产成人久久精品77777最新版本 国产成人鲁色资源国产91色综 | 99久久国产综合精品麻豆| 亚洲国产精品t66y| av动漫一区二区| 亚洲免费av观看| 欧美系列亚洲系列| 日韩福利电影在线观看| 69av一区二区三区| 日韩av中文字幕一区二区三区| 欧美日韩免费观看一区二区三区| 亚洲成人1区2区| 5月丁香婷婷综合| 久久超碰97人人做人人爱| 欧美成人一级视频| 国产成a人无v码亚洲福利| 国产精品成人午夜| 日本二三区不卡| 污片在线观看一区二区| 日韩欧美国产wwwww| 国产成人精品亚洲777人妖| 国产精品电影一区二区| 欧美日韩亚洲综合在线 欧美亚洲特黄一级| 亚洲一区免费视频| 欧美mv日韩mv| 成人精品高清在线| 午夜精品久久久久久久99樱桃| 日韩免费在线观看| 不卡在线视频中文字幕| 香蕉成人啪国产精品视频综合网| 精品久久久久久久久久久院品网| 成人av在线影院| 日韩中文欧美在线| 国产精品欧美极品| 欧美一区二区三区在线视频| 成人福利视频在线| 日韩精品亚洲一区| 国产精品日日摸夜夜摸av| 欧美日本韩国一区二区三区视频 | 26uuu亚洲综合色欧美| 成人app下载| 视频一区免费在线观看| 久久久久久久久久久电影| 欧美亚洲动漫精品| 国产精品白丝jk黑袜喷水| 一区二区三区在线播放| 久久女同精品一区二区| 欧美精品在线视频| 国产精品主播直播| 亚洲成人一区在线| 国产精品欧美极品| 精品国产污污免费网站入口| 欧美亚洲国产bt| 99精品国产视频| 国产精品888| 男人操女人的视频在线观看欧美| 亚洲少妇30p| 久久久久久久精| 亚洲精品一区二区三区蜜桃下载| 欧美日韩综合一区| 色8久久人人97超碰香蕉987| 风间由美中文字幕在线看视频国产欧美| 视频一区二区三区中文字幕| 一区二区三区在线免费视频| 欧美国产一区二区在线观看| 日韩欧美黄色影院| 日韩视频一区二区在线观看| 欧美久久久久免费| 在线观看免费亚洲| 日本韩国精品在线| 色婷婷av一区二区三区软件| av一区二区三区四区| 国产美女在线观看一区| 蜜臀av性久久久久蜜臀aⅴ| 亚洲18女电影在线观看| 亚洲国产综合人成综合网站| 亚洲成人av资源| 午夜成人免费电影| 亚洲国产精品一区二区www在线 | 久久久久久久久久久电影| 精品国免费一区二区三区| 精品国产一区二区三区不卡 | 国产精品污网站| 国产人成一区二区三区影院| 国产三区在线成人av| 久久一日本道色综合| 久久久五月婷婷| 国产精品毛片大码女人| 国产精品久久久久毛片软件| 国产精品成人免费在线| 亚洲另类春色校园小说| 亚洲午夜久久久| 奇米影视在线99精品| 狠狠色狠狠色合久久伊人| 国产精品亚洲午夜一区二区三区| 成人国产精品免费| 欧美色网一区二区| 日韩欧美一二三四区| 久久一区二区视频| 国产精品久线观看视频| 一区二区三区四区亚洲| 日韩影院免费视频| 国产精品影音先锋| 色999日韩国产欧美一区二区| 制服丝袜一区二区三区| 国产欧美日韩中文久久| 一区二区三区免费看视频| 日韩国产精品久久| 国产成人在线看| 欧美乱妇23p| 国产色婷婷亚洲99精品小说| 亚洲一区二区视频| 激情亚洲综合在线| 91色婷婷久久久久合中文| 91精品国产色综合久久久蜜香臀| 久久久久久久久久看片| 一区二区三区不卡视频在线观看| 蜜桃av噜噜一区| 91在线免费视频观看| 日韩一区二区免费在线电影| 中文幕一区二区三区久久蜜桃| 一区二区三区四区蜜桃| 国产麻豆成人传媒免费观看| 在线一区二区三区四区五区| 精品91自产拍在线观看一区| 亚洲精品久久久久久国产精华液 | 香蕉久久夜色精品国产使用方法 | 日韩欧美区一区二| 亚洲欧美欧美一区二区三区| 青娱乐精品视频| 91丨porny丨国产入口| 欧美mv日韩mv| 爽爽淫人综合网网站| 99久久精品国产一区| 337p粉嫩大胆色噜噜噜噜亚洲| 午夜精品福利在线| 色婷婷精品久久二区二区蜜臂av| 国产亚洲午夜高清国产拍精品| 日本欧美在线观看| 在线观看欧美精品| 亚洲欧美日韩国产手机在线| 成人免费视频一区二区| 精品国产免费久久| 日韩精品三区四区| 91国产免费看| 亚洲靠逼com| 95精品视频在线| 亚洲国产激情av| 国产精品影视网| 久久久久久久久久久久久夜| 久久99国产精品久久99果冻传媒| 欧美日韩国产高清一区二区| 一区二区三区在线免费视频| 91无套直看片红桃| 国产精品女人毛片| 懂色av一区二区三区蜜臀| 久久夜色精品国产噜噜av| 蜜桃精品视频在线| 日韩精品一区二| 欧美a级理论片| 日韩欧美资源站| 麻豆国产91在线播放| 日韩一级片在线观看| 久久精品久久精品| 久久综合中文字幕|