这算不算已装好ALSA
Now ALSA is ready to use.For adjustment of volumes, use your favorite mixer.
Have a lot of fun! alias eth0 ne2k-pci
alias snd-card-1 snd-intel8x0
options snd-card-1 index=1
install snd-intel8x0 /sbin/modprobe --ignore-install snd-intel8x0 && /usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove snd-intel8x0 { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-intel8x0
alias snd-card-0 snd-ice1724
options snd-card-0 index=0
install snd-ice1724 /sbin/modprobe --ignore-install snd-ice1724 && /usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove snd-ice1724 { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-ice1724
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 1.0.5rc1 ---
alias snd-card-0 snd-ice1724
alias sound-slot-0 snd-ice1724
# --- END: Generated by ALSACONF, do not edit. --- # modprobe snd-card-ice1724
FATAL: Module snd_card_ice1724 not found.
# modprobe snd-ice1724
# # cd alsa-driver-1.0.5rc1
# ./snddevices
Creating /dev/mixer?... done
Creating /dev/sequencer... done
Creating /dev/midi0?... done
Creating /dev/dsp?... done
Creating /dev/audio?... done
Creating /dev/sndstat... done
Creating /dev/music... done
Creating /dev/dmmidi?... done
Creating /dev/dmfm?... done
Creating /dev/amixer?... done
Creating /dev/adsp?... done
Creating /dev/amidi?... done
Creating /dev/admmidi?... done
创建连至‘/dev/mixer0’的符号链接‘/dev/mixer’
创建连至‘/dev/midi00’的符号链接‘/dev/midi’
创建连至‘/dev/dsp0’的符号链接‘/dev/dsp’
创建连至‘/dev/audio0’的符号链接‘/dev/audio’
创建连至‘/dev/music’的符号链接‘/dev/sequencer2’
创建连至‘/dev/adsp0’的符号链接‘/dev/adsp’
创建连至‘/dev/amidi0’的符号链接‘/dev/amidi’
rm: 无法删除‘/dev/snd’: 是一个目录
Creating /dev/snd/control?... done
Creating /dev/snd/seq... done
Creating /dev/snd/timer... done
Creating /dev/snd/hw??... done
Creating /dev/snd/midi??... done
Creating /dev/snd/pcm??p... done
Creating /dev/snd/pcm??c... done
ALSA loader devices
Creating /dev/aload?... done
Creating /dev/aloadSEQ... done
# 把你相要的模块放到/dev/modules中。 把你相要的模块放到/dev/modules中
可是怎末放呢?我能测到声卡,听到电流声,但没有真的声音
请指点! 错了,是/etc/modules中。
Sorry! # mplayer /home/ma/mp3/xtqyjm.mp3
MPlayer dev-CVS-050129-13:00-3.4.2 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred (Family: 6, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags:MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE
Failed to open /dev/rtc: Device or resource busy (it should be readable by the user.)
Playing /home/ma/mp3/xtqyjm.mp3.
Audio file detected.
Clip info:
Title:
Artist:
Album:
Year:
Comment:
Genre: Other
==========================================================================
Opening audio decoder: MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, 16 bit (0x9), ratio: 16000->176400 (128.0 kbit)
Selected audio codec: afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little-endian 16-bit signed int
AF_pre: 44100Hz 2ch little-endian 16-bit signed int
audio_setup: Can't open audio device /dev/dsp: Device or resource busy
alsa-init: 1 soundcard found, using: default
alsa-init: playback open error: No such file or directory
can't connect to aRts soundserver
esd_open_sound failed: Connection reset by peer
Samplerate: 44100Hz Channels: Stereo Format s16le
warning: leaving MCOP Dispatcher and still 146 types alive.
Unable to open audio: No available audio device
AO: 44100Hz 2ch little-endian 16-bit signed int (2 bps)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Video: no video
Starting playback...
A: 269.2 (04:29.1)1.3%
Exiting... (End of file)
页:
[1]