All of lore.kernel.org
 help / color / mirror / Atom feed
From: Clemens Ladisch <clemens@ladisch.de>
To: Giovanni Maruzzelli <gmaruzz.lists@gmail.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: snd_dummy on Centos - Redhat
Date: Thu, 03 Sep 2009 15:05:59 +0200	[thread overview]
Message-ID: <4A9FBF37.6030106@ladisch.de> (raw)
In-Reply-To: <7c5010d60909030529w7f226cc1s18c80f1eb0deab3a@mail.gmail.com>

Giovanni Maruzzelli wrote:
> Yes, CONFIG_PREEMPT* are probably different between the various
> kernels, and also the compiled kernel is tickless.
> 
> But, this is a problem only with snd-dummy.

The interrupts of other drivers are based on the PCM stream clock, but
the snd-dummy driver has to emulate interrupts using the system timer,
so it is the only one affected by timer-related changes.

> What I would like, in the interest of users, is snd-dummy to be
> modified in a way that makes it working on the regular CentOS-RHEL
> kernels,

The driver relies on the kernel's system timer.  It might be possible
to rewrite it to use high-resolution timers, if the CentOS kernels
supports it.

It would be easier to try to change the constraints of the sound card
that snd-dummy tries to emulate; set USE_PERIODS_MIN to four or so,
and increase period_bytes_min to some value that is at least as large
as the numer of bytes per timer tick (with 2 channels and 16 bits at
48 kHz, there are 192000 bytes per second).


HTH
Clemens

  reply	other threads:[~2009-09-03 13:06 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-02 16:12 snd_dummy on Centos - Redhat Giovanni Maruzzelli
2009-09-02 16:26 ` Clemens Ladisch
2009-09-02 16:33   ` Giovanni Maruzzelli
2009-09-03 11:50     ` Clemens Ladisch
2009-09-03 12:29       ` Giovanni Maruzzelli
2009-09-03 13:05         ` Clemens Ladisch [this message]
2009-09-03 13:12           ` Giovanni Maruzzelli
2009-09-03 14:22             ` Giovanni Maruzzelli
2009-09-03 14:18       ` Takashi Iwai
2009-09-03 14:23         ` Giovanni Maruzzelli
2009-09-03 14:29           ` Takashi Iwai
2009-09-03 14:47             ` Giovanni Maruzzelli
2009-09-03 15:03               ` Giovanni Maruzzelli
2009-09-03 15:10                 ` Takashi Iwai
2009-09-03 15:12                   ` Giovanni Maruzzelli
2009-09-03 15:26                     ` Giovanni Maruzzelli
2009-09-03 15:29                       ` Takashi Iwai
2009-09-03 15:35                         ` Giovanni Maruzzelli
2009-09-03 15:41                           ` Takashi Iwai
2009-09-03 17:06                             ` Giovanni Maruzzelli
     [not found]                             ` <7c5010d60909031003l317d7325s9082a30c418a28f8@mail.gmail.com>
     [not found]                               ` <s5hzl9bc3mo.wl%tiwai@suse.de>
2009-09-03 19:10                                 ` Giovanni Maruzzelli
2009-09-03 20:31                                   ` Giovanni Maruzzelli
     [not found]                                 ` <7c5010d60909031127m51a91cceqbe48f3115a0ef6d2@mail.gmail.com>
     [not found]                                   ` <s5h1vmnde4b.wl%tiwai@suse.de>
     [not found]                                     ` <7c5010d60909031252v25a71577s3655297e47aa6fa2@mail.gmail.com>
2009-09-03 21:37                                       ` Takashi Iwai
2009-09-03 22:03                                         ` Giovanni Maruzzelli
     [not found]                                           ` <7c5010d60909031543v4291a332ge415f91f3412dda@mail.gmail.com>
2009-09-03 22:47                                             ` Giovanni Maruzzelli
2009-09-04  6:58                                             ` Takashi Iwai
2009-09-04  7:57                                               ` Giovanni Maruzzelli
2009-09-04  9:14                                                 ` Giovanni Maruzzelli
2009-09-04  9:20                                                   ` Takashi Iwai
2009-09-04  9:33                                                     ` Giovanni Maruzzelli
2009-09-04 10:18                                                       ` Takashi Iwai
2009-09-04 10:23                                                         ` Giovanni Maruzzelli
2009-09-04 10:26                                                         ` Takashi Iwai
2009-09-04 10:38                                                           ` Giovanni Maruzzelli
2009-09-04 10:54                                                             ` Giovanni Maruzzelli
2009-09-04 10:59                                                               ` Takashi Iwai
2009-09-04 11:10                                                                 ` Giovanni Maruzzelli
2009-09-04 11:02                                                             ` Takashi Iwai
2009-09-04 11:11                                                               ` Giovanni Maruzzelli
2009-09-04 16:10                                                                 ` Giovanni Maruzzelli
2009-09-07 11:00                                                                   ` Giovanni Maruzzelli
2009-09-07 11:07                                                                     ` Takashi Iwai
2009-09-07 19:05                                                                       ` Giovanni Maruzzelli
2009-09-08 13:19                                                                         ` Takashi Iwai
2009-09-08 13:29                                                                           ` Giovanni Maruzzelli
2009-09-08 13:36                                                                             ` Takashi Iwai
2009-09-08 15:05                                                                               ` Giovanni Maruzzelli
2009-09-08 15:10                                                                                 ` Takashi Iwai
2009-09-08 15:34                                                                                   ` Giovanni Maruzzelli
2009-09-08 15:50                                                                                     ` Takashi Iwai
2009-09-03  8:49   ` Giovanni Maruzzelli

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=4A9FBF37.6030106@ladisch.de \
    --to=clemens@ladisch.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=gmaruzz.lists@gmail.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 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.