Yair K. wrote:
> Hi,
>
>   Two patches are attached:
>   1. The first fixes AudigyLS recording and was done by "Jonie" on the forum 
> ( http://4front-tech.com/forum/viewtopic.php?t=3226 ).  It corrects the 
> default input map calculation in the driver and adds support to the "AUX" 
> input found on some modules. It also adds a passthrough button/slider for 
> analog input.
>
>   2. The second is a misc. patch. It includes:
>          libsalsa changes:
>             A.  snd_pcm_hw_params_{get/set}_period_size*() functions are 
> allowed to get a NULL direction argument so don't assign blindly to *dir. 
> While at all, add a few more of these functions.
>             B. Use SNDCTL_ENGINEINFO instead of SNDCTL_AUDIOINFO since we're 
> already attached to an engine.
>   
Ok. Both diffs applied.
>            I doubt this library is best path to ALSA emulation (improving pcm-
> oss ALSA plugin is probably better), but the above changes get it to work for 
> a few programs (like speaker-test).
>   
I still think the best approach is to use the Cuckoo module. In this way 
ALSA takes care of most of the processing. Control gets passed to OSS at 
the lowest level which works pretty much in the same way in both systems.
>          init changes: include /lib/lsb/init-functions.
>          Some other misc. changes.
>
> P.S. The FreeBSD note at 
> http://manuals.opensound.com/developer/SNDCTL_AUDIOINFO.html is no longer 
> accurate, as OSS is capable of using redirection on FreeBSD 7.1 and above. I 
> suggest changing "FreeBSD" to "old versions of FreeBSD".
>
>   
Fixed.

Best regards,

Hannu
_______________________________________________
oss-devel mailing list
oss-devel@mailman.opensound.com
http://mailman.opensound.com/mailman/listinfo/oss-devel

Reply via email to