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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? audio.tex

?? linux dvb的文件
?? TEX
?? 第 1 頁 / 共 2 頁
字號(hào):
\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

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日韩另类一区| 欧美一级艳片视频免费观看| 三级成人在线视频| 国产日韩欧美麻豆| 欧美日韩精品欧美日韩精品一| 国产一区二区不卡| 图片区小说区区亚洲影院| 国产欧美日韩另类一区| 欧美日韩成人在线| 91在线一区二区三区| 精品一区二区三区的国产在线播放| 亚洲精品免费在线| 国产午夜精品理论片a级大结局 | 麻豆精品国产91久久久久久| 亚洲欧洲av在线| 精品不卡在线视频| 欧美片网站yy| 色噜噜狠狠色综合欧洲selulu| 狠狠色丁香久久婷婷综| 日本欧美肥老太交大片| 亚洲另类在线视频| 国产精品久久久久影院亚瑟| 日韩欧美亚洲另类制服综合在线| 91麻豆6部合集magnet| 国v精品久久久网| 久久91精品国产91久久小草| 日韩在线一区二区| 亚洲一区精品在线| 亚洲欧洲三级电影| 国产欧美精品国产国产专区 | 久久免费看少妇高潮| 午夜精品久久久久久| 日韩亚洲欧美在线观看| 国产女人aaa级久久久级| 91精品一区二区三区久久久久久 | 欧美xxx久久| 日韩欧美中文字幕制服| 欧美精品丝袜中出| 欧美日韩在线免费视频| 99精品视频在线观看免费| 岛国一区二区三区| 国产a精品视频| 国产成人一级电影| 丁香激情综合国产| 99re免费视频精品全部| 不卡视频一二三四| 成人av在线网| 91猫先生在线| 欧美三级午夜理伦三级中视频| 色婷婷综合激情| 欧美日韩亚州综合| 欧美一级片在线看| 精品国产一区二区三区av性色| 日韩三级电影网址| 精品成人免费观看| 中文字幕在线播放不卡一区| 一区在线中文字幕| 亚洲图片欧美视频| 日本成人中文字幕| 国产尤物一区二区在线| 国产精品亚洲专一区二区三区| 国产凹凸在线观看一区二区| 色婷婷久久久亚洲一区二区三区| 欧美日韩一级视频| 久久夜色精品一区| 中文字幕在线不卡国产视频| 亚洲成人自拍偷拍| 久久91精品久久久久久秒播| 99视频精品在线| 欧美精品第一页| 久久久蜜桃精品| 1000精品久久久久久久久| 亚洲综合色丁香婷婷六月图片| 日韩电影免费一区| 国产成人在线视频播放| 欧美日韩一区久久| 久久久久久久av麻豆果冻| 亚洲天堂免费在线观看视频| 丝袜诱惑亚洲看片| 国产精品综合二区| 99久久精品费精品国产一区二区| 国产精品亚洲专一区二区三区 | 麻豆精品一区二区三区| 丁香六月久久综合狠狠色| 色婷婷综合久久久中文字幕| 欧美二区在线观看| 久久精品亚洲麻豆av一区二区| 亚洲视频在线观看三级| 肉肉av福利一精品导航| 麻豆精品一区二区av白丝在线| 91网站黄www| 欧美一区三区四区| 欧美国产日韩在线观看| 亚洲一区av在线| 国产福利91精品一区| 欧美福利视频导航| 国产精品丝袜久久久久久app| 一区二区成人在线| 国产丝袜在线精品| 国产精品每日更新| 成人一道本在线| 在线观看一区二区视频| 日韩一二在线观看| 国产精品对白交换视频 | 欧美激情一区二区三区四区| 亚洲视频精选在线| 日日噜噜夜夜狠狠视频欧美人| 欧美综合一区二区| 国产成人精品网址| 国产乱码精品1区2区3区| 精品国产亚洲在线| 国产精品国产自产拍高清av王其| 天天综合天天综合色| 国产成人精品免费一区二区| 欧美日韩电影在线| 国产精品久久久久影视| 日本欧美一区二区| 91麻豆国产自产在线观看| 欧美本精品男人aⅴ天堂| 亚洲一区在线免费观看| 粉嫩av一区二区三区在线播放| 精品国产精品一区二区夜夜嗨| 亚洲精品第1页| 成人激情视频网站| 日韩精品一区二区三区老鸭窝| 亚洲小说春色综合另类电影| 成人免费视频一区| 欧美一区二区三区播放老司机 | 自拍偷拍欧美精品| 国产精品 日产精品 欧美精品| 欧美日韩国产a| 亚洲美女淫视频| 粉嫩aⅴ一区二区三区四区 | 国产高清久久久久| 日韩一区二区三区精品视频| 一区二区三区视频在线看| 成人深夜福利app| 国产欧美一区二区在线| 精品综合免费视频观看| 欧美日韩一区二区三区在线看| 亚洲第一狼人社区| 欧美在线高清视频| 亚洲美女屁股眼交3| 丁香激情综合五月| 国产片一区二区| 国产成人午夜精品5599| 精品成人免费观看| 蜜臀久久久久久久| 91麻豆精品国产自产在线| 午夜精品久久久| 欧美日韩夫妻久久| 三级欧美韩日大片在线看| 在线电影国产精品| 亚洲18影院在线观看| 日韩精品一区二区三区在线观看 | 日韩精品一区二区三区在线播放 | 亚洲成a天堂v人片| 色综合激情五月| 亚洲卡通欧美制服中文| 在线观看一区日韩| 亚洲图片欧美一区| 天天射综合影视| 欧美无砖砖区免费| 艳妇臀荡乳欲伦亚洲一区| 欧美三电影在线| 丝袜亚洲精品中文字幕一区| 色域天天综合网| 亚洲成a人片综合在线| 日韩一区二区精品葵司在线 | 国产精品色哟哟| 春色校园综合激情亚洲| 亚洲同性gay激情无套| 色综合 综合色| 午夜影院久久久| 精品欧美一区二区三区精品久久 | 99久久久精品| 亚洲免费在线电影| 欧美色男人天堂| 免费观看日韩av| 亚洲国产精品国自产拍av| 91在线播放网址| 一二三区精品视频| 亚洲精品一二三| 国产精品综合二区| 亚洲日穴在线视频| 欧美喷潮久久久xxxxx| 成人综合在线观看| 青青草91视频| 亚洲三级在线观看| 久久综合久久综合亚洲| 高清不卡一区二区在线| 欧美一区二区三区免费观看视频 | 欧美日韩免费电影| 国产精品一区一区| 日韩精品电影一区亚洲| 亚洲三级在线看| 国产午夜亚洲精品羞羞网站| 91精品国产麻豆| 国产福利91精品| 久久狠狠亚洲综合|