Gaim的声音

1585阅读 0评论2007-08-31 InfoHunter
分类:LINUX

在KDE里装了一个Gaim上Google Talk,不过一直没有声音,非常不方便,有消息来的时候都没法提醒,在Ubuntu的论坛上搜索到了一个解决方法,如下:

在gaim的sounds选项卡里,把Method设置成command,然后在下面的框中输入"aplay -q %s",这样gaim就能发音了。

aplay的用途是对特定文件使用ALSA来播放之。具体用法如下:

aplay

aplay [options] [file]

Play sound files using the ALSA sound system. The related arecord records sound files.

Options

-h

Print help message, then exit.

--version

Print version and quit.

-l,--list-devices

List available sound cards and digital audio devices.

-L,--list-pcms

List all PCM (pulse-coded modulation, or digital audio) devices that have been defined. PCMs may be defined in the .asoundrc file.

-D,--device=devicename

Select a PCM device by name.

-q

Do not display messages.

-t,--file-type=type

Name the file type used. Files may be voc, wav, raw, or au.

-c,--channels=n

Use n channels: 1 for mono, 2 for stereo.

-f,--format=format

Specify the sample format. The sample formats available will depend on hardware. For CD and DAT output, use the cd and dat shortcuts, which set the sample rate, format, and channel numbers all at once.

-r,--rate=n

Set the sample rate in Hertz.

-d,--duration=n

Set an interrupt for n seconds after playback begins.

-s,--sleep-min=n

上一篇:启用新域名 - www.InfoHunter.cn
下一篇:终于出现垃圾广告了!