Jump to content

Playback stops too early if streaming via chromecast and using repeat mode single song


GeilerHeinz

Recommended Posts

I'm experiencing cropping of playback close to the end of a song if streaming via chromecast and using the repeat mode single song.

This especially is noticeable if casting a song with a abrupt ending (e.g. The Foo Fighters - Alone + Easy target).

I tried to get it fixed in adjusting the buffer size, but there's no difference whether I use 1000ms or 4000ms.

Did anybody facing the same problem?

Regards

Link to comment
Share on other sites

Yes, Auto-advance Fading is set to No fading. I also disabled Manual Track Change Fading and Fade Play/Pause/Stop, although this isn't applied to chromecast output anyway, but the problem still exists.

Regards

Link to comment
Share on other sites

Link to comment
Share on other sites

I have to correct myself. There is a difference regarding the buffer size in the chromecast output settings.

With buffer size set to 4000ms songs are getting cropped a lot more. But even with a buffer size of 1000ms playback stops too early and songs are getting cropped.

Regards

Link to comment
Share on other sites

I'm guessing that something is happening to cause the connection to be severed when PA finishes with the audio data, but before everything has spooled out to the BT device. You say this only happens when PA fully stops at the end of a track, with nothing else left to follow on afterwards? What does the latency line show in Audio Info?

Andre

Link to comment
Share on other sites

On 3/27/2022 at 7:53 PM, andrewilley said:

You say this only happens when PA fully stops at the end of a track, with nothing else left to follow on afterwards?

Yes, exactly. The track isn't cropped if playback automatically goes on with a following track.

On 3/27/2022 at 7:53 PM, andrewilley said:

What does the latency line show in Audio Info?

The latency is 1200ms.

Regards

Link to comment
Share on other sites

Link to comment
Share on other sites

Aside from the original reported behaviour in combination with repeat mode single song there's always a delay between track progress (position in seekbar) and progress of actual audio playback if streaming via chromecast.

The bigger the output buffer is set the longer the delay is.

Regards

Link to comment
Share on other sites

Link to comment
Share on other sites

Okay. Thanks @andrewilley for enlighten me.

How big is the influence of my network connection or the output device on the latency?

Can I affect the latency anyhow besides the setting of buffer size?

Is a latency of 1200ms at a buffer size of 1000ms or a latency of 4200ms at a buffer size of 4000ms a normal value?

Regards

Link to comment
Share on other sites

1 hour ago, GeilerHeinz said:

Okay. Thanks @andrewilley for enlighten me.

How big is the influence of my network connection or the output device on the latency?

Can I affect the latency anyhow besides the setting of buffer size?

Is a latency of 1200ms at a buffer size of 1000ms or a latency of 4200ms at a buffer size of 4000ms a normal value?

Regards

Every link in the chain affects latency. Especially anything where DSP is added, conversion or on-the-fly transcoding, etc. This could be on your device, the And yes network speed too.

Link to comment
Share on other sites

Thanks @MotleyG.

I don't know how much DSP is taking place in my device/output device and if I would be able to change any setting.

Anyway it would be nice if PA could leave the connection to the chromecast device open until the output buffer is completed to avoid cropping of audio playback.

Regards

Link to comment
Share on other sites

Link to comment
Share on other sites

It is a minor bug, but I suspect most people won't have come across it unless they happen to use the combination of Chromecast and Play Single Song mode (default playback is Advance Category, to carry on playing music)

Andre

Link to comment
Share on other sites

Strictly speaking it also appears if any list is finished (using mode repeat off ) and if using sleep timer with the option play last song to end.

Regards

Link to comment
Share on other sites

  • 4 weeks later...
  • 3 weeks later...

I will definitely look into this issue for the next Poweramp builds. The last seconds are lost probably due to the very large latency Chromecast has (seconds) and related buffering. But I guess single repeat/single song modes could be polished further. Thanks for the request!

Link to comment
Share on other sites

I suspect this is a buffering/latency issue too. I'm guessing the final few seconds of audio have been created in PA and sent, but the CC playback device is stopping before it fully plays that buffer.

Andre

Link to comment
Share on other sites

  • 1 year later...
On 5/26/2022 at 2:08 PM, maxmp said:

I will definitely look into this issue for the next Poweramp builds. The last seconds are lost probably due to the very large latency Chromecast has (seconds) and related buffering. But I guess single repeat/single song modes could be polished further. Thanks for the request!

I can't see any improvement since the last builds. The described behaviour still exists.

Regards

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...