Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Lee Revell <rlrevell@joe-job.com>
Cc: alsa-devel <alsa-devel@lists.sourceforge.net>,
	James Courtier-Dutton <James@superbug.co.uk>
Subject: Re: [PATCH] emu10k1: add 96Khz support and setting sample rate for	direct SPDIF output
Date: Tue, 08 Feb 2005 20:45:00 +0100	[thread overview]
Message-ID: <s5hwttiu98j.wl@alsa2.suse.de> (raw)
In-Reply-To: <1107724363.4212.74.camel@krustophenia.net>

At Sun, 06 Feb 2005 16:12:43 -0500,
Lee Revell wrote:
> 
> This patch should add support for 96Khz "direct SPDIF" aka "SPDIF
> Bypass" (not P16V) playback mode available on the Audigy1 and 2 and
> newer SBLives (?).  It lets you bypass the 48khz DSP resampling when
> using the card in digital mode.  It also adds 96khz analog playback
> support, good for testing but less interesting because it's downsampled
> to 48khz.  A new mixer control "Audigy SPDIF Output Sample Rate" is
> created, you can choose 44100, 48000, or 96000.  Standard SPDIF
> playback, AC3 passthrough (real 96khz playback), and analog playback
> (96khz is resampled to 48khz in the DSP) all work with a 16 bit,96khz
> wav file.  Only the last was tested due to lack of any SPDIF hardware.

What happens if you play in a non-matching sample rate or a strange
rate like 45000Hz?

> This was derived mostly from the opensource.creative.com driver.  All
> that was needed for 96khz playback to work in analog mode was changing
> the format to 8000_96000 (looks like the creative driver supports 192khz
> too).

192kHz results in pitch_target=0x10000, so needs a correction to
0xffff?   Just a guess.  I'll need to take a look at creative driver.


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

  reply	other threads:[~2005-02-08 19:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-06 21:12 [PATCH] emu10k1: add 96Khz support and setting sample rate for direct SPDIF output Lee Revell
2005-02-08 19:45 ` Takashi Iwai [this message]
2005-02-08 21:31   ` Lee Revell
2005-02-10 11:54     ` Takashi Iwai
2005-02-09 17:32   ` Lee Revell

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=s5hwttiu98j.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=James@superbug.co.uk \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=rlrevell@joe-job.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox