[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Linrad] Re: ALSA/4Front, Linrad-02.45a
- Subject: [Linrad] Re: ALSA/4Front, Linrad-02.45a
- From: Leif Asbrink <sm5bsz.com; leif@xxxxxxxxxxxxxxxx>
- Date: Sat, 19 Apr 2008 13:25:33 +0200
Hi Pierre and Roger,
> At runtime level , the function " display_sdi " in lsetad.c already
> checks whether OSS or ALSA is installed.
> This is done in a similar way as described by Roger W3SZ, by checking
> the presence of the file /dev/sndstat for OSS or the
> file /proc/asound/oss/sndstat for ALSA.
Hmmm, after thinking a little more I find that the current solution
is not so bad. What is needed is a good behaviour at compile time
and then /dev/sndstat might not be present. The important thing
is to check whether libasound.so exists and to avoid any references
to its entry points if it is not present. The amount of needless
code for ALSA that would be generated on a system with OSS which
has a libasound.so file is insignificant. I was just careless not
testing what happens when the file is not present...
I have corrected the setup bugs and replaced the Linux package
with linrad-02.45a here:
http://www.sm5bsz.com/linuxdsp/linroot.htm
73
Leif / SM5BSZ
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Linrad" group.
To post to this group, send email to linrad@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to linrad-unsubscribe@xxxxxxxxxxxxxxxx
For more options, visit this group at http://groups.google.com/group/linrad?hl=en
-~----------~----~----~----~------~----~------~--~---
LINRADDARNIL