question regarding latest CS4205 laptop soundcard driver
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 4 lines
The trident cards can also do this. I believe that all cards that are actually capable of doing this and for which the docs have been provided have ALSA drivers that support it.
Well that's exactly where lies the problem. Most of the laptop soundcards have marginal Alsa (and for that matter OSS) support. The only ones that I am aware of so far of being able to do multiple hardware streams in Linux are es1969 (thanks to Patrick Shirkey) and Trident that you have mentioned (although I am not sure what model and in what laptop), and possibly Yamaha chipset. That is rather sparse choice and usually laptops that utilize these are either outdated or have other peripherals weak (i.e. marginal video card).
Quoted 1 line
Windows (WDM): i don't know.
WDM is good, since Sonar claims sub-7 ms latencies on average sound hardware in XP right out of the box.
Quoted 3 lines
They don't do it flawlessly. It works for many simple cases. ASIO, which until WDM showed up was by far the preferred driver API for audio, doesn't allow device sharing at all AFAIK.
I agree, my "flawless" statement was certainly overrated. Yet, the question remains: what am I to do as a musician needing to utilize my portable laptop while the apps/software I currently use get ported to the JACK architecture (if they get ported at all)? Please don't get me wrong, I do like to do programming, and I am about to join JACK community. Yet, I need to continue "churning" music as well in order to finish my degree. Programming alone will not get me there, although I love Linux for what it is, and would love to contribute as much as my time allows.
Quoted 5 lines
don't consider it so rudimentary. you think of it as basic because Windows and MacOS did it, but they did it at the expense of low latency use. When Apple finally fixed this (with CoreAudio), they have forced not only a completely new API but for many people (non-ASIO developers), a whole new design on their developer community.
Well, what if we had at least a temporary, even higher-latency solution, so that I could at least get some work done without worrying about these serious software limitations and trying to come-up with poor and temporary work-arounds?
Thanks for your insightful comments! Sincerely,
Ico
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel
Quoted 4 lines
I agree, my "flawless" statement was certainly overrated. Yet, the question remains: what am I to do as a musician needing to utilize my portable laptop while the apps/software I currently use get ported to the JACK architecture (if they get ported at all)?
1a) Get Abramo to post (or point to) detailed information on using a
"share" PCM device
1b) Get Abramo or Jaroslav to post (or point to) detailed information
on setting up libaoss (specifically, how to map /dev/dspN to a specific ALSA PCM device)
2) edit your ~/.asoundrc file to define a "share" PCM device
3) run all your legacy (OSS) apps with LD_PRELOAD set to preload libaoss. a small wrapper script is useful for this; ALSA may already come with one (*)
4) run all your newer (ALSA) apps with an argument telling it to use the "share" PCM device
and you should be done. if, that is, the "share" device type is really working. if not, you can help us debug it.
--p
(*) something like:
% cat aoss
#!/bin/sh
export LD_PRELOAD=/where/i/put/libaoss.so
exec $*
%
then you can just run OSS apps like this:
% aoss oss-app-name oss-app-args...
i know this appears hacky. like i said, there is no way around this because of the way OSS was designed.
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel
Quoted 5 lines
1a) Get Abramo to post (or point to) detailed information on using a
"share" PCM device1b) Get Abramo or Jaroslav to post (or point to) detailed information
on setting up libaoss (specifically, how to map/dev/dspNto a
specific
Quoted 5 lines
ALSA PCM device)
2) edit your ~/.asoundrc file to define a "share" PCM device
3) run all your legacy (OSS) apps with
LD_PRELOADset to preload
libaoss.
Quoted 20 lines
a small wrapper script is useful for this; ALSA may already come with one (*)
4) run all your newer (ALSA) apps with an argument telling it to use the "share" PCM device
and you should be done. if, that is, the "share" device type is really working. if not, you can help us debug it.
--p
(*) something like:
% cat aoss
#!/bin/shexport LD_PRELOAD=/where/i/put/libaoss.so
exec $*
%
Quoted 7 lines
then you can just run OSS apps like this:
% aoss oss-app-name oss-app-args...
i know this appears hacky. like i said, there is no way around this because of the way OSS was designed.
Wow, finally a huge step forward!:-)
I really do not care if it is a hacker-like way of doing stuff as long as it works. I will try fiddling with what you gave me and post some results when (and if) I get anywhere with it... Thanks once more for a concise explanation...
Is there anyone else with some kind of experience in this field? Maybe it is time to start documenting this potentially awesome feature... I could easily provide webspace and/or maintain the docs webpage if needed, as long as I can get a pool of people working on this issue with me... Anyone interested?
Ico
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel
Quoted 8 lines · Ivica Bukvic
Well that's exactly where lies the problem. Most of the laptop soundcards have marginal Alsa (and for that matter OSS) support. The only ones that I am aware of so far of being able to do multiple hardware streams in Linux are es1969 (thanks to Patrick Shirkey) and Trident that you have mentioned (although I am not sure what model and in what laptop), and possibly Yamaha chipset. That is rather sparse choice and usually laptops that utilize these are either outdated or have other peripherals weak (i.e. marginal video card).
I believe that the Maestro3i in the dell 8100 can do multiple streams:
I can run xmms (oss emulation) and jack (alsa native) at the same time, though that might be down to something else.
- Steve
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel