|
From: Christian S. <chr...@ep...> - 2003-12-13 00:22:33
|
Es geschah am Donnerstag, 11. Dezember 2003 05:15 als Mark Knecht schrieb:
> Hi,
> I changed the order of my sound cards. Now the onboard sound chip is
> #1 and the HDSP 9652 is #2. I tried running LinuxSampler with the
> onboard chip and it works but I haven't managed to get it working yet
> with the HDSP.
>
> I tried changing the two entries on lines 43 and 49 of audioio.cpp
> from hw:0,0 and plughw:0,0 to hw:1,0 and plughw:1,0, but when I try and
> run I get the following message:
>
> bash-2.05b$ linuxsampler --numfragments 2 --gig
> /mnt/samples/Gigs/Pianos/Bardstown\ Audio/The\ Bosendorfer\ Imperial\
> Grand\ Version\ 2.2.gig
> Initializing audio output...Error snd_pcm_hw_params_set_access: Invalid
> argument.
> bash-2.05b$
You forgot line 163:
bool AudioIO::HardwareParametersSupported(uint channels, int samplerate, uint
numfragments, uint fragmentsize) {
pcm_name = "hw:0,0";
...
Change that too and it will automatically fall back to plughw.
> I think it would be very helpful to get the basic options to choose the
> card, as well as the MIDI connection we've talked about, on the command
> line.
Sure, but unfortunately I'm very busy at the moment and I think that will last
til next week friday; have to take care of lot of projects at university.
Maybe kick Benno's ass that he should do something, but again; I'm sure you
can do such small and easy things too and help us to take some of our work
load.
Benno: what is the event system doing? Anything done in that area?
Btw: is nobody here on the list who wants to participate actively in the
project? There are a lot of open tasks in all kind of areas and with the end
of this year we need to start with a GUI.
Anyway, I'm still hopeful that we can finish complete gig support this year...
CU
Christian
|