mikebrady / shairport-sync

AirPlay and AirPlay 2 audio player
Other
7.24k stars 573 forks source link

MusicBee 'Remote Speaker' plug can cause assert crash #38

Closed StreamingMeeMee closed 9 years ago

StreamingMeeMee commented 9 years ago

shairport-sync: player.c:249: alac_decode: Assertion outsize == (4*frame_size)' failed.

I'm using the latest git shairport code; MusicBee v2.4.5404 and the Remote Speakers Output plugin v5 (http://emilles.dyndns.org/software/out_apx.html). I'm running Shairport on a Sony Vaio laptop under Ubuntu 14.04.1

it is a sporadic problem for which I haven't quite yet discovered the pattern. What additional info. can I provide that would be helpful?

mikebrady commented 9 years ago

Thanks for the report. Let me have a think about it. Meantime, if you can see any way of provoking it reliably, it would be very useful.

StreamingMeeMee commented 9 years ago

Would other AirPlay clients affect an instance of Shairport? I am running two other clients concurrently; a AirportExpress and a Windows machine running Shairport4W. MusicBee and Shairport4W are running on the same machine -- The MusicBee Remote Speakers plug in does not play through the local audio system without it.

mikebrady commented 9 years ago

Just to clarify a couple of questions:

  1. You have Shairport Sync outputting to MusicBee/RemoteSpeakersOutput outputting to Shairport4W – is that right, with MusicBee/RemoteSpeakersOutput and Shairport4W on the same Windows machine?
  2. Does the fault always have that same message: shairport-sync: player.c:249: alac_decode: Assertion outsize == (4*frame_size)' failed.?
StreamingMeeMee commented 9 years ago

Sorry, let me clarify.

The source is a Windows machine running MusicBee w/ RemoteSpeakerOuput.
It is sending to: -) Shairport4W running on the same machine -) ShairportSync running on a Sony Vaio under Ubuntu 14.04 -) Airport Express

I don't have notes on the previous messages but they were very similar if not exactly the same as the one quoted below.

It will likely be tomorrow before I can do any significant testing.

T.

On 2/2/2015 9:33 AM, Mike Brady wrote:

Just to clarify a couple of questions:

1.

You have |Shairport Sync| outputting to
|MusicBee/RemoteSpeakersOutput| outputting to |Shairport4W| – is
that right, with |MusicBee/RemoteSpeakersOutput| and |Shairport4W|
on the same Windows machine?

2.

Does the fault always have that same message: |shairport-sync:
player.c:249: alac_decode: Assertion outsize == (4*frame_size)'
failed.|?

— Reply to this email directly or view it on GitHub https://github.com/mikebrady/shairport-sync/issues/38#issuecomment-72466492.

mikebrady commented 9 years ago

Thanks – That's a lot clearer. I don't think Shairport Sync should not be affected by being one of a number of destinations, as in your scenario. My own scenario is similar: iTunes or iPhone to Airport Express and a variety of Shairport Sync devices.

mikebrady commented 9 years ago

Hi Tim. I wonder if you've had any more experiences like you reported above?

mikebrady commented 9 years ago

I'm going to close this – feel free to reopen if there are developments.