All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: p z oooo <pzad@pobox.sk>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: EMU10K1 patch loader
Date: Mon, 30 Jun 2003 18:09:13 +0200	[thread overview]
Message-ID: <s5hfzlrlf86.wl@alsa2.suse.de> (raw)
In-Reply-To: <200306160738.JAA04309@www3.pobox.sk>

Hi,

At Mon, 16 Jun 2003 09:38:39 +0200,
p z oooo wrote:
> 
> You can downoad it from http://pzwz.wz.cz
> No TRAM support yet (I am working on it).

wow, it looks great!  i'm just compiling and looking at the code.
(sorry for the late response, i've overlooked the post after my
vacation.)

a very subtle thing i found is that the hack of snd_ctl_elem_id_t.
it must be a bug of alsa-driver's part.  the struct should be
rewritten with the clear definition using the normal variable types,
because it's exported to the non-kernel purpose.

i.e. instead of

	snd_ctl_elem_id_t id;		/* full control ID definition */

we define the exactly same struct as the emu10k1 private data in
emu10k1.h, such as

	struct emu10k1_fx8010_id {
		unsigned int numid;		/* numeric identifier, zero = invalid */
		enum sndrv_ctl_elem_iface iface; /* interface identifier */
		unsigned int device;		/* device/client number */
		unsigned int subdevice;		/* subdevice (substream) number */
	        unsigned char name[44];		/* ASCII name of item */
		unsigned int index;		/* index of item */
	};

so that you'll need only emu10k1.h for inclusion.  no sound/asound.h.


btw, this would be worthy definitely to be included in the standard
alsa-tools.  please let me know if the code is ready for inclusion.


ciao,

Takashi


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01

      reply	other threads:[~2003-06-30 16:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-16  7:38 EMU10K1 patch loader p z oooo
2003-06-30 16:09 ` Takashi Iwai [this message]

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=s5hfzlrlf86.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=pzad@pobox.sk \
    /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.