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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Feb 2 15:53:18 PST 2013


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

--- Comment #7 from Rune K. Svendsen <runesvend at gmail.com> ---
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:
http://www.linnrecords.com/linn-downloads-testfiles.aspx

Listening...
Established under name 'CD531B0FDBAD at 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?

-- 
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/20130202/fbce8133/attachment.html>


More information about the pulseaudio-bugs mailing list