Am 09.04.2012 13:04, schrieb Christoph Limbach:
> thats the output you suggested to me:

> lsmod | grep snd

> snd_hdsp               36315  1
...
> snd_hda_intel          15752  1
> snd_pcm                46335  4
>             snd_hdsp,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec


Hi Christoph,

so this part looks OKish.

As a sidenote: It shows me, that seemingly your on-board soundcard is handled
by the module 'snd_hda_intel'. Is that correct? In that case, you should use
that in the /etc/modprobe.d/sound  instead of the 'snd_ca0106' from my
configuration (which is for a soundblaster). Anhow, that's not the main
problem.

At least adding this file should now give you stable index numbers for the
hardware interfaces, with the Multiface allways appearing as second interface
(number 1).


In my case, in the recent years, I only got sound in Cinelerra working with
the Multiface through the OSS emulation. OSS was the first sound system for
Linux, it is obsolete since a long time, but still supported by a compatibility
layer, which forwards to ALSA.

In my system (Debian), for OSS to work, I needed to install this compatibility
layer; for this I installed the debian packages 'alsa-oss' and 'oss-compat'
I don't know if you need to do anything to get this oss emulation to work
on your system.

On my system, I can use OSS or ALSA in several applications, e.g. VLC.

In Cinelerra I use "OSS", set the "device path" to /dev/dsp1 and choose
16bit linear as format. Then sound appears on the first two channels in
the multiface (after having loaded hdspmixer once, of course).


Another thing you could try out (maybe you did that already?) is to see
if sound via your first (onboard) soundcard does work. That would be just
a cross check to eliminate any other problem regarding kernel or ALSA
configuration.


Of course, I would also be interested in getting ALSA to work in Cinelerra
with the Multiface. I must admit, I haven't tried overly hard lately, since
OSS works for me.


The following might be for the record, or interesting for developers:

For the Lumiera development, we did some primary experiments with ALSA, and
from there I know the "inward view". As a programmer, you definitively must
do more elaborate configuration steps to open ALSA successfully with the
hammerfall driver for the Multiface. There is a standard basic configuration
which you find in most ALSA tutorials. This code just opens a two channel
inteface with 16bit integer samples. This works for most consumer grade
interfaces but seemingly doesn't work for the Multiface.

In our preliminary experiments, we found out that we needed to set the
correct number of channels (all of them!), and we needed to set
 * SND_PCM_ACCESS_RW_NONINTERLEAVED
   (many tutorials and examples propose instead to use
    SND_PCM_ACCESS_RW_INTERLEAVED)
 * and as output sample format, we found most formats to be rejected
   immediately. With the exception of
   SND_PCM_FORMAT_UNKNOWN
   SND_PCM_FORMAT_S32
   The latter setting (32bit floating point samples) seems to be the right
   way to go, based on the properties and specs of the Multiface


We will continue to work on this stuff. What I want is to find a way to
write that ALSA code, so it can work with a wide range of interfaces and
allows to configure the necessary bits. This is a bit more challenging
than just rewriting some example code. But right now other things are
more important (for Lumiera) and, as usual, we're lacking developers ;-)


Cheers,
Hermann V.


_______________________________________________
Cinelerra mailing list
[email protected]
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra

Reply via email to