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

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

?? oss-emulation.txt

?? 鼎力推薦!本程序是基于嵌入式LUNUX系統(tǒng)開發(fā)的源程序代碼
?? TXT
字號:
		NOTES ON KERNEL OSS-EMULATION		=============================		Jan. 22, 2004  Takashi Iwai <tiwai@suse.de>Modules=======ALSA provides a powerful OSS emulation on the kernel.The OSS emulation for PCM, mixer and sequencer devices is implementedas add-on kernel modules, snd-pcm-oss, snd-mixer-oss and snd-seq-oss.When you need to access the OSS PCM, mixer or sequencer devices, thecorresponding module has to be loaded.These modules are loaded automatically when the corresponding serviceis called.  The alias is defined sound-service-x-y, where x and y arethe card number and the minor unit number.  Usually you don't have todefine these aliases by yourself.Only necessary step for auto-loading of OSS modules is to define thecard alias in /etc/modprobe.conf, such as	alias sound-slot-0 snd-emu10k1As the second card, define sound-slot-1 as well.Note that you can't use the aliased name as the target name (i.e."alias sound-slot-0 snd-card-0" doesn't work any more like the oldmodutils).The currently available OSS configuration is shown in/proc/asound/oss/sndstat.  This shows in the same syntax of/dev/sndstat, which is available on the commercial OSS driver.On ALSA, you can symlink /dev/sndstat to this proc file.Please note that the devices listed in this proc file appear onlyafter the corresponding OSS-emulation module is loaded.  Don't worryeven if "NOT ENABLED IN CONFIG" is shown in it.Device Mapping==============ALSA supports the following OSS device files:	PCM:		/dev/dspX		/dev/adspX	Mixer:		/dev/mixerX	MIDI:		/dev/midi0X		/dev/amidi0X	Sequencer:		/dev/sequencer		/dev/sequencer2 (aka /dev/music)where X is the card number from 0 to 7.(NOTE: Some distributions have the device files like /dev/midi0 and       /dev/midi1.  They are NOT for OSS but for tclmidi, which is       a totally different thing.)Unlike the real OSS, ALSA cannot use the device files more than theassigned ones.  For example, the first card cannot use /dev/dsp1 or/dev/dsp2, but only /dev/dsp0 and /dev/adsp0.As seen above, PCM and MIDI may have two devices.  Usually, the firstPCM device (hw:0,0 in ALSA) is mapped to /dev/dsp and the secondarydevice (hw:0,1) to /dev/adsp (if available).  For MIDI, /dev/midi and/dev/amidi, respectively.You can change this device mapping via the module options ofsnd-pcm-oss and snd-rawmidi.  In the case of PCM, the followingoptions are available for snd-pcm-oss:	dsp_map		PCM device number assigned to /dev/dspX			(default = 0)	adsp_map	PCM device number assigned to /dev/adspX			(default = 1)For example, to map the third PCM device (hw:0,2) to /dev/adsp0,define like this:	options snd-pcm-oss adsp_map=2The options take arrays.  For configuring the second card, specifytwo entries separated by comma.  For example, to map the third PCMdevice on the second card to /dev/adsp1, define like below:	options snd-pcm-oss adsp_map=0,2To change the mapping of MIDI devices, the following options areavailable for snd-rawmidi:	midi_map	MIDI device number assigned to /dev/midi0X			(default = 0)	amidi_map	MIDI device number assigned to /dev/amidi0X			(default = 1)For example, to assign the third MIDI device on the first card to/dev/midi00, define as follows:	options snd-rawmidi midi_map=2PCM Mode========As default, ALSA emulates the OSS PCM with so-called plugin layer,i.e. tries to convert the sample format, rate or channelsautomatically when the card doesn't support it natively.This will lead to some problems for some applications like quake orwine, especially if they use the card only in the MMAP mode.In such a case, you can change the behavior of PCM per application bywriting a command to the proc file.  There is a proc file for each PCMstream, /proc/asound/cardX/pcmY[cp]/oss, where X is the card number(zero-based), Y the PCM device number (zero-based), and 'p' is forplayback and 'c' for capture, respectively.  Note that this proc fileexists only after snd-pcm-oss module is loaded.The command sequence has the following syntax:	app_name fragments fragment_size [options]app_name is the name of application with (higher priority) or withoutpath.fragments specifies the number of fragments or zero if no specificnumber is given.fragment_size is the size of fragment in bytes or zero if not given.options is the optional parameters.  The following options areavailable:	disable		the application tries to open a pcm device for			this channel but does not want to use it.	direct		don't use plugins	block		force block open mode	non-block	force non-block open mode	partial-frag	write also partial fragments (affects playback only)	no-silence	do not fill silence ahead to avoid clicksThe disable option is useful when one stream direction (playback orcapture) is not handled correctly by the application although thehardware itself does support both directions.The direct option is used, as mentioned above, to bypass the automaticconversion and useful for MMAP-applications.For example, to playback the first PCM device without plugins forquake, send a command via echo like the following:	% echo "quake 0 0 direct" > /proc/asound/card0/pcm0p/ossWhile quake wants only playback, you may append the second commandto notify driver that only this direction is about to be allocated:	% echo "quake 0 0 disable" > /proc/asound/card0/pcm0c/ossThe permission of proc files depend on the module options of snd.As default it's set as root, so you'll likely need to be superuser forsending the command above.The block and non-block options are used to change the behavior ofopening the device file.As default, ALSA behaves as original OSS drivers, i.e. does not blockthe file when it's busy. The -EBUSY error is returned in this case.This blocking behavior can be changed globally via nonblock_openmodule option of snd-pcm-oss.  For using the blocking mode as defaultfor OSS devices, define like the following:	options snd-pcm-oss nonblock_open=0The partial-frag and no-silence commands have been added recently.Both commands are for optimization use only.  The former commandspecifies to invoke the write transfer only when the whole fragment isfilled.  The latter stops writing the silence data aheadautomatically.  Both are disabled as default.You can check the currently defined configuration by reading the procfile.  The read image can be sent to the proc file again, hence youcan save the current configuration	% cat /proc/asound/card0/pcm0p/oss > /somewhere/oss-cfgand restore it like	% cat /somewhere/oss-cfg > /proc/asound/card0/pcm0p/ossAlso, for clearing all the current configuration, send "erase" commandas below:	% echo "erase" > /proc/asound/card0/pcm0p/ossMixer Elements==============Since ALSA has completely different mixer interface, the emulation ofOSS mixer is relatively complicated.  ALSA builds up a mixer elementfrom several different ALSA (mixer) controls based on the namestring.  For example, the volume element SOUND_MIXER_PCM is composedfrom "PCM Playback Volume" and "PCM Playback Switch" controls for theplayback direction and from "PCM Capture Volume" and "PCM CaptureSwitch" for the capture directory (if exists).  When the PCM volume ofOSS is changed, all the volume and switch controls above are adjustedautomatically.As default, ALSA uses the following control for OSS volumes:	OSS volume		ALSA control		Index	-----------------------------------------------------	SOUND_MIXER_VOLUME 	Master			0	SOUND_MIXER_BASS	Tone Control - Bass	0	SOUND_MIXER_TREBLE	Tone Control - Treble	0	SOUND_MIXER_SYNTH	Synth			0	SOUND_MIXER_PCM		PCM			0	SOUND_MIXER_SPEAKER	PC Speaker 		0	SOUND_MIXER_LINE	Line			0	SOUND_MIXER_MIC		Mic 			0	SOUND_MIXER_CD		CD 			0	SOUND_MIXER_IMIX	Monitor Mix 		0	SOUND_MIXER_ALTPCM	PCM			1	SOUND_MIXER_RECLEV	(not assigned)	SOUND_MIXER_IGAIN	Capture			0	SOUND_MIXER_OGAIN	Playback		0	SOUND_MIXER_LINE1	Aux			0	SOUND_MIXER_LINE2	Aux			1	SOUND_MIXER_LINE3	Aux			2	SOUND_MIXER_DIGITAL1	Digital			0	SOUND_MIXER_DIGITAL2	Digital			1	SOUND_MIXER_DIGITAL3	Digital			2	SOUND_MIXER_PHONEIN	Phone			0	SOUND_MIXER_PHONEOUT	Phone			1	SOUND_MIXER_VIDEO	Video			0	SOUND_MIXER_RADIO	Radio			0	SOUND_MIXER_MONITOR	Monitor			0The second column is the base-string of the corresponding ALSAcontrol.  In fact, the controls with "XXX [Playback|Capture][Volume|Switch]" will be checked in addition.The current assignment of these mixer elements is listed in the procfile, /proc/asound/cardX/oss_mixer, which will be like the following	VOLUME "Master" 0	BASS "" 0	TREBLE "" 0	SYNTH "" 0	PCM "PCM" 0	...where the first column is the OSS volume element, the second columnthe base-string of the corresponding ALSA control, and the third thecontrol index.  When the string is empty, it means that thecorresponding OSS control is not available.For changing the assignment, you can write the configuration to thisproc file.  For example, to map "Wave Playback" to the PCM volume,send the command like the following:	% echo 'VOLUME "Wave Playback" 0' > /proc/asound/card0/oss_mixerThe command is exactly as same as listed in the proc file.  You canchange one or more elements, one volume per line.  In the lastexample, both "Wave Playback Volume" and "Wave Playback Switch" willbe affected when PCM volume is changed.Like the case of PCM proc file, the permission of proc files depend onthe module options of snd.  you'll likely need to be superuser forsending the command above.As well as in the case of PCM proc file, you can save and restore thecurrent mixer configuration by reading and writing the whole fileimage.Unsupported Features====================MMAP on ICE1712 driver----------------------ICE1712 supports only the unconventional format, interleaved10-channels 24bit (packed in 32bit) format.  Therefore you cannot mmapthe buffer as the conventional (mono or 2-channels, 8 or 16bit) formaton OSS.USB devices-----------Some USB devices support only 24bit format packed in 3bytes.  Thisformat is not supported by OSS and no conversion is provided by kernelOSS emulation.  You can use the user-space OSS emulation via libaossinstead.

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲1区2区3区4区| 久久精品视频免费观看| 亚洲美女视频在线观看| 成人国产精品免费网站| 国产精品久久夜| 色综合色狠狠天天综合色| 国产精品麻豆久久久| 不卡电影免费在线播放一区| 国产精品理伦片| 成人av电影在线播放| 亚洲精品国产精品乱码不99| 在线观看日韩毛片| 日韩精品乱码av一区二区| 在线综合亚洲欧美在线视频| 免费观看一级欧美片| 久久久久久久久免费| 99精品国产一区二区三区不卡| 自拍偷自拍亚洲精品播放| 欧美视频中文字幕| 免费三级欧美电影| 欧美韩国日本综合| 欧美婷婷六月丁香综合色| 日韩电影免费一区| 日本一区二区不卡视频| 欧美在线观看18| 久久成人免费电影| 亚洲欧洲国产日本综合| 欧美日韩免费高清一区色橹橹| 日韩精品每日更新| 中文字幕一区免费在线观看| 在线免费视频一区二区| 韩国三级中文字幕hd久久精品| 国产精品少妇自拍| 在线播放91灌醉迷j高跟美女| 国产精品自拍av| 亚洲最新视频在线播放| 精品国产乱码久久久久久图片 | 精品国产三级电影在线观看| 国产盗摄一区二区三区| 亚洲综合999| 亚洲精品一区二区三区精华液| 91丨porny丨在线| 精品一区二区三区不卡| 亚洲精品高清视频在线观看| 久久久国产精品午夜一区ai换脸| 色综合视频一区二区三区高清| 狠狠色丁香婷婷综合| 一区二区三区四区精品在线视频| 日韩欧美中文一区| 在线亚洲一区二区| 国产宾馆实践打屁股91| 日韩精品每日更新| 亚洲欧美国产77777| 久久婷婷综合激情| 欧美精品国产精品| 欧洲中文字幕精品| 成人sese在线| 国产一区二区三区视频在线播放| 亚洲图片欧美一区| 亚洲日本va午夜在线影院| 国产丝袜欧美中文另类| 欧美一区二区三区视频免费| 一本大道av伊人久久综合| 国产高清在线观看免费不卡| 蜜臀久久99精品久久久久久9 | 国产精品家庭影院| 久久久久久夜精品精品免费| 日韩一区二区电影| 欧美久久久久久久久中文字幕| 91视视频在线直接观看在线看网页在线看 | 高潮精品一区videoshd| 久草在线在线精品观看| 日本中文字幕一区二区有限公司| 一区二区在线观看视频| 亚洲人成7777| 亚洲丝袜制服诱惑| **性色生活片久久毛片| 国产精品久久久久久久久果冻传媒 | 国产亚洲婷婷免费| 久久精品网站免费观看| 亚洲欧美国产高清| 久久精品视频一区二区三区| 久久综合色播五月| 久久久久久黄色| 久久欧美中文字幕| 久久精品欧美一区二区三区麻豆| 久久日韩粉嫩一区二区三区| 精品黑人一区二区三区久久| 精品剧情在线观看| 26uuuu精品一区二区| 久久综合九色综合欧美亚洲| xnxx国产精品| 欧美韩国日本综合| 亚洲视频网在线直播| 亚洲欧美日韩国产综合在线| 一区二区三区日本| 亚洲高清免费观看| 久久精品国产第一区二区三区| 精品一区二区综合| 国产高清精品久久久久| www.欧美日韩国产在线| 在线观看日韩电影| 67194成人在线观看| 精品国产凹凸成av人网站| 国产女同性恋一区二区| 亚洲欧洲av在线| 亚洲成av人片一区二区梦乃| 免费av网站大全久久| 国产精品538一区二区在线| hitomi一区二区三区精品| 日本大香伊一区二区三区| 欧美精品粉嫩高潮一区二区| 久久综合999| 亚洲人成网站影音先锋播放| 天天亚洲美女在线视频| 狠狠网亚洲精品| 99综合影院在线| 欧美伦理视频网站| 久久一日本道色综合| 亚洲免费在线电影| 美女一区二区三区| 99精品视频中文字幕| 欧美一区二区三区不卡| 欧美激情在线看| 三级精品在线观看| 成人免费视频免费观看| 欧美日韩免费在线视频| 中文字幕乱码久久午夜不卡 | 中文字幕欧美激情一区| 亚洲成人你懂的| 国产成人精品亚洲午夜麻豆| 欧美午夜一区二区三区| 久久综合九色综合欧美就去吻| 一区二区三区免费在线观看| 精一区二区三区| 91久久精品网| 国产日韩v精品一区二区| 亚洲成人tv网| 99久久国产综合精品女不卡| 日韩亚洲欧美综合| 亚洲婷婷综合久久一本伊一区| 男人的j进女人的j一区| 91久久免费观看| 中日韩av电影| 经典一区二区三区| 欧美巨大另类极品videosbest| 亚洲欧美色图小说| 国产精品亚洲成人| 日韩一区二区三区在线| 亚洲国产精品久久人人爱| 99久久综合精品| 久久久久久久久久美女| 美女视频一区在线观看| 欧美人动与zoxxxx乱| 亚洲欧美另类久久久精品2019| 国产精品1区二区.| 精品va天堂亚洲国产| 日本麻豆一区二区三区视频| 欧美网站一区二区| 依依成人综合视频| 色网站国产精品| 国产精品天天看| 岛国av在线一区| 国产精品免费久久| 国产黄色精品视频| 欧美国产欧美亚州国产日韩mv天天看完整| 国产乱国产乱300精品| 欧美r级在线观看| 免费高清在线视频一区·| 欧美精品一二三| 日韩高清中文字幕一区| 777奇米成人网| 人人狠狠综合久久亚洲| 884aa四虎影成人精品一区| 婷婷中文字幕综合| 制服丝袜中文字幕亚洲| 轻轻草成人在线| 欧美mv日韩mv国产| 国产精品99久| 国产精品欧美综合在线| 99视频在线精品| 亚洲一区视频在线| 欧美撒尿777hd撒尿| 天天影视网天天综合色在线播放 | 一区二区三区国产豹纹内裤在线| 91免费视频网址| 夜夜嗨av一区二区三区四季av| 欧美日韩一区二区三区四区 | 国产亚洲午夜高清国产拍精品| 国模冰冰炮一区二区| 中文字幕欧美国产| 91理论电影在线观看| 一区二区三区欧美日韩| 欧美剧情电影在线观看完整版免费励志电影| 亚洲小说欧美激情另类| 欧美一二三区精品| 高清在线不卡av| 一区二区三区**美女毛片| 欧美一区二区在线观看| 国产一区二区三区最好精华液|