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

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

?? vwsnd

?? 優龍2410linux2.6.8內核源代碼
??
字號:
vwsnd - Sound driver for the Silicon Graphics 320 and 540 VisualWorkstations' onboard audio.Copyright 1999 Silicon Graphics, Inc.  All rights reserved.At the time of this writing, March 1999, there are two models ofVisual Workstation, the 320 and the 540.  This document only describesthose models.  Future Visual Workstation models may have differentsound capabilities, and this driver will probably not work on thoseboxes.The Visual Workstation has an Analog Devices AD1843 "SoundComm" audiocodec chip.  The AD1843 is accessed through the Cobalt I/O ASIC, alsoknown as Lithium.  This driver programs both both chips.==============================================================================QUICK CONFIGURATION	# insmod soundcore	# insmod vwsnd==============================================================================I/O CONNECTIONSOn the Visual Workstation, only three of the AD1843 inputs are hookedup.  The analog line in jacks are connected to the AD1843's AUX1input.  The CD audio lines are connected to the AD1843's AUX2 input.The microphone jack is connected to the AD1843's MIC input.  The micjack is mono, but the signal is delivered to both the left and rightMIC inputs.  You can record in stereo from the mic input, but you willget the same signal on both channels (within the limits of A/Daccuracy).  Full scale on the Line input is +/- 2.0 V.  Full scale onthe MIC input is 20 dB less, or +/- 0.2 V.The AD1843's LOUT1 outputs are connected to the Line Out jacks.  TheAD1843's HPOUT outputs are connected to the speaker/headphone jack.LOUT2 is not connected.  Line out's maximum level is +/- 2.0 V peak topeak.  The speaker/headphone out's maximum is +/- 4.0 V peak to peak.The AD1843's PCM input channel and one of its output channels (DAC1)are connected to Lithium.  The other output channel (DAC2) is notconnected.==============================================================================CAPABILITIESThe AD1843 has PCM input and output (Pulse Code Modulation, also knownas wavetable).  PCM input and output can be mono or stereo in any offour formats.  The formats are 16 bit signed and 8 bit unsigned,u-Law, and A-Law format.  Any sample rate from 4 KHz to 49 KHz isavailable, in 1 Hz increments.The AD1843 includes an analog mixer that can mix all three inputsignals (line, mic and CD) into the analog outputs.  The mixer has aseparate gain control and mute switch for each input.There are two outputs, line out and speaker/headphone out.  Theyalways produce the same signal, and the speaker always has 3 dB moregain than the line out.  The speaker/headphone output can be muted,but this driver does not export that function.The hardware can sync audio to the video clock, but this driver doesnot have a way to specify syncing to video.==============================================================================PROGRAMMINGThis section explains the API supported by the driver.  Also see theOpen Sound Programming Guide at http://www.opensound.com/pguide/ .This section assumes familiarity with that document.The driver has two interfaces, an I/O interface and a mixer interface.There is no MIDI or sequencer capability.==============================================================================PROGRAMMING PCM I/OThe I/O interface is usually accessed as /dev/audio or /dev/dsp.Using the standard Open Sound System (OSS) ioctl calls, the samplerate, number of channels, and sample format may be set within thelimitations described above.  The driver supports triggering.  It alsosupports getting the input and output pointers with one-sampleaccuracy.The SNDCTL_DSP_GETCAP ioctl returns these capabilities.	DSP_CAP_DUPLEX - driver supports full duplex.	DSP_CAP_TRIGGER - driver supports triggering.	DSP_CAP_REALTIME - values returned by SNDCTL_DSP_GETIPTR	and SNDCTL_DSP_GETOPTR are accurate to a few samples.Memory mapping (mmap) is not implemented.The driver permits subdivided fragment sizes from 64 to 4096 bytes.The number of fragments can be anything from 3 fragments to howevermany fragments fit into 124 kilobytes.  It is up to the user todetermine how few/small fragments can be used without introducingglitches with a given workload.  Linux is not realtime, so we can'tpromise anything.  (sigh...)When this driver is switched into or out of mu-Law or A-Law mode onoutput, it may produce an audible click.  This is unavoidable.  Toprevent clicking, use signed 16-bit mode instead, and convert frommu-Law or A-Law format in software.==============================================================================PROGRAMMING THE MIXER INTERFACEThe mixer interface is usually accessed as /dev/mixer.  It is accessedthrough ioctls.  The mixer allows the application to control gain ormute several audio signal paths, and also allows selection of therecording source.Each of the constants described here can be read using theMIXER_READ(SOUND_MIXER_xxx) ioctl.  Those that are not read-only canalso be written using the MIXER_WRITE(SOUND_MIXER_xxx) ioctl.  In mostcases, <sys/soundcard.h> defines constants SOUND_MIXER_READ_xxx andSOUND_MIXER_WRITE_xxx which work just as well.SOUND_MIXER_CAPS	Read-onlyThis is a mask of optional driver capabilities that are implemented.This driver's only capability is SOUND_CAP_EXCL_INPUT, which meansthat only one recording source can be active at a time.SOUND_MIXER_DEVMASK	Read-onlyThis is a mask of the sound channels.  This driver's channels are PCM,LINE, MIC, CD, and RECLEV.SOUND_MIXER_STEREODEVS	Read-onlyThis is a mask of which sound channels are capable of stereo.  Allchannels are capable of stereo.  (But see caveat on MIC input in I/OCONNECTIONS section above).SOUND_MIXER_OUTMASK	Read-onlyThis is a mask of channels that route inputs through to outputs.Those are LINE, MIC, and CD.SOUND_MIXER_RECMASK	Read-onlyThis is a mask of channels that can be recording sources.  Those arePCM, LINE, MIC, CD.SOUND_MIXER_PCM		Default: 0x5757 (0 dB)This is the gain control for PCM output.  The left and right channelgain are controlled independently.  This gain control has 64 levels,which range from -82.5 dB to +12.0 dB in 1.5 dB steps.  Those 64levels are mapped onto 100 levels at the ioctl, see below.SOUND_MIXER_LINE	Default: 0x4a4a (0 dB)This is the gain control for mixing the Line In source into theoutputs.  The left and right channel gain are controlledindependently.  This gain control has 32 levels, which range from-34.5 dB to +12.0 dB in 1.5 dB steps.  Those 32 levels are mapped onto100 levels at the ioctl, see below.SOUND_MIXER_MIC		Default: 0x4a4a (0 dB)This is the gain control for mixing the MIC source into the outputs.The left and right channel gain are controlled independently.  Thisgain control has 32 levels, which range from -34.5 dB to +12.0 dB in1.5 dB steps.  Those 32 levels are mapped onto 100 levels at theioctl, see below.SOUND_MIXER_CD		Default: 0x4a4a (0 dB)This is the gain control for mixing the CD audio source into theoutputs.  The left and right channel gain are controlledindependently.  This gain control has 32 levels, which range from-34.5 dB to +12.0 dB in 1.5 dB steps.  Those 32 levels are mapped onto100 levels at the ioctl, see below.SOUND_MIXER_RECLEV	 Default: 0 (0 dB)This is the gain control for PCM input (RECording LEVel).  The leftand right channel gain are controlled independently.  This gaincontrol has 16 levels, which range from 0 dB to +22.5 dB in 1.5 dBsteps.  Those 16 levels are mapped onto 100 levels at the ioctl, seebelow.SOUND_MIXER_RECSRC	 Default: SOUND_MASK_LINEThis is a mask of currently selected PCM input sources (RECordingSouRCes).  Because the AD1843 can only have a single recording sourceat a time, only one bit at a time can be set in this mask.  Theallowable values are SOUND_MASK_PCM, SOUND_MASK_LINE, SOUND_MASK_MIC,or SOUND_MASK_CD.  Selecting SOUND_MASK_PCM sets up internalresampling which is useful for loopback testing and for hardwaresample rate conversion.  But software sample rate conversion isprobably faster, so I don't know how useful that is.SOUND_MIXER_OUTSRC	DEFAULT: SOUND_MASK_LINE|SOUND_MASK_MIC|SOUND_MASK_CDThis is a mask of sources that are currently passed through to theoutputs.  Those sources whose bits are not set are muted.==============================================================================GAIN CONTROLThere are five gain controls listed above.  Each has 16, 32, or 64steps.  Each control has 1.5 dB of gain per step.  Each control isstereo.The OSS defines the argument to a channel gain ioctl as having twocomponents, left and right, each of which ranges from 0 to 100.  Thetwo components are packed into the same word, with the left side gainin the least significant byte, and the right side gain in the secondleast significant byte.  In C, we would say this.	#include <assert.h>	...	 	assert(leftgain >= 0 && leftgain <= 100);		assert(rightgain >= 0 && rightgain <= 100);		arg = leftgain | rightgain << 8;So each OSS gain control has 101 steps.  But the hardware has 16, 32,or 64 steps.  The hardware steps are spread across the 101 OSS stepsnearly evenly.  The conversion formulas are like this, given N equals16, 32, or 64.	int round = N/2 - 1;	OSS_gain_steps = (hw_gain_steps * 100 + round) / (N - 1);	hw_gain_steps = (OSS_gain_steps * (N - 1) + round) / 100;Here is a snippet of C code that will return the left and right gainof any channel in dB.  Pass it one of the predefined gain_desc_tstructures to access any of the five channels' gains.	typedef struct gain_desc {		float min_gain;		float gain_step;		int nbits;		int chan;	} gain_desc_t;	const gain_desc_t gain_pcm    = { -82.5, 1.5, 6, SOUND_MIXER_PCM    };	const gain_desc_t gain_line   = { -34.5, 1.5, 5, SOUND_MIXER_LINE   };	const gain_desc_t gain_mic    = { -34.5, 1.5, 5, SOUND_MIXER_MIC    };	const gain_desc_t gain_cd     = { -34.5, 1.5, 5, SOUND_MIXER_CD     };	const gain_desc_t gain_reclev = {   0.0, 1.5, 4, SOUND_MIXER_RECLEV };	int get_gain_dB(int fd, const gain_desc_t *gp,			float *left, float *right)	{		int word;		int lg, rg;		int mask = (1 << gp->nbits) - 1;		if (ioctl(fd, MIXER_READ(gp->chan), &word) != 0)			return -1;	/* fail */		lg = word & 0xFF;		rg = word >> 8 & 0xFF;		lg = (lg * mask + mask / 2) / 100;		rg = (rg * mask + mask / 2) / 100;		*left = gp->min_gain + gp->gain_step * lg;		*right = gp->min_gain + gp->gain_step * rg;		return 0;	}	And here is the corresponding routine to set a channel's gain in dB.	int set_gain_dB(int fd, const gain_desc_t *gp, float left, float right)	{		float max_gain =			gp->min_gain + (1 << gp->nbits) * gp->gain_step;		float round = gp->gain_step / 2;		int mask = (1 << gp->nbits) - 1;		int word;		int lg, rg;		if (left < gp->min_gain || right < gp->min_gain)			return EINVAL;		lg = (left - gp->min_gain + round) / gp->gain_step;		rg = (right - gp->min_gain + round) / gp->gain_step;		if (lg >= (1 << gp->nbits) || rg >= (1 << gp->nbits))			return EINVAL;		lg = (100 * lg + mask / 2) / mask;		rg = (100 * rg + mask / 2) / mask;		word = lg | rg << 8;		return ioctl(fd, MIXER_WRITE(gp->chan), &word);	}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
肉丝袜脚交视频一区二区| 色拍拍在线精品视频8848| 91看片淫黄大片一级| 日韩欧美一区二区在线视频| 国产精品乱码一区二区三区软件 | 成人午夜电影久久影院| 欧美性大战久久久久久久蜜臀| 日韩精品一区二区三区视频播放| 亚洲精品成人精品456| 高清不卡一区二区| 精品国产人成亚洲区| 午夜视频一区二区| 欧美在线小视频| 国产精品成人免费在线| 国产麻豆91精品| 日韩欧美国产三级| 婷婷丁香激情综合| 欧美剧在线免费观看网站| 亚洲少妇中出一区| 99精品国产一区二区三区不卡| 久久精品网站免费观看| 韩国成人在线视频| 精品国产伦理网| 麻豆91在线观看| 欧美成人性战久久| 老司机精品视频一区二区三区| 91精品欧美综合在线观看最新| 一级做a爱片久久| 欧美专区亚洲专区| 亚洲一区在线播放| 欧美日韩1234| 青草国产精品久久久久久| 欧美人动与zoxxxx乱| 午夜精品久久久久久久| 欧美精品亚洲一区二区在线播放| 亚洲一区欧美一区| 欧美日本在线一区| 精品在线观看视频| 久久精品免视看| 99在线精品免费| 亚洲欧洲综合另类| 91麻豆精品国产91久久久| 日本中文在线一区| 亚洲精品在线免费观看视频| 韩国欧美国产1区| 国产精品三级电影| 日本韩国一区二区三区| 偷拍一区二区三区四区| 欧美一区二区精品| 国产激情视频一区二区在线观看| 2020国产精品自拍| 成人丝袜18视频在线观看| 亚洲欧洲日产国产综合网| 91精品福利在线| 日韩国产精品久久久久久亚洲| 日韩欧美国产综合| 夫妻av一区二区| 亚洲最快最全在线视频| 欧美一级二级三级乱码| 成人h动漫精品| 天天操天天干天天综合网| 久久日一线二线三线suv| 99久久免费精品高清特色大片| 亚洲国产精品久久艾草纯爱| 日韩美女在线视频| 91小视频在线观看| 久久66热re国产| 一区二区在线观看av| 久久综合五月天婷婷伊人| 91蜜桃免费观看视频| 亚洲第四色夜色| 国产精品欧美一级免费| 777奇米成人网| 成人黄色av网站在线| 丝袜美腿亚洲色图| 国产精品家庭影院| 日韩欧美久久一区| 色呦呦网站一区| 国产美女娇喘av呻吟久久| 一二三区精品福利视频| 日本一区二区三区国色天香 | 亚洲激情中文1区| 欧美videos中文字幕| 色狠狠桃花综合| 国产在线国偷精品免费看| 亚洲国产日韩综合久久精品| 国产精品久久久久久久第一福利 | 国产91精品在线观看| 性欧美疯狂xxxxbbbb| 亚洲色图丝袜美腿| 国产精品色哟哟网站| 久久精品夜色噜噜亚洲aⅴ| 日韩一二三区视频| 欧美视频一区二区| 色综合网站在线| 99久久夜色精品国产网站| 国产乱码字幕精品高清av| 久久精品国产色蜜蜜麻豆| 首页欧美精品中文字幕| 亚洲一区二区三区激情| 亚洲三级理论片| 亚洲日本欧美天堂| 国产精品久久久久影院| 欧美激情一区在线| 久久毛片高清国产| 国产午夜精品一区二区三区四区 | 色综合久久久久综合体| 丰满岳乱妇一区二区三区| 国产乱码字幕精品高清av| 国产资源在线一区| 精品一区二区三区在线播放 | 亚洲午夜精品久久久久久久久| 亚洲视频1区2区| 亚洲欧美色图小说| 亚洲综合视频在线| 香蕉久久一区二区不卡无毒影院 | 久久久久久久久久看片| 久久精品视频免费| 国产午夜亚洲精品理论片色戒| 精品sm在线观看| 日本一区二区三区在线不卡| 中文字幕第一区二区| 亚洲色欲色欲www| 亚洲午夜精品网| 美国精品在线观看| 国产精品一区专区| 99视频精品在线| 欧亚洲嫩模精品一区三区| 欧美日本在线播放| 欧美电视剧在线看免费| 久久男人中文字幕资源站| 中文字幕在线一区| 亚洲综合久久久久| 久久精品国产99久久6| 国产精品综合视频| 色综合欧美在线| 欧美一区二区三区思思人| 精品成人一区二区三区四区| 日本一区二区视频在线| 亚洲丝袜自拍清纯另类| 午夜亚洲国产au精品一区二区| 麻豆91在线播放| av在线不卡电影| 91麻豆精品91久久久久久清纯| 精品成人在线观看| 一区二区三区四区亚洲| 日韩国产在线观看| 国产福利91精品| 欧美日韩精品一二三区| 久久九九久精品国产免费直播| 中文字幕在线观看一区| 三级欧美韩日大片在线看| 粉嫩久久99精品久久久久久夜| 欧美一区三区四区| 久久婷婷一区二区三区| 亚洲一区二区三区精品在线| 国产激情精品久久久第一区二区 | 国产精品精品国产色婷婷| 爽爽淫人综合网网站| 波多野结衣精品在线| 日韩欧美亚洲另类制服综合在线| 国产精品进线69影院| 久久97超碰国产精品超碰| 欧美视频自拍偷拍| 国产精品久99| 国产成人8x视频一区二区| 91精品国产麻豆国产自产在线| 成人免费在线观看入口| 精品一区二区三区欧美| 欧美日韩三级在线| 亚洲天堂a在线| 国产精品一二三四五| 欧美丰满少妇xxxxx高潮对白| 自拍偷自拍亚洲精品播放| 国产麻豆成人精品| 欧美一二三四在线| 亚瑟在线精品视频| 欧美综合亚洲图片综合区| 1区2区3区国产精品| 国产99久久久国产精品潘金网站| 日韩一卡二卡三卡| 日韩成人精品在线观看| 欧美影视一区二区三区| 亚洲日本va午夜在线影院| 国产福利91精品一区二区三区| 精品剧情v国产在线观看在线| 日韩精品一二三区| 91精品国产入口| 五月开心婷婷久久| 欧美美女黄视频| 亚洲成人动漫在线观看| 欧美怡红院视频| 亚洲国产精品一区二区www在线| 色综合久久久久综合| 亚洲另类春色国产| 欧美在线免费观看视频| 一区二区三区在线视频观看| 日本乱人伦一区| 亚洲国产美女搞黄色| 欧美中文一区二区三区|