[pulseaudio-tickets] [Bug 42804] raop module does not work with shairport

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Aug 23 03:37:57 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=42804

--- Comment #24 from Matthias <pulseaudio at niafc.de> ---
Hi all,

I'm in a hurry as I'm leaving for the holidays tonight.

Just wanted to share my work of the last weeks. I tried to set up a git fork of
http://repo.or.cz/w/pulseaudio-raopUDP.git/shortlog/refs/heads/raop at
http://repo.or.cz/w/pulseaudio-raopUDP/pulseaudio-raop-alac.git but could not
commit my changes. Don't ask why - it's also my first time working with git.

Will try again after my vacation.

Until then, this is the state of play:

1. I wrote a simple wrapper library for Apple's C++ ALAC library. You can fetch
it from http://repo.or.cz/w/libsalac.git. 
It needs libalac from https://github.com/TimothyGu/alac.
After the usual

%autoreconf -i -a && ./configure && make && make install

copy "libsalac.h" from "/usr/local/include/libsalac-1.0/src" to
/usr/local/include/libsalac-1.0".

2. I modified my copy of pulseaudio (see the attached patch) to use libsalac
(configure.ac and Makefile.am).

3. I used libsalac to use Apple's ALAC Encoder to encode audio packets with
ALAC. Careful: I set the initial volume to "-21" in the source. This is
obviously a workaround as the initial volume was not set correctly and audio
was played near mute.

4. As a result, I am now able to play music via pulseaudio to my Minx Air 200.
There are glitches every second (I suspect the sync packets are not quite
right).

Please give it a try.

I also started to implement a packet buffer for resending. I will commit that
when it reaches a stable state.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20130823/d5cca094/attachment.html>


More information about the pulseaudio-bugs mailing list