Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Martijn Sipkema" <msipkema@sipkema-digital.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: Fw: writing audiowerk driver (philips saa7146a), some questions
Date: Fri, 31 May 2002 15:36:51 +0100	[thread overview]
Message-ID: <000c01c208b0$a18fd720$0400a8c0@martijn> (raw)
In-Reply-To: s5helfsh319.wl@alsa2.suse.de

> there is a runtime instance for a pcm stream, and this holds the
> informaton such as the current rate, channels, formats, etc.
> there is no pitch parameter implemented in alsa, but this can be added
> easily into the runtime instance, if inevitablly necessary.

i don't think the audiowerk is the only card capable of varipitch, though
most cards don't support it, but it is a nice feature and since alsa is
supposed to be advanced... :)

> alsa pcm engine invokes a timer interrupt to update the "tick", and
> this tick is determined using the rate of the runtime instance.
> if you change the rate value dynamically during playback, then the
> tick interrupt will be wrongly scheduled, and leads to wrong detection
> of under/overrun.

shouldn't the driver detect under/overrun? would a soundcard with a
bad dac (as in not accurate) also cause problems?


--martijn






_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

  reply	other threads:[~2002-05-31 14:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-31 10:38 Fw: writing audiowerk driver (philips saa7146a), some questions Martijn Sipkema
2002-05-31 11:03 ` tomasz motylewski
2002-05-31 12:22   ` Martijn Sipkema
2002-05-31 11:26 ` Takashi Iwai
2002-05-31 13:05   ` Martijn Sipkema
2002-05-31 13:15     ` Takashi Iwai
2002-05-31 14:36       ` Martijn Sipkema [this message]
     [not found]         ` <s5h7klkh1ba.wl@alsa2.suse.de>
2002-05-31 18:11           ` Martijn Sipkema
2002-06-03 11:26 ` Bob Ham
2002-06-03 12:49   ` Fw: writing audiowerk driver (philips saa7146a),some questions Martijn Sipkema

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='000c01c208b0$a18fd720$0400a8c0@martijn' \
    --to=msipkema@sipkema-digital.com \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=tiwai@suse.de \
    /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