All of lore.kernel.org
 help / color / mirror / Atom feed
* A FIX FOR alsa-lib emu10k1.h (IT FIXES ld10k1)
@ 2007-01-17  5:12 terminator356
  2007-01-17 12:35 ` Takashi Iwai
  0 siblings, 1 reply; 9+ messages in thread
From: terminator356 @ 2007-01-17  5:12 UTC (permalink / raw)
  To: alsa-devel

Hi, ld10k1 doesn't work, crashes. Lots of people saying it.
In the alsa-kernel/include emu10k1.h, 
	union {
		snd_kcontrol_tlv_rw_t *c;
		unsigned int *p;
	} tlv;
 was added to struct 'snd_emu10k1_fx8010_control_gpr'.
But alsa-lib/include/sound/emu10k1.h was not changed.
So I did this:
        ...
	unsigned int min;		/* minimum range */
	unsigned int max;		/* maximum range */
        unsigned int *p;    // <----- ADDED THIS  <----------------
	unsigned int translation;	/* translation type (EMU10K1_GPR_TRANSLATION*) */
} emu10k1_fx8010_control_gpr_t;
 
 which is in alsa-lib/include/sound/emu10k1.h

For me, it fixes ld10k1. *p acts as a placeholder because it is useless 
 (at this point) to ld10k1. 

----Can you tell me what those changes were for? What are *c and *p ? ---

      Thanks. Tim. 
      terminator356  -> users -> sourceforge -> net
      (Developer on ld10k1 project).

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-01-22  9:50 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-17  5:12 A FIX FOR alsa-lib emu10k1.h (IT FIXES ld10k1) terminator356
2007-01-17 12:35 ` Takashi Iwai
2007-01-18 11:08   ` Takashi Iwai
2007-01-19  1:17     ` Tim
2007-01-19 11:13       ` Takashi Iwai
2007-01-19 23:14         ` Tim
2007-01-22  9:50           ` Takashi Iwai
2007-01-18 22:58   ` James Courtier-Dutton
2007-01-19 17:41     ` Takashi Iwai

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.