From: Takashi Iwai <tiwai@suse.de>
To: Richard Lemon <richard@clinicdesign.com.au>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: possible intel8x0 problem with nforce chip-set
Date: Tue, 21 Oct 2003 17:56:41 +0200 [thread overview]
Message-ID: <s5hfzhmd1om.wl@alsa2.suse.de> (raw)
In-Reply-To: <1066708119.13971.10.camel@baked.spud.com>
At 21 Oct 2003 13:18:39 +0930,
Richard Lemon wrote:
>
>
> Hi Guys,
>
> I have been using the alsa api for a while working on some multimedia
> stuff.
>
> I believe I have found a bug with the intel8x0 driver when running the
> nforce chip-set.
>
> The problem appears to be an uninitialized variable type problem. The
> first time you call snd_pcm_mmap_begin() the channels are returned in
> their pairs in a random order. That is the rear channels may end up in
> the front or Center/LFE slots, etc, the channel order does not change
> from then on.
>
> I compiled up the pcm.c test code and tried that out. This shows the
> problem, only worse. If you change the generate_sine function to the
> following to pick out one pair of channels only.
>
> if ((chn == 2) || (chn == 3))
> *samples[chn] = ires;
> else
> *samples[chn] = 0;
>
> then call pcm with the following...
> ./pcm -r 48000 -c 6 -m direct_noninterleaved
>
> I would expect silence from all but the rear pair. What we get is a
> sequencing of the audio through the 6 channels. It makes no difference
> which of the modes or rates I use.
>
> Am I just misusing the api or is this a bug?
it might be a hardware duplication / downmixing.
check whether all "Duplicate Front", "Surround Down Mix"
and "Center/LFE Down Mix" switches are off on alsamixer.
Takashi
-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
prev parent reply other threads:[~2003-10-21 15:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-21 3:48 possible intel8x0 problem with nforce chip-set Richard Lemon
2003-10-21 15:56 ` Takashi Iwai [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=s5hfzhmd1om.wl@alsa2.suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@lists.sourceforge.net \
--cc=richard@clinicdesign.com.au \
/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.