QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1033|回复: 7

这算不算已装好ALSA

[复制链接]
发表于 2005-12-5 18:52:38 | 显示全部楼层 |阅读模式
Now ALSA is ready to use.
For adjustment of volumes, use your favorite mixer.

Have a lot of fun!
 楼主| 发表于 2005-12-5 19:08:56 | 显示全部楼层
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. ---
回复

使用道具 举报

 楼主| 发表于 2005-12-5 19:21:35 | 显示全部楼层
[root@localhost ~]# modprobe snd-card-ice1724
FATAL: Module snd_card_ice1724 not found.
[root@localhost ~]# modprobe snd-ice1724
[root@localhost ~]#
回复

使用道具 举报

 楼主| 发表于 2005-12-5 19:23:28 | 显示全部楼层
[root@localhost ~]# cd alsa-driver-1.0.5rc1
[root@localhost 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
[root@localhost alsa-driver-1.0.5rc1]#
回复

使用道具 举报

发表于 2005-12-5 19:27:56 | 显示全部楼层
把你相要的模块放到/dev/modules中。
回复

使用道具 举报

 楼主| 发表于 2005-12-5 21:11:36 | 显示全部楼层
把你相要的模块放到/dev/modules中
可是怎末放呢?我能测到声卡,听到电流声,但没有真的声音
请指点!
回复

使用道具 举报

发表于 2005-12-5 23:08:16 | 显示全部楼层
错了,是/etc/modules中。
Sorry!
回复

使用道具 举报

 楼主| 发表于 2005-12-6 17:04:13 | 显示全部楼层
[root@localhost ~]# 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: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, 16 bit (0x9), ratio: 16000->176400 (128.0 kbit)
Selected audio codec: [mp3] 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
[AO OSS] 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
[AO ARTS] can't connect to aRts soundserver
[AO ESD] esd_open_sound failed: Connection reset by peer
[AO SDL] Samplerate: 44100Hz Channels: Stereo Format s16le
warning: leaving MCOP Dispatcher and still 146 types alive.
[AO SDL] Unable to open audio: No available audio device
AO: [null] 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)
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-16 04:30 , Processed in 0.038159 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表