All of lore.kernel.org
 help / color / mirror / Atom feed
* emu10k1: difference between _fx8010_ and _efx_
@ 2004-06-24 19:45 Lee Revell
  2004-06-25 15:56 ` Takashi Iwai
  0 siblings, 1 reply; 4+ messages in thread
From: Lee Revell @ 2004-06-24 19:45 UTC (permalink / raw)
  To: alsa-devel

Hey,

I have been looking at the emu10k1 driver source and am confused about 
the use of _fx8010_ and _efx_ in variable names.  The FX8010 is the 
DSP used for hardware "efx" in the EMU10K1.  Can someone clarify the 
distinction?

It seems like these are almost used interchangable in some places, but 
I am sure there are important distinctions.

I have heard that these devices have something to do with AC3 
passthrough.

Here is an example from emupcm.c:

int __devinit snd_emu10k1_pcm_efx(emu10k1_t * emu, int device, snd_pcm_t
** rpcm)
{
        snd_pcm_t *pcm;
        int err;

        if (rpcm)
                *rpcm = NULL;

        if ((err = snd_pcm_new(emu->card, "emu10k1 efx", device, 8, 1,
&pcm)) < 0)
                return err;

        pcm->private_data = emu;
        pcm->private_free = snd_emu10k1_pcm_efx_free;

        snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK,
&snd_emu10k1_fx8010_playback_ops);
        snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE,
&snd_emu10k1_capture_efx_ops);


Lee



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com

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

* Re: emu10k1: difference between _fx8010_ and _efx_
  2004-06-24 19:45 emu10k1: difference between _fx8010_ and _efx_ Lee Revell
@ 2004-06-25 15:56 ` Takashi Iwai
  2004-06-25 21:16   ` Lee Revell
  2004-06-25 21:16   ` Lee Revell
  0 siblings, 2 replies; 4+ messages in thread
From: Takashi Iwai @ 2004-06-25 15:56 UTC (permalink / raw)
  To: Lee Revell; +Cc: alsa-devel

At Thu, 24 Jun 2004 15:45:24 -0400,
Lee Revell wrote:
> 
> Hey,
> 
> I have been looking at the emu10k1 driver source and am confused about 
> the use of _fx8010_ and _efx_ in variable names.  The FX8010 is the 
> DSP used for hardware "efx" in the EMU10K1.  Can someone clarify the 
> distinction?

No difference.  They are named differently just because they _were_
different PCM streams before merged.


Takashi


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com

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

* Re: emu10k1: difference between _fx8010_ and _efx_
  2004-06-25 15:56 ` Takashi Iwai
@ 2004-06-25 21:16   ` Lee Revell
  2004-06-25 21:16   ` Lee Revell
  1 sibling, 0 replies; 4+ messages in thread
From: Lee Revell @ 2004-06-25 21:16 UTC (permalink / raw)
  To: tiwai; +Cc: alsa-devel

On Fri, 2004-06-25 at 11:56, Takashi Iwai wrote:
> At Thu, 24 Jun 2004 15:45:24 -0400,
> Lee Revell wrote:
> > 
> > Hey,
> > 
> > I have been looking at the emu10k1 driver source and am confused about 
> > the use of _fx8010_ and _efx_ in variable names.  The FX8010 is the 
> > DSP used for hardware "efx" in the EMU10K1.  Can someone clarify the 
> > distinction?
> 
> No difference.  They are named differently just because they _were_
> different PCM streams before merged.
> 

Ok.  I have a patch to make the naming consistent (replacing efx with
fx8010).  This is pretty straightforward, there is only one conflict in
emuproc.c which is easily resolved by renaming the function which reads
the DSP microcode to snd_emu10k1_fx8010_read_code.

I tested this and everythng seems to work.  However it looks like there
is some other development going on in this driver so I have to
regenerate it.

Lee



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com

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

* Re: emu10k1: difference between _fx8010_ and _efx_
  2004-06-25 15:56 ` Takashi Iwai
  2004-06-25 21:16   ` Lee Revell
@ 2004-06-25 21:16   ` Lee Revell
  1 sibling, 0 replies; 4+ messages in thread
From: Lee Revell @ 2004-06-25 21:16 UTC (permalink / raw)
  To: alsa-devel

On Fri, 2004-06-25 at 11:56, Takashi Iwai wrote:
> At Thu, 24 Jun 2004 15:45:24 -0400,
> Lee Revell wrote:
> > 
> > Hey,
> > 
> > I have been looking at the emu10k1 driver source and am confused about 
> > the use of _fx8010_ and _efx_ in variable names.  The FX8010 is the 
> > DSP used for hardware "efx" in the EMU10K1.  Can someone clarify the 
> > distinction?
> 
> No difference.  They are named differently just because they _were_
> different PCM streams before merged.
> 

Ok.  I have a patch to make the naming consistent (replacing efx with
fx8010).  This is pretty straightforward, there is only one conflict in
emuproc.c which is easily resolved by renaming the function which reads
the DSP microcode to snd_emu10k1_fx8010_read_code.

I tested this and everythng seems to work.  However it looks like there
is some other development going on in this driver so I have to
regenerate it.

Lee



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com

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

end of thread, other threads:[~2004-06-25 21:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-24 19:45 emu10k1: difference between _fx8010_ and _efx_ Lee Revell
2004-06-25 15:56 ` Takashi Iwai
2004-06-25 21:16   ` Lee Revell
2004-06-25 21:16   ` Lee Revell

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.