|
From: <be...@ga...> - 2003-10-28 14:41:26
|
Scrive Mark Knecht <mar...@co...>:
>
> Robert,
> Thanks. That downloaded and built fine, but it's not running:
>
>
> bash-2.05b$ cd LSt/linuxsampler/
>
> bash-2.05b$ ./linuxsampler --gig ../Gigs/Mellotron\ 8Voice.gig
> Initializing audio output...Error snd_pcm_hw_params_set_access: Invalid
> argument.
> bash-2.05b$
>
> This machine is using the infamous HDSP 9652. I can try it on my GSt
> machine later this afternoon. That machine uses a Hammerfall Light and
> has lots of gig files.
This is because we currently use direct ALSA hw audio out and I've added
only code for 16bit/44.1kHz stereo to the AudioIO class.
Anyway as a quick solution you could try to
use the plughw: ALSA mode (where ALSA does the conversion between
audio fromat requested by the app and audio format supported by the card):
edit the file audioio.cpp
and at line 59
replace:
pcm_name = strdup("hw:0,0");
with:
pcm_name = strdup("plughw:0,0");
make clean; make
and try again.
Please let us know if it works.
If not then we will have to add code that supports the Hammerfall audio
settings.
You could either try to do this by yourself (if you have the necessary skills)
or I could do this by myself. I have a Hammerfall 9656 here and I assume
that the audio wordsizes are the same so I guess code that runs on that box
runs on on the HDSP too.
Anyway I just hope plughw: works so it saves us additional work.
Well this is a classic case why jackd is so beneficial: you are freed from
the burden of supporting several kinds of audio interfaces, multichannel stuff,
word sizes, sampling rates etc.
As said jackd support will come next but for now we need direct ALSA out
support for latency profiling reasons. This is fundamental for the initial
development and tuning phase.
Mark if we don't get plughw: working I'll make sure to add
HDSP support to the AudioIO class because you are very valuable and important
for ironing out playback problems, compatibility with large GIG libs etc.
Let us know about plughw please.
(the conversion in ALSA is pretty efficient so
the added overhead is quite low and the performance is almost as same
as when doing the conversion in the app itself).
Benno
>
> - Mark
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: The SF.net Donation Program.
> Do you like what SourceForge.net is doing for the Open
> Source Community? Make a contribution, and help us add new
> features and functionality. Click here: http://sourceforge.net/donate/
> _______________________________________________
> Linuxsampler-devel mailing list
> Lin...@li...
> https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel
>
-------------------------------------------------
This mail sent through http://www.gardena.net
|