Re: [Alsa-user] [RME Hammerfall] Using multiple channels
Brought to you by:
perex
From: Jaroslav K. <pe...@su...> - 2002-07-18 06:54:35
|
On Thu, 18 Jul 2002, Jesper - Servicez.org wrote: > Guys/Lady's, > > My boss gave me a RME952 Hammerfall to use it in Linux, i asked specificly for > that card, because of the great stories i found on the alsa-website. > > Now i'm busy with it for 2 weeks, and it still doesn't work the way i want it. > > I only want to play, on multiple channels! > > What i did: > > - I compiled all alsa-packages, compiled the 'driver' package with oss support > and support for my card > - Make install, reboot, etc > > When i load my driver, it says nothing at all so it seems to be okay.. > > When i try to listen now, i hear my music (tits.mp3, but that doesn't matter > :-), but it plays over all (8 in our situation) channels we've connected. That's right. Stereo is expanded to all channels. > What i want, is playing music and tell mpg123 (for example) the channel it > should play on. It's not as easy as it looks. RME cards are designed especially for HDR operations. All channels are running in sync and simultaneously. So, if you want to share this device with more applications, you need to create an arbiter which multiplexes all sources. Timing is problematic in this case (you need to place starting samples into running buffer, so we cannot guarantee that you'll have all samples on output, or - using some ahead - you'll have more samples on output). We have a solution, but we need more time to debug / develop some robust code. Anyway, I don't see your real goal. Why you need to have 22 hammerfalls? Perhaps some consumer hardware might solve your problem. > When it works; can anybody tell me how to donate some money to the > alsa-project? Ask me privately, when you are satisfied with our code. Jaroslav ----- Jaroslav Kysela <pe...@su...> Linux Kernel Sound Maintainer ALSA Project http://www.alsa-project.org SuSE Linux http://www.suse.com |