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

Bug#591717: espeak: Library unble to open soundcard.



On Tuesday 21 of September 2010, Gilles Casse wrote:
> The previous advices from Jonathan Duddington should help Nicholas to
> select the correct device.
> 
> Otherwise, it is needed for tracking the issue to gather info on the
> hardware, run the portaudio tests, and eventually run portaudio in debug
> mode.
> 
> Notice: glob2 uses Portaudio for recording (as I understand the sources).

Hi,

I am getting the exactly same errors
here, while porting from KDE3.5 to KDE4.
> $ espeak
> Expression 'parameters->channelCount <= maxChans' failed in
> 'src/hostapi/alsa/pa_linux_alsa.c', line: 926 Expression
> 'ValidateParameters( outputParameters, hostApi, StreamDirection_Out )'
> failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1144 Expression
> 'parameters->channelCount <= maxChans' failed in
> 'src/hostapi/alsa/pa_linux_alsa.c', line: 926 Expression
> 'ValidateParameters( outputParameters, hostApi, StreamDirection_Out )'
> failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1144 Expression
> 'parameters->channelCount <= maxChans' failed in
> 'src/hostapi/alsa/pa_linux_alsa.c', line: 926 Expression
> 'ValidateParameters( outputParameters, hostApi, StreamDirection_Out )'
> failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1144
> 
> wave_open_sound > Pa_OpenStream : err=-9996 (Invalid device)
> 
> wave_open_sound > Pa_OpenStream : err=-9996 (Invalid device)
> 
> wave_open_sound > Pa_OpenStream : err=-9996 (Invalid device)
> 
> wave_open_sound > Pa_OpenStream : err=-9996 (Invalid device)
> 
> wave_open_sound > Pa_OpenStream : err=-9996 (Invalid device)
> ^C

I want either subscribe to this topic and supply additional peaces of 
information:
1) While espeak produces these errors when run from command line, when it is 
selected as backend for speach dispatcher in KDE environment notifications 
sounds normally (e.g. speaking current time).

2) As seen from above quotes, the first checking (lines 926 and 1144) is done 
once (resp. thrice) when espeak starts, while wave_open_sound > Pa_OpenStream 
: err=-9996 (Invalid device) is produced each time new text is supplied (even 
if empty line entered). I tested this running espeak w/o parameters and 
pushing enter several times.

3) Same behavior for unprivileged user and root running espeak.

I am ready and willing to test non-source/packages intrusive experiments 
should you supply guidelines. I know my HW configuration well and can supply 
needed information upon request.

I am using 6ch repro set, relevant lspci part is as follows:
> 00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio
> Controller
> 
>         Subsystem: Giga-byte Technology GA-EP45-UD3R Motherboard
>         Flags: bus master, fast devsel, latency 0, IRQ 22
>         Memory at f3300000 (64-bit, non-prefetchable) [size=16K]
>         Capabilities: <access denied>
>         Kernel driver in use: HDA Intel

Running Debian Squeeze (testing)
uname -l
> Linux <CENSORED> 2.6.32-5-amd64 #1 SMP Wed Jan 12 03:40:32 UTC 2011 x86_64 
GNU/Linux

KDE version 4.4.5

-- 
Pavel Mendl
pavel_mendl@centrum.cz
Skype: pmendl (link skype:pmendl?call )
Jabber: pavel@jabber.pznet.rudna.net
ICQ: 37571535 



Reply to: