All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: James Courtier-Dutton <James@superbug.demon.co.uk>
Cc: ALSA development <alsa-devel@alsa-project.org>
Subject: Re: [PATCH] Audigy LS support.
Date: Fri, 28 May 2004 12:07:41 +0200	[thread overview]
Message-ID: <s5hzn7ssw42.wl@alsa2.suse.de> (raw)
In-Reply-To: <40B63EBD.6060407@superbug.demon.co.uk>

At Thu, 27 May 2004 20:17:17 +0100,
James Courtier-Dutton wrote:
> 
> Here is my first go at Audigy LS support.
> It can play sound to the front speakers.

great!


> /* hardware definition */
> static snd_pcm_hardware_t snd_audigyls_playback_hw = {
> 	.info =			(SNDRV_PCM_INFO_MMAP | 
> 				 SNDRV_PCM_INFO_INTERLEAVED |
> 				 SNDRV_PCM_INFO_BLOCK_TRANSFER |
> 				 SNDRV_PCM_INFO_MMAP_VALID),
> 	.formats =		SNDRV_PCM_FMTBIT_S16_LE,
> 	.rates =		SNDRV_PCM_RATE_48000,
> 	.rate_min =		48000,
> 	.rate_max =		48000,
> 	.channels_min =		2,
> 	.channels_max =		2,
> 	.buffer_bytes_max =	(32*1024),
> 	.period_bytes_min =	64,
> 	.period_bytes_max =	(16*1024),
> 	.periods_min =		2,
> 	.periods_max =		16,
                                ^^
are you sure this is ok?
in the case of emu10k1, it generates irq twice per buffer (HALF and
BUFFER).  then periods_max must be 2.


anyway, the driver code is quite similar with emu10k1x.c.
i checked the diff between them and the amount of difference is really
small.
how about merging them?  then we can understand / maintain the codes
better.


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-28 10:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-27 19:17 [PATCH] Audigy LS support James Courtier-Dutton
2004-05-28 10:07 ` Takashi Iwai [this message]
2004-05-28 11:16   ` James Courtier-Dutton
2004-05-28 11:42     ` Takashi Iwai

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=s5hzn7ssw42.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=James@superbug.demon.co.uk \
    --cc=alsa-devel@alsa-project.org \
    /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.