Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ogg chaining support now in flac! \(^O^)/ #2122

Open
whatamesss opened this issue Sep 28, 2024 · 5 comments
Open

ogg chaining support now in flac! \(^O^)/ #2122

whatamesss opened this issue Sep 28, 2024 · 5 comments
Labels
feature waiting Waiting for more information from reporter

Comments

@whatamesss
Copy link

Bug report

Describe the bug

ogg chain playback has long been broken in flac

Expected Behavior

streams continue to play as song changes occur

Actual Behavior

player hangs or stops at song change/serial number update

Version

mpd-git
flac-git

Configuration

this patch enables the feature:

diff --git a/src/libFLAC/ogg_decoder_aspect.c b/src/libFLAC/ogg_decoder_aspect.c
index 2cd06278..bb04a9c4 100644
--- a/src/libFLAC/ogg_decoder_aspect.c
+++ b/src/libFLAC/ogg_decoder_aspect.c
@@ -83,7 +83,7 @@ void FLAC__ogg_decoder_aspect_set_serial_number(FLAC__OggDecoderAspect *aspect,
void FLAC__ogg_decoder_aspect_set_defaults(FLAC__OggDecoderAspect *aspect)
{
aspect->use_first_serial_number = true;

  • aspect->decode_chained_stream = false;
  • aspect->decode_chained_stream = true;
    }

void FLAC__ogg_decoder_aspect_flush(FLAC__OggDecoderAspect *aspect)

Log

please update mpd to make use of new flac git master (abi changes?)

@whatamesss
Copy link
Author

xiph/flac#735 (comment)

@jcorporation
Copy link
Member

Why do you not provide a pull request? Should this be enabled only for specific flac versions?

@MaxKellermann
Copy link
Member

The patch is not a MPD patch because the affected source file does not exist in MPD. I don't know what kind of patch this is, but I guess this feature request is bogus.

@MaxKellermann MaxKellermann added waiting Waiting for more information from reporter feature labels Sep 29, 2024
@whatamesss
Copy link
Author

this is not an mpd patch it actually patches flac source code to enable the chaining feature...please hold tight. i'm trying to figure this out.
this fixes an issue reported to mpd many times...the fix is in libflac, but the flac author said clients will need to make changes too...i'm trying to gather more info

@whatamesss
Copy link
Author

Why do you not provide a pull request? Should this be enabled only for specific flac versions?

until the flac makes a release, this would only be usable in the git master....just hoping you guys can prepare mpd and make it use the feature. for now, it will have to be enabled by the distro or user by patching flac

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature waiting Waiting for more information from reporter
Projects
None yet
Development

No branches or pull requests

3 participants