[Alsa-user] sound on H2200 ipaq for flite
Brought to you by:
perex
From: Udo v. d. H. <ud...@xs...> - 2008-06-08 09:37:30
|
Hello, I am trying to get flite working on a HP iPAQ of the H2210 type. System sounds work. But when I run flite, I get: root@h2200:/etc$ flite -t "test 1 2 3" ALSA lib pcm_plug.c:773:(snd_pcm_plug_hw_refine_schange) Unable to find an usable access for '(null)' audio_open_alsa: failed to set number of channels to 1. Invalid argument. So the default sounds card is not default? (it is using null?) Also there might be a mono versus stereo issue. root@h2200:/etc$ cat asoundrc # # simple dmix configuration # pcm.dsp0 { type plug slave.pcm "dmix" } ctl.mixer0 { type hw card 0 } These are the defaults contents. A line like: pcm.!default default:h2200 Audio doesn't really help. root@h2200:/etc$ cat /proc/asound/cards 0 [h2200 Audio ]: h2200 Audio - h2200 Audio iPAQ h2200 Audio [codec Philips UDA1380] root@h2200:/etc$ aplay -L default:CARD=h2200 Audio h2200 Audio, h2200 Audio Default Audio Device null Discard all samples (playback) or generate zero samples (capture) Does anybody know how to make the config so that flite doesn't complain and sound works for applications? Kind regards, Udo |