alsa problem: cannot open device
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
stk (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: libstk0-dev
I am using the stk (packages above) on kubuntu 7.04.
It seems that I cannot access alsa devices.
The was fixed once I compliled the latest stk release from sources.
Here is a simple test program trying to allocate RtWvOut with the default parameters, and its output.
---
#include <RtWvOut.h>
using std::cout;
using std::endl;
int main(){
RtWvOut * test = NULL;
cout << "about to alloc" << endl;
test = new RtWvOut( );
cout << "allocated" << endl;
delete test;
cout << "de-allocated" << endl;
return 0;
}
---
This is what I get:
---
about to alloc
RtApi: no devices found for given stream parameters:
RtApiAlsa: channels (1) not supported by device (hw:I82801CAICH
RtApiAlsa: pcm device (hw:I82801CAICH3,1) won't open: No such file or directory.
RtApiAlsa: pcm device (hw:U0x4710x329,0) won't open: No such file or directory.
terminate called after throwing an instance of 'StkError'
Aborted (core dumped)
---
Once I dowload and compile the latest version of the library things work fine.
Enrico
Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue for you. Can you try with the latest Ubuntu release? Thanks in advance.