Wenn Ihr Alsa nutzen wollt müsst Ihr configure als
./configure --with-alsa
ausführen!
Hi,
Sowas habe ich mir schon gedacht :)
Sowohl ./configure als auch ./configure --with-alsa sagen:was sagt denn ./configure zum Thema ALSA?
Der o.g. Fehler bleibt aber. :(Code:NSLU2:/home/max/monitord/monitord# grep -i alsa configure.log checking for ALSA CFLAGS... checking for ALSA LDFLAGS... -lasound -lm -ldl -lpthread
Edit:Code:NSLU2:/home/max/monitord/monitord/monitord/posix# ls MonitorAudioALSA.cpp MonitorAudioALSA.h MonitorAudioOSS.cpp MonitorAudioOSS.h monitord_monitord-MonitorAudioOSS.o
Nachdem ich die MonitorAudioALSA.cpp aus Spaß mal so in den g++ geschmissen habe, kam ne Meldung, dass er "alsa/asoundlib.h" nicht finden könne. Die Datei soll sich in libasound2-dev befinden. Habe das mal installiert und werde den monitord "mal eben" neu kompilieren (Was auf der 266 MHz NSLU gar nicht mal so schnell geht, zum Glück habe ich nicht gentoo installiert :)
Edit 2:
OK, neuer Fehler:
:-(Code:14:41:11.373 INFO: monitord/Monitor.cpp(108) monitord 2.0svn READY 14:41:11.374 INFO: monitord/Monitor.cpp(205) starting soundcard #0 14:41:11.376 INFO: monitord/SndPipe.cpp(152) creating decoders for soundcard #0 14:41:11.377 DEBUG: monitord/SndPipe.cpp(178) creating decoder for soundcard #0L:ZVEI ALSA lib pcm_params.c:2152:(snd_pcm_hw_refine_slave) Slave PCM not usable 14:41:11.641 ERROR: monitord/posix/MonitorAudioALSA.cpp(62) [ALSA] Can not configure this PCM device plughw:0,0. -22(Invalid argument) 14:41:11.644 ERROR: monitord/posix/MonitorAudioALSA.cpp(16) [ALSA] Error initializing PCM device plughw:0,0 monitord: pcm.c:695: snd_pcm_close: Assertion `pcm' failed. Aborted
Geändert von Max K. (22.02.2009 um 15:26 Uhr)
hallo :E
Erkläre mir, und ich vergesse.
Zeige mir, und ich erinnere.
Lass es mich tun, und ich verstehe.
Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)