openvortex-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Openvortex-dev] compiling alsa-1.0 from cvs


From: John Parejko
Subject: [Openvortex-dev] compiling alsa-1.0 from cvs
Date: Sun, 25 Jan 2004 17:57:40 -0600 (CST)

Hello.  I wanted to try the new changes (and maybe play with 3d support),
so I downloaded alsa-1.0 from cvs (latest version, right?).  I copied
pci/au88x0 into alsa-driver-1.0.1 to get the latest alsa changes but I am
getting the following error:

In file included from au8830_mixer.c:2:
au88x0_mixer.c: In function `snd_vortex_mixer':
au88x0_mixer.c:19: structure has no member named `write'
au88x0_mixer.c:20: structure has no member named `read'
au88x0_mixer.c:22: warning: passing arg 1 of `snd_ac97_mixer' from
incompatible pointer type

I think this happened because sound/include/ac97_codec.h changed from
ac97_t to ac97_bus_t (at least, I think this is what is desired here) for
this purpose.

The necessary change is:
au88x0_mixer.c:

line 15:
    ac97_bus_t ac97;
line 22:
    return snd_ac97_bus(vortex->card, &ac97, &vortex->codec);

basically, replacing the ac97_t with ac97_bus_t and the function call from
snd_ac97_mixer to snd_ac97_bus.

Also, line 112 of au88x0_pcm.c (the call to snd_pcm_hw_constraint_pow2)
has one extra parameter (a 4).  I got rid of it, as pcm.h has it with only
3 parameters.

If I fouled up somewhere here when trying to build this, please let me
know.

The CVS layout is a bit confusing right now, since openvortex and alsa are
rather out of date, while alsa-1.0 does not have the alsa-kernel
directory, so one would have to link it from elsewhere (causing the
problems above).

If this is included in the patch you just sent out Manuel, then never
mind.  But I had to make this change in order to compile.

Also, (I don't think this is your problem) the mail.gnu.org archives seem
to be broken (I can't get to any of the thread lists, but I can get to
threads directly).

Besides all this though, the good news is that I'd been using alsa-0.9.6
with the via patches for several months, and it has been rock solid.  No
crackling, no crashing or freezing and I can play several channels at
once, no trouble (I haven't actually tried loading it though).  Great job
everyone!

Thanks
John

---------------------
John Parejko
address@hidden
Graduate, Carleton College
---------------------




reply via email to

[Prev in Thread] Current Thread [Next in Thread]