alsa on h2210 issue? (mono audio gives error)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I am trying to make flite work on my HP Ipaq H2210.
It may be an Alsa issue, I don't know.

The short version of my troubles is at 
http://wiki.navit-project.org/index.php/Navit_on_%C3%85ngstr%C3%B6m#Alsa_and_flite 
.

Basically it is this:

root@h2200:~$ cat /proc/asound/cards
  0 [h2200 Audio    ]: h2200 Audio - h2200 Audio
                       iPAQ h2200 Audio [codec Philips UDA1380]
root@h2200:~$ aplay notify.wav
Playing WAVE 'notify.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, 
Stereo

So it works fine.

root@h2200:~$ cat /etc/asound.conf|grep -v ^#
pcm.dsp0 {
     type plug
     slave.pcm "dmix"
}

ctl.mixer0 {
     type hw
     card 0
}

pcm.10to20 {
type route
slave.pcm hw:0
slave.channels 2
ttable.0.0 1
ttable.0.1 1
}

That's the current config.
Then I start flite:

root@h2200:~$ flite -t Test
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.

When I use the 10to20 mono to stereo mapping I get:

root@h2200:~$ aplay -D10to20 notify.wav
Playing WAVE 'notify.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, 
Stereo
aplay: set_params:879: Broken configuration for this PCM: no 
configurations available

With flite I get a similar error when I want to make stereo from the 1 
channel that flite wants.


How can I solve this? Obviously I want flite to work.
Tips are very welcome!

Kind regards,
Udo

------------------------------------------------------------------------------
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux