Re: [AD] alsa 0.9 driver

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> It compiled okay for me.  What's the problem exactly?
I run:
autoconf
./configure (alsa9 is detected)
make

Note the files size:
$ ls -la lib/unix/*alsa9*
-rwx------    1 gg       users        3576 01-28 19:55 lib/unix/alleg-alsa9digi.so
-rwx------    1 gg       users        3576 01-28 19:55 lib/unix/alleg-alsa9midi.so
$ strings lib/unix/alleg-alsa9digi.so
_DYNAMIC
_GLOBAL_OFFSET_TABLE_
__gmon_start__
_init
_fini
__deregister_frame_info
__register_frame_info
libasound.so.2
libc.so.6
_edata
__bss_start
_end
alleg-alsa9digi.so
GCC.INTERNAL
GLIBC_2.0

Then I remove alsa9.o and alleg-alsa9digi.so and run make again:
Make makes all the files not only alsa (why ???).

$ ls -la lib/unix/*alsa9*
-rwx------    1 gg       users       10732 01-28 20:18 lib/unix/alleg-alsa9digi.so
-rwx------    1 gg       users        6368 01-28 20:18 lib/unix/alleg-alsa9midi.so
$ strings lib/unix/alleg-alsa9digi.so
_DYNAMIC
_GLOBAL_OFFSET_TABLE_
__gmon_start__
_init
_fini
__deregister_frame_info
__register_frame_info
digi_alsa9
empty_string
_mixer_init_voice
_mixer_release_voice
_mixer_start_voice
_mixer_stop_voice
_mixer_loop_voice
_mixer_get_position
_mixer_set_position
_mixer_get_volume
............ and meny more

autoconf-2.57-2
make-3.80-1

> The driver didn't work though, but I haven't really investigated why.
> My ALSA version is 0.9.0beta12 (nearly one year old), so that could be a
> factor.  The error messages are as follows:
Check with current version. :)

> $ ./examples/exstream 
Works for me.

BR
Grzegorz Godlewski




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/