All of lore.kernel.org
 help / color / mirror / Atom feed
* ca0106 (audigyls) driver: working in 5.1?
@ 2005-01-05 21:54 Lenart Janos
  2005-01-05 23:32 ` James Courtier-Dutton
  0 siblings, 1 reply; 2+ messages in thread
From: Lenart Janos @ 2005-01-05 21:54 UTC (permalink / raw)
  To: alsa-devel

Hi!

I have a "Sound Blaster Live! 24 bit 7.1" soundcard. I am happily
reporting that analog output to two channels (simple stereo) is fully
working (at least for me) with the ca0106 (audigyls) driver.
However, I could not get it to work in 6 channels. I looked into the
code and got this from the main.c:

/* hardware definition */
static snd_pcm_hardware_t snd_ca0106_playback_hw = {
        ...
	.channels_min =		2,  //1,
	.channels_max =		2,  //6,
	.buffer_bytes_max =	(32*1024),
	.period_bytes_min =	64,
	.period_bytes_max =	(16*1024),
	.periods_min =		2,
	.periods_max =		8,
	.fifo_size =		0,
};

Hmm. Why is the comment for .channels_min and .channels_max? [Please
note that I definetly not kernel developer] I tried to change them to 1
and 6. No success. In this case, when I try to play anything in _not_ 2
channels it's seems too slow (the whole box, and the sound too) and
distorted. I found out ( ;) ), that I should increase the
.period_bytes_{min,max} too. I tried as I found in other driver, but no
success so far.
So.. the question is: does anyone have a ca0106 driver which works for
5.1 (I don't care with 7.1), or such just does not exists at all?

Thank you all, and please, do not forgot to Cc: me, as I am not
subscribed to this list!

Regards,
-- 
LENART, Janos
<ocsi@debian.org>


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: ca0106 (audigyls) driver: working in 5.1?
  2005-01-05 21:54 ca0106 (audigyls) driver: working in 5.1? Lenart Janos
@ 2005-01-05 23:32 ` James Courtier-Dutton
  0 siblings, 0 replies; 2+ messages in thread
From: James Courtier-Dutton @ 2005-01-05 23:32 UTC (permalink / raw)
  To: ocsi; +Cc: alsa-devel

Lenart Janos wrote:
> Hi!
> 
> I have a "Sound Blaster Live! 24 bit 7.1" soundcard. I am happily
> reporting that analog output to two channels (simple stereo) is fully
> working (at least for me) with the ca0106 (audigyls) driver.
> However, I could not get it to work in 6 channels. I looked into the
> code and got this from the main.c:
> 
> /* hardware definition */
> static snd_pcm_hardware_t snd_ca0106_playback_hw = {
>         ...
> 	.channels_min =		2,  //1,
> 	.channels_max =		2,  //6,
> 	.buffer_bytes_max =	(32*1024),
> 	.period_bytes_min =	64,
> 	.period_bytes_max =	(16*1024),
> 	.periods_min =		2,
> 	.periods_max =		8,
> 	.fifo_size =		0,
> };
> 
> Hmm. Why is the comment for .channels_min and .channels_max? [Please
> note that I definetly not kernel developer] I tried to change them to 1
> and 6. No success. In this case, when I try to play anything in _not_ 2
> channels it's seems too slow (the whole box, and the sound too) and
> distorted. I found out ( ;) ), that I should increase the
> .period_bytes_{min,max} too. I tried as I found in other driver, but no
> success so far.
> So.. the question is: does anyone have a ca0106 driver which works for
> 5.1 (I don't care with 7.1), or such just does not exists at all?
> 
> Thank you all, and please, do not forgot to Cc: me, as I am not
> subscribed to this list!
> 
> Regards,

Hehe, the comments should not be there.
If you want 5.1 output, open the alsa device name "plug:surround51" 
instead of "default" or "plug:front" that give only stereo.



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-01-05 23:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-05 21:54 ca0106 (audigyls) driver: working in 5.1? Lenart Janos
2005-01-05 23:32 ` James Courtier-Dutton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.