From: Takashi Iwai <tiwai@suse.de>
To: Sergey Vlasov <vsu@altlinux.ru>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: [PATCH] snd-via82xx: Support all sample rate conversion capabilities of DXS channels
Date: Mon, 11 Apr 2005 16:06:06 +0200 [thread overview]
Message-ID: <s5hzmw5o1bl.wl@alsa2.suse.de> (raw)
In-Reply-To: <20050410155320.GA2101@procyon.home>
At Sun, 10 Apr 2005 19:53:20 +0400,
Sergey Vlasov wrote:
>
> Hello!
>
> The current snd-via82xx driver does not use all capabilities of the
> DXS channels present in VIA VT8233/5/7 chips. In particular:
>
> - The driver only accepts sample rates which are supported by the
> AC'97 codec; however, the controller is able to perform sample rate
> conversion itself, therefore the codec limits do not apply (and even
> non-standard rates can be used).
>
> - The driver forces sample rates for all 4 DXS subdevices to be the
> same; however, the controller has separate sample rate converters
> for each channel.
>
> This patch adds support for these capabilities of the VT823x
> controller to the snd-via82xx driver. I have tested it with the ASUS
> A8V Deluxe board (VT8237 southbridge, Realtek ALC850 codec), with
> simultaneous output with different sample rates (48000, 44100, 8000,
> and some non-standard values like 44444, 12345, etc...). The SPDIF
> output also seems to work (tested with the Sony MZ-N1 portable
> minidisc recorder).
>
> To avoid breaking support of some other hardware which may not like
> this mode, the full DXS support is enabled only for known devices (the
> patch adds an entry for ASUS A8V Deluxe), or when the dxs_support=5
> option is used.
>
> When using dxs_support=5, the AC'97 sample rate is locked at 48000 Hz,
> and the controller performs sample rate conversion for each DXS
> channel. Therefore output with any sample rate between 8000 and 48000
> Hz is possible even if the codec supports only 48000 Hz (like ALC850,
> which does not support VRA). SPDIF rate is also locked to 48000 Hz.
>
> The patch was made for ALSA CVS version from yesterday.
>
> Best regards,
> Sergey Vlasov
>
>
> =======================================================================
>
> Add support for full sample rate conversion capabilities of DXS
> channels present in VIA VT8233/5/7 controllers:
>
> - any sample rate in the 8000 ... 48000 Hz range is supported even if
> the AC'97 codec supports only 48000 Hz output;
>
> - different DXS channels can use different sample rates at the same
> time (the controller performs required sample rate conversion and
> mixing in hardware).
>
> Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>
Thanks. I applied it to CVS.
If I understand correctly, this feature should be available on all
machines with dxs_support=4, but you added a new dxs_support entry
just to be sure not to break, right?
BTW, the SPDIF rate should be also 48k in dxs_support=4, too.
I'll fix this now...
Takashi
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
next prev parent reply other threads:[~2005-04-11 14:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-10 15:53 [PATCH] snd-via82xx: Support all sample rate conversion capabilities of DXS channels Sergey Vlasov
2005-04-11 14:06 ` Takashi Iwai [this message]
2005-04-11 14:40 ` Sergey Vlasov
2005-04-11 14:44 ` Takashi Iwai
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=s5hzmw5o1bl.wl@alsa2.suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@lists.sourceforge.net \
--cc=vsu@altlinux.ru \
/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.