All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: "fmoraes74@netzero.net" <fmoraes74@netzero.net>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: emu10k1x patch
Date: Tue, 25 May 2004 11:42:48 +0200	[thread overview]
Message-ID: <s5hisekx2p3.wl@alsa2.suse.de> (raw)
In-Reply-To: <20040524.180130.29254.73272@webmail13.nyc.untd.com>

At Tue, 25 May 2004 01:00:58 GMT,
fmoraes74@netzero.net wrote:
> 
> 188,189c188,189
> <       .period_bytes_min =     64,
> <       .period_bytes_max =     (32*1024),
> ---
> >       .period_bytes_min =     (16*1024),
> >       .period_bytes_max =     (16*1024),

are you sure this change is correct?
in the current code, the period size is always bound to
(buffer_size / 2)  (because periods_min = periods_max = 2).
so you don't have to limit period_bytes or period_size.

> 732,733c732,733
> <       //  snd_emu10k1x_intr_enable(chip, (INTE_CH_0_LOOP<<1);
> <       //  snd_emu10k1x_intr_enable(chip, INTE_CH_0_LOOP<<2);
> ---
> >       snd_emu10k1x_intr_enable(chip, (INTE_CH_0_LOOP|INTE_CH_0_HALF_LOOP)<<1);>       snd_emu10k1x_intr_enable(chip, (INTE_CH_0_LOOP|INTE_CH_0_HALF_LOOP)<<2);

hmm, it looks redundant.
the second line will override the setting of the first line.
i guess you wanted like the following?

	snd_emu10k1x_intr_enable(chip,
				(INTE_CH_0_LOOP|INTE_CH_0_HALF_LOOP)<<1 |
				(INTE_CH_0_LOOP|INTE_CH_0_HALF_LOOP)<<2);

Takashi


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click

  reply	other threads:[~2004-05-25  9:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-25  1:00 emu10k1x patch fmoraes74
2004-05-25  9:42 ` Takashi Iwai [this message]
     [not found] <20040525.045231.11598.19656@webmail16.nyc.untd.com>
2004-05-25 12:10 ` Takashi Iwai
  -- strict thread matches above, loose matches on Subject: below --
2004-07-06 22:04 fmoraes

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=s5hisekx2p3.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=fmoraes74@netzero.net \
    /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.