Re: [Alsa-devel] EMU10K1 and the extra voice

2004-06-07 Thread Jaroslav Kysela
On Sun, 6 Jun 2004, Glenn Maynard wrote:

 On Sun, Jun 06, 2004 at 12:40:31PM +0200, Jaroslav Kysela wrote:
   Any relationship to the fact that I can only allocate 21 subdevices with
   ALSA, but 31 with DirectSound?
  
  Yes, 64 / 3 = 21 .
 
 That stinks (but if it's necessary for decent latency, which it doesn't
 get in Windows, oh well).  Shouldn't the driver report 21 substreams
 instead of 32, though?

Nope. For mono streams - 64 / 2 = 32.

Jaroslav

-
Jaroslav Kysela [EMAIL PROTECTED]
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs


---
This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel


Re: [Alsa-devel] EMU10K1 and the extra voice

2004-06-06 Thread Jaroslav Kysela
On Sat, 5 Jun 2004, Chris Purnell wrote:

 For PCM playback the EMU10K1 driver is allocating an extra voice.
 This is somewhat wastefull and I kind of need all 64 voices.
 Is appears to be using it to generate the period interrupts.
 Does anyone know what it would take to rewrite the driver to
 not need this extra voice?

I'm not sure, if it's possible in a simple way. The extra voice is
required to do the proper interrupt acknowledge. If I remember correctly,
the interrupts are going faster than voice position otherwise.

Anyway, it wouldn't be a big problem to update driver and create a new 
(ONE!) PCM device with multiple mixed channels (up to 63).

Jaroslav

-
Jaroslav Kysela [EMAIL PROTECTED]
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs


---
This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel


Re: [Alsa-devel] EMU10K1 and the extra voice

2004-06-06 Thread Jaroslav Kysela
On Sun, 6 Jun 2004, Glenn Maynard wrote:

 On Sat, Jun 05, 2004 at 12:59:36PM +, Chris Purnell wrote:
  For PCM playback the EMU10K1 driver is allocating an extra voice.
  This is somewhat wastefull and I kind of need all 64 voices.
  Is appears to be using it to generate the period interrupts.
  Does anyone know what it would take to rewrite the driver to
  not need this extra voice?
 
 Any relationship to the fact that I can only allocate 21 subdevices with
 ALSA, but 31 with DirectSound?

Yes, 64 / 3 = 21 .

Jaroslav

-
Jaroslav Kysela [EMAIL PROTECTED]
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs


---
This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel


Re: [Alsa-devel] EMU10K1 and the extra voice

2004-06-06 Thread Glenn Maynard
On Sun, Jun 06, 2004 at 12:40:31PM +0200, Jaroslav Kysela wrote:
  Any relationship to the fact that I can only allocate 21 subdevices with
  ALSA, but 31 with DirectSound?
 
 Yes, 64 / 3 = 21 .

That stinks (but if it's necessary for decent latency, which it doesn't
get in Windows, oh well).  Shouldn't the driver report 21 substreams
instead of 32, though?

-- 
Glenn Maynard


---
This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel


Re: [Alsa-devel] EMU10K1 and the extra voice

2004-06-05 Thread Glenn Maynard
On Sat, Jun 05, 2004 at 12:59:36PM +, Chris Purnell wrote:
 For PCM playback the EMU10K1 driver is allocating an extra voice.
 This is somewhat wastefull and I kind of need all 64 voices.
 Is appears to be using it to generate the period interrupts.
 Does anyone know what it would take to rewrite the driver to
 not need this extra voice?

Any relationship to the fact that I can only allocate 21 subdevices with ALSA,
but 31 with DirectSound?

ALSA: Advanced Linux Sound Architecture Driver Version 1.0.4rc2 (Tue Mar 30 08:19:30 
2004 UTC).
ALSA Driver: 0: Sound Blaster Live! [Live], device 0: emu10k1 [EMU10K1], 32/32 
subdevices avail
ALSA Driver: 0: Sound Blaster Live! [Live], device 3: emu10k1 [EMU10K1 FX8010], 8/8 
subdevices avail
ALSA: dsnd_pcm_hw_params: Cannot allocate memory
ALSA: Got 21 hardware buffers

vs

DirectSound Driver: SB Live! Audio [FF80] (ctaud2k.sys)
ID: {bd6dd71a-3deb-11d1-1252b90}
DirectSound sample rates: 4000..191999 (continuous)
Got 31 hardware buffers

-- 
Glenn Maynard


---
This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel