Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: James Courtier-Dutton <James@superbug.co.uk>
Cc: ALSA development <alsa-devel@alsa-project.org>
Subject: Re: [PATCH] Add framework for better audigy sound card capabilities selection.
Date: Tue, 22 Mar 2005 10:56:04 +0100	[thread overview]
Message-ID: <s5hwts02edn.wl@alsa2.suse.de> (raw)
In-Reply-To: <423F3B2E.4020400@superbug.co.uk>

At Mon, 21 Mar 2005 21:22:54 +0000,
James Courtier-Dutton wrote:
> 
> [1  <text/plain; ISO-8859-1 (7bit)>]
> Takashi Iwai wrote:
> > Hi,
> > 
> > the idea looks nice, but...
> > 
> 
> Is this better?

Thanks!  One more correction below:

> --- alsa-driver/alsa-kernel/pci/emu10k1/emu10k1_main.c	17 Mar 2005 15:55:16 -0000	1.45
> +++ alsa-driver/alsa-kernel/pci/emu10k1/emu10k1_main.c	21 Mar 2005 21:18:50 -0000
> @@ -612,6 +612,144 @@
>  	return snd_emu10k1_free(emu);
>  }
>  
> +/* vendor, device, subsystem, emu10k1_chip, emu10k2_chip, ca0102_chip, ca0108_chip, ca0151_chip, spk71, spdif_bug, ac97_chip, ecard, driver, name */
> +
> +static emu_chip_details_t emu_chip_details[] = {
> +	/* Audigy 2 Value AC3 out does not work yet. Need to find out how to turn off interpolators.*/
> +	{.vendor = 0x1102, .device = 0x0008, .subsystem = 0x10011102,
> +	 .emu10k1_chip = 0,

You don't need to initialize fields with zero.
That's another advantage of this initialization style.


Takashi


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

  reply	other threads:[~2005-03-22  9:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-18 20:04 [PATCH] Add framework for better audigy sound card capabilities selection buzzbuzz2
2005-03-21 19:47 ` Takashi Iwai
2005-03-21 21:22   ` James Courtier-Dutton
2005-03-22  9:56     ` Takashi Iwai [this message]
2005-03-22 19:30       ` James Courtier-Dutton
2005-03-22 19:48         ` James Courtier-Dutton
2005-03-22 20:59           ` 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=s5hwts02edn.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=James@superbug.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox