All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Courtier-Dutton <James@superbug.co.uk>
To: ocsi@debian.org
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: ca0106 (audigyls) driver: working in 5.1?
Date: Wed, 05 Jan 2005 23:32:28 +0000	[thread overview]
Message-ID: <41DC790C.5080608@superbug.co.uk> (raw)
In-Reply-To: <20050105215446.GA6777@elte.hu>

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

      reply	other threads:[~2005-01-05 23:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-05 21:54 ca0106 (audigyls) driver: working in 5.1? Lenart Janos
2005-01-05 23:32 ` James Courtier-Dutton [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41DC790C.5080608@superbug.co.uk \
    --to=james@superbug.co.uk \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=ocsi@debian.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.