> I have installed fltk 2.0 in my pc (Linux fedora).

In fltk-2? 
I thought the sudoku demo was only in the fltk-1.x variants, I didn't
think there was a version of sudoku for fltk-2?



> When I try to run sudoku games application in the test 
> directory of fltk.
> 
> it gives the following error message .
> 
> 
> 
> Pulse Audio: Unable to create stream
> 
> 
> 
> Sudoku : pcm_pulse.c :115
> 
> 
> 
> Pulse -stop Assertion "pcm->stream" failed
> 
> 
> 
> How to solve this issue ?


This sounds like a configuration issue with the sound system on your
linux box.
What sound system have you selected for your linux box? Is it working
for other functions?

Anyway, I think the sudoku code assume that if it finds the ALSA
headers, you are using the ALSA sound system - but on some recent
distros (not sure about fedora) that may not be the case, i.e. they have
the ALSA headers installed, but your desktop environment may actually be
using some other sound system...
The sudoku code on linux is written specifically to work with ALSA, so
if you are not using ALSA, the sound will not work right.

<going OT>
I almost wonder if we should modify the sudoku code to assume the OSS
sound system... Not because anyone uses it much any more, but simply
because all the "new" and "improved" sound systems usually provide an
OSS emulation that at least works...
Sound under linux is (still) a bloody mess. I think we can safely say,
now, that ALSA has *not* been the panacea that it was supposed to be
when it first appeared, unfortunately.

-- 
Ian







SELEX Sensors and Airborne Systems Limited
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to