<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - raop module does not work with shairport"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=42804#c7">Comment # 7</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - raop module does not work with shairport"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=42804">bug 42804</a>
              from <span class="vcard"><a class="email" href="mailto:runesvend@gmail.com" title="Rune K. Svendsen <runesvend@gmail.com>"> <span class="fn">Rune K. Svendsen</span></a>
</span></b>
        <pre>I've succeeded in building the UDP version of raop-play. First I cloned from
this repo:

git://raop-play.git.sourceforge.net/gitroot/raop-play/raop-play

Then I had to make the following change to the Makefile in raop_UDP to get it
to build:

 raop_play: $(OBJS)
-       $(CC) -o $@  -lssl -lsamplerate -lid3tag -lpthread $^
+       $(CC) -o $@ $^ -lcrypto -lsamplerate -lid3tag -lpthread

It's not working with shairport though :/

This is the output of shairport when trying to play the 16 bit sample "ALAC CD
quality test" from here:
<a href="http://www.linnrecords.com/linn-downloads-testfiles.aspx">http://www.linnrecords.com/linn-downloads-testfiles.aspx</a>

Listening...
Established under name 'CD531B0FDBAD@ShairPort 2252 on raspberrypi'
New connection from ::ffff:192.168.1.34
REQ: OPTIONS
REQ: ANNOUNCE
Audio StreamoAEeTgG38KP1CDspMrmbvwREQ: SETUP
launched decoder: 2257 on port: 6000
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.front
REQ: RECORD
REQ: SET_PARAMETER
REQ: SET_PARAMETER
Use of uninitialized value $1 in lc at /usr/local/bin/shairport.pl line 704.
Use of uninitialized value $1 in lc at /usr/local/bin/shairport.pl line 704.
hairtunes: hairtunes.c:363: alac_decode: Assertion `outsize == (4*frame_size)'
failed.
Aborted
Child exited

And here's the output of raop_play:

DBG: Audio-Jack-Status: connected; type=analog
DBG: CSeq: 1
DBG: Public: ANNOUNCE, SETUP, RECORD, PAUSE, FLUSH, TEARDOWN, OPTIONS,
GET_PARAMETER, SET_PARAMETER
DBG: Apple-Response:
YS0IgunAPZc/j5D3uTF18kLHY5vtiEvwE/8i6JA+VEWeOOdXeLaps7DOPcW+oX2eh75hfN83WJ02pmtTtWsDhCsUlEQs3FXtzoerd6JWApIDyCloIJ9TCStGO1cHHZ9vhtUNnkJ0L1EEP8bJSyHXcPIhMfFhUneqbPaUH8+KZFrKEb9AwV4pp5qPthjb9+6U/xZ1iomBCpukCWxlcuRRXbsJDEW31dqIhEVmeXY64xmRBbchNnCgGAsJIvASGWL+RxN2Y/Kbi3v/4kAvwWpNO4n7cEa/Hrv+FLdk9yklU8QJ7o6Xm5HGnMWOj7IfDngyNdvGHj/KY+8Kz4QaG+OilQ
DBG: Audio-Jack-Status: connected; type=analog
DBG: CSeq: 2
DBG: Audio-Jack-Status: connected; type=analog
DBG: CSeq: 3
DBG: Session: DEADBEEF
DBG: Transport:
RTP/AVP/UDP;unicast;interleaved=0-1;mode=record;control_port=6001;timing_port=6002;server_port=6000
DBG: rtspcl_setup: session: DEADBEEF
DBG: port = 6001
DBG: port = 6002
����"����`DBG: port = 0
DBG: Audio-Jack-Status: connected; type=analog
DBG: CSeq: 4
DBG: Audio-Jack-Status: connected; type=analog
DBG: CSeq: 5
DBG: exec_request: write 291: 291 
DBG: Audio-Jack-Status: connected; type=analog
DBG: CSeq: 6
connected
done

As you can see the third port DBG message is garbled. Not sure what that is
about. Could it be memory corruption?</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>