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

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

?? audio.tex

?? linux dvb的文件
?? 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一区二区三区免费野_久草精品视频
亚洲三级在线免费观看| 欧美国产禁国产网站cc| 国产精品久久国产精麻豆99网站 | 亚洲国产精品国自产拍av| 欧美一区二区三区在线| 日韩欧美国产综合一区 | 舔着乳尖日韩一区| 欧美日韩dvd在线观看| 欧美日韩aaaaa| 精品欧美一区二区久久| 久久久影院官网| 亚洲欧美偷拍卡通变态| 日韩精品乱码免费| 男女男精品视频网| 欧美不卡激情三级在线观看| 日韩精品一区二区三区在线播放 | 国产精品国模大尺度视频| 欧美一级在线视频| 日本三级亚洲精品| 国产99久久精品| 久久麻豆一区二区| 日韩一区二区电影网| 色综合久久中文综合久久97| 成人免费av资源| 不卡的av网站| 国产成人av电影| 欧美日韩视频在线一区二区| 亚洲婷婷综合久久一本伊一区| 一二三区精品视频| 免费成人在线影院| 高清不卡在线观看av| 在线观看日韩电影| 在线观看亚洲精品| 欧美日韩一区二区三区高清| 91视频com| 久久久精品国产免费观看同学| 精品卡一卡二卡三卡四在线| 一区二区三区在线播| 精品午夜一区二区三区在线观看| 91丨porny丨户外露出| 9191精品国产综合久久久久久| 国产午夜精品一区二区三区视频| 亚洲国产wwwccc36天堂| 日本乱人伦一区| 国产精品久线在线观看| 亚洲高清免费视频| 99久久777色| 国产精品久久久久久福利一牛影视| 秋霞午夜鲁丝一区二区老狼| 欧美日韩视频在线观看一区二区三区| 综合久久久久久| 色婷婷精品久久二区二区蜜臀av| 中文字幕不卡在线观看| 成人一区二区视频| 精品免费一区二区三区| 日本欧美在线观看| 日韩欧美国产一区在线观看| 久久99国产精品尤物| 日韩精品一区二区三区蜜臀| 国产一区视频网站| 国产精品自拍网站| 国产三级精品视频| 91网页版在线| 免费在线看成人av| 国产精品主播直播| 久久先锋影音av鲁色资源网| 麻豆视频观看网址久久| 欧美亚日韩国产aⅴ精品中极品| 亚洲国产成人精品视频| 欧美又粗又大又爽| 久久成人麻豆午夜电影| 国产亚洲欧美在线| 欧亚洲嫩模精品一区三区| 国产综合色产在线精品| 91国产免费观看| 国产丝袜在线精品| 91.com在线观看| 成人app在线| 久久精品国产99国产| 国产三区在线成人av| 色欧美片视频在线观看| 国产精品综合二区| 婷婷综合另类小说色区| 色先锋aa成人| 久久精品人人做| 91 com成人网| 91麻豆国产香蕉久久精品| 国产精品一区二区不卡| 久久国产精品无码网站| 一区二区三区国产精品| 国产精品第五页| 欧美另类z0zxhd电影| 一本一道波多野结衣一区二区| 激情综合一区二区三区| 蜜桃av噜噜一区| 日韩精品一级中文字幕精品视频免费观看| 亚洲欧洲三级电影| 中文无字幕一区二区三区| 亚洲精品一区二区三区福利| 欧美日本一道本| 欧美男人的天堂一二区| 欧美一区二区三区视频免费 | 精品国产一区二区在线观看| 91精品免费在线| 3d成人动漫网站| 欧美日韩欧美一区二区| 欧美电影免费观看高清完整版在线| 91精品国产综合久久久久久久 | 欧美性一级生活| 在线视频欧美精品| 日韩美一区二区三区| 国产欧美精品一区aⅴ影院| 亚洲精品国产第一综合99久久| 水野朝阳av一区二区三区| 亚洲欧美日韩系列| 一区二区三区中文字幕| 亚洲乱码中文字幕综合| 美洲天堂一区二卡三卡四卡视频| 看电影不卡的网站| av网站一区二区三区| 99精品视频在线免费观看| 91精品在线免费| 国产精品你懂的在线| 欧美日韩国产a| 91日韩一区二区三区| 欧美本精品男人aⅴ天堂| 亚洲伊人伊色伊影伊综合网| 国产一区二区美女诱惑| 欧美日韩国产综合一区二区三区 | 国产精品水嫩水嫩| 亚洲国产日韩一区二区| 日日噜噜夜夜狠狠视频欧美人 | 国产精品看片你懂得 | 奇米影视在线99精品| 91精品福利在线一区二区三区| 国产精品女主播在线观看| 狠狠色2019综合网| 欧美一区二区不卡视频| 精品一区二区国语对白| 久久精品免费在线观看| 成人一区二区三区中文字幕| 洋洋av久久久久久久一区| 欧美日韩国产一级| 日本在线播放一区二区三区| 日韩一区二区三区在线观看| 国产成人自拍网| 亚洲自拍偷拍av| 精品久久人人做人人爽| 成人av网站免费观看| 午夜视频在线观看一区二区| 337p日本欧洲亚洲大胆色噜噜| www.日韩大片| 激情综合亚洲精品| 亚洲国产成人porn| 久久蜜桃一区二区| 欧美午夜免费电影| 成人丝袜视频网| 免费成人在线影院| 亚洲自拍偷拍图区| 国产精品麻豆久久久| 欧美成人bangbros| 欧美日韩成人综合在线一区二区| 国产成人免费网站| 激情五月婷婷综合| 人禽交欧美网站| 日韩成人午夜精品| 亚洲成av人在线观看| 亚洲天堂2016| 一区在线观看免费| 中文字幕中文在线不卡住| 国产精品网站一区| 久久精品男人的天堂| 日本一区二区三区国色天香| 日韩欧美一区二区视频| 91精品欧美综合在线观看最新| 欧美亚男人的天堂| 欧美二区三区的天堂| 日韩欧美国产综合在线一区二区三区| 欧美日韩精品一区二区天天拍小说| 在线观看中文字幕不卡| 91精品欧美一区二区三区综合在 | 日韩欧美色综合网站| 欧美成人三级电影在线| 久久蜜臀精品av| 依依成人精品视频| 首页欧美精品中文字幕| 国产一二精品视频| 欧洲一区在线电影| 精品国产91亚洲一区二区三区婷婷| www久久久久| 有坂深雪av一区二区精品| 亚洲日本青草视频在线怡红院| 日韩一区精品字幕| 高清在线成人网| 欧美久久久久免费| 亚洲日本在线天堂| 日韩视频123| 亚洲一二三级电影| 99久久精品国产观看| 日韩亚洲欧美在线观看|