[Stk] RtWvOut and audio device on linux
Sat, 30 Jun 2007 09:36:39 +0200
I am trying to use the stk on kubuntu 7.04, and I am experiencing
problems with the real-time classes.
Here is a simple test program trying to allocate RtWvOut with the
default parameters, and its output.
RtWvOut * test = NULL;
cout << "about to alloc" << endl;
test = new RtWvOut( );
cout << "allocated" << endl;
cout << "de-allocated" << endl;
This is what I get:
about to alloc
RtApi: no devices found for given stream parameters:
RtApiAlsa: channels (1) not supported by device (hw:I82801CAICH3,0).
RtApiAlsa: pcm device (hw:I82801CAICH3,1) won't open: No such file
RtApiAlsa: pcm device (hw:U0x4710x329,0) won't open: No such file or
terminate called after throwing an instance of 'StkError'
Aborted (core dumped)
At the same time, audio seems to work fine on my machine. For example I
can play wave files with aplay.
Am I doing something obviously stupid?
Any suggestions and pointers are welcome.
Thank you in advance.