在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
Print help message, then exit.
Print version and quit.
List available sound cards and digital audio devices.
List all PCM (pulse-coded modulation, or digital audio) devices that have been defined. PCMs may be defined in the .
asoundrc file.
Select a PCM device by name.
Do not display messages.
Name the file type used. Files may be voc, wav, raw, or au.
Use n channels: 1 for mono, 2 for stereo.
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.
Set the sample rate in Hertz.
Set an interrupt for n seconds after playback begins.