All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anders Torger <torger@ludd.luth.se>
To: "alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>
Cc: Jaroslav Kysela <perex@suse.cz>
Subject: Digital sound card conventions
Date: Fri, 3 Jan 2003 20:44:04 +0100	[thread overview]
Message-ID: <200301032044.04034.torger@ludd.luth.se> (raw)


I'm doing a maintenance update on the rme96 driver, and I wonder if 
there are any conventions to follow in the driver concerning digital 
sound cards.

The specific questions are how to handle sample rates and sound formats 
on the input.

The sound card supports several sample rates and formats. What should 
happen if the user tries to open the input with 48000 kHz ADAT, but the 
format is actually 44100 kHz and SPDIF? I can allow it if I want to, 
the user will get data, but at 48000 kHz of course.

What should happen when there is no input signal at all? The hardware 
supports opening the input, but should I do so in the driver?

The signal can of course change in runtime as well...

I'm thinking of allowing it all, but I don't know if that is the right 
way to go.

/Anders Torger


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

             reply	other threads:[~2003-01-03 19:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-03 19:44 Anders Torger [this message]
2003-01-03 20:33 ` Digital sound card conventions Jaroslav Kysela
2003-01-03 21:27   ` Anders Torger
2003-01-03 21:47   ` Paul Davis
2003-01-03 22:03     ` Anders Torger

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=200301032044.04034.torger@ludd.luth.se \
    --to=torger@ludd.luth.se \
    --cc=alsa-devel@alsa-project.org \
    --cc=perex@suse.cz \
    /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.