With raop_play and the ALSA driver alsa_raoppcm it should be possible to stream music in the formats m4a (alac or aac), wav, mp3, ogg, flac, aac, pls and rawpcm to an Apple Airport Express WLAN access point. Apple calls this AirTunes, it is officially supported using iTunes for Mac OS X or Windows. With ALSA and the alsa_raoppcm driver in Linux it should be possible for any application to stream music to the Airport Express. URLs: http://www.apple.com/airportexpress/ http://raop-play.sourceforge.net/ http://raop-play.sourceforge.net/alsa_raoppcm.html I also found a weblog report: http://www.jroller.com/nwinkler/entry/amarok_and_the_airport_express I'm planning to buy such a device and would be happy to find an ebuild for this in portage. I'm pretty sure I wouldn't be the only one using this WLAN access point. Thanks in advance.
There seems to be a problem compiling alsa_raoppcm when using kernel 2.6.31. The application used to work fine, but here is whatb I am getting with the new kernel: andriy raop_play # make for i in rendezvous raop_play aexcl drivers; do make -C $i; done make[1]: Вхожу у каталог "/opt/raop-cvs/raop_play/rendezvous" make[1]: Ціль "all" не вимагає виконання команд. make[1]: Залишаю каталог "/opt/raop-cvs/raop_play/rendezvous" make[1]: Вхожу у каталог "/opt/raop-cvs/raop_play/raop_play" make[1]: Ціль "all" не вимагає виконання команд. make[1]: Залишаю каталог "/opt/raop-cvs/raop_play/raop_play" make[1]: Вхожу у каталог "/opt/raop-cvs/raop_play/aexcl" make[1]: Ціль "all" не вимагає виконання команд. make[1]: Залишаю каталог "/opt/raop-cvs/raop_play/aexcl" make[1]: Вхожу у каталог "/opt/raop-cvs/raop_play/drivers" make -C /lib/modules/2.6.31-tuxonice/build SUBDIRS=/opt/raop-cvs/raop_play/drivers modules make[2]: Вхожу у каталог "/usr/src/linux-2.6.31-tuxonice" CC [M] /opt/raop-cvs/raop_play/drivers/alsa_raoppcm.o /opt/raop-cvs/raop_play/drivers/alsa_raoppcm.c:26:26: error: sound/driver.h: No such file or directory /opt/raop-cvs/raop_play/drivers/alsa_raoppcm.c: In function ‘alsa_raoppcm_init’: /opt/raop-cvs/raop_play/drivers/alsa_raoppcm.c:280: error: implicit declaration of function ‘snd_card_new’ /opt/raop-cvs/raop_play/drivers/alsa_raoppcm.c:280: warning: assignment makes pointer from integer without a cast make[3]: *** [/opt/raop-cvs/raop_play/drivers/alsa_raoppcm.o] Помилка 1 make[2]: *** [_module_/opt/raop-cvs/raop_play/drivers] Помилка 2 make[2]: Залишаю каталог "/usr/src/linux-2.6.31-tuxonice" make[1]: *** [2.6.] Помилка 2 make[1]: Залишаю каталог "/opt/raop-cvs/raop_play/drivers" make: *** [all] Помилка 2
Created attachment 236269 [details] raop-play-0.5.1.ebuild The package will fail OpenSSL test at ./configure time with forced asneeded, and it will fail to compile later on too. Then it will also fail to compile with GCC 4.4.0 and modern glibc: aexcl_play.cxx:209:41: error: invalid conversion from ‘const char*’ to ‘char*’ But I'm attaching ebuild anyway if someone wants to play with it.
Created attachment 236279 [details] Respect LDFLAGS, CXXFLAGS and fix building.
Created attachment 236281 [details, diff] raop-play-0.5.1-gcc44.patch I'm sure there are better ways of fixing the code, but this builds and runs...