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

No audio output #22

Closed
fedebruni84 opened this issue Apr 13, 2021 · 20 comments
Closed

No audio output #22

fedebruni84 opened this issue Apr 13, 2021 · 20 comments

Comments

@fedebruni84
Copy link

Hi, I’m using Finamp on Android 7 on a DAP.
Songs start playing but no audio output on headphones.
I’ve also installed Jellyfin app and it’s working as expected.
Thanks

@jmshrv
Copy link
Owner

jmshrv commented Apr 13, 2021

Do you have any Audio Service logs?

@fedebruni84
Copy link
Author

Yes,
seems that the problem is related to FLAC direct play. I have no problems with mp3 files.

Screenshot_20210413-124232

@jmshrv
Copy link
Owner

jmshrv commented Sep 14, 2021

@bambadon @fedebruni84 This is a long shot, but could you see what codecs your devices support? This can be checked with https://play.google.com/store/apps/details?id=com.parseus.codecinfo

@vincegre
Copy link

Wanted to share my audio logs as requested but unhappy the copy button in logs page in Finamp is not working on my device :( it copies nothing in clipboard ! What can I do ?

@jmshrv
Copy link
Owner

jmshrv commented Sep 15, 2021

You could try downloading an album, switching to offline mode, and restarting the app. Your device is probably being overwhelmed by having to copy half of your Jellyfin library since the logs also include all communication with the server

@vincegre
Copy link

You could try downloading an album, switching to offline mode, and restarting the app. Your device is probably being overwhelmed by having to copy half of your Jellyfin library since the logs also include all communication with the server

Not sure to understand as I have not setup any synchro so all medias are listened in streaming and side note my device is working perfectly well while Finamp running so I don't think it's overloaded ;)

@jmshrv
Copy link
Owner

jmshrv commented Sep 15, 2021

Any request is logged, so there will be a big log item with like 100 items in. Finamp can handle this fine, it's more the phone clipboard that can't handle it. Switching to offline mode will mean that no request is made, but you'll have to have something downloaded to actually test playback.

@vincegre
Copy link

Any request is logged, so there will be a big log item with like 100 items in. Finamp can handle this fine, it's more the phone clipboard that can't handle it. Switching to offline mode will mean that no request is made, but you'll have to have something downloaded to actually test playback.

Thanks for explanation so synced few tracks, passed offline, restarted app and then copy/paste work, here it is below but it's not much verbose (couldnt find any options to get more verbose ones !)

[MusicPlayerBackgroundTask/INFO] 2021-09-15 18:26:04.740390: Starting audio service

null

[MusicPlayerBackgroundTask/INFO] 2021-09-15 18:26:04.740390: Starting audio service

null

@jmshrv
Copy link
Owner

jmshrv commented Sep 15, 2021

Did you actually play anything before copying those logs?

@fedebruni84
Copy link
Author

@bambadon @fedebruni84 This is a long shot, but could you see what codecs your devices support? This can be checked with https://play.google.com/store/apps/details?id=com.parseus.codecinfo

Codec list:

audio/3gpp (OMX.google.amrnb.decoder)
audio/3gpp (OMX.google.amrnb.encoder)
audio/amr-wb (OMX.google.amrwb.decoder)
audio/amr-wb (OMX.google.amrwb.encoder)
audio/flac (OMX.google.flac.encoder)
audio/g711-alaw (OMX.google.g711.alaw.decoder)
audio/g711-mlaw (OMX.google.g711.mlaw.decoder)
audio/gsm (OMX.google.gsm.decoder)
audio/mp4a-latm (OMX.google.aac.decoder)
audio/mp4a-latm (OMX.google.aac.encoder)
audio/mpeg (OMX.google.mp3.decoder)
audio/opus (OMX.google.opus.decoder)
audio/raw (OMX.google.raw.decoder)
audio/vorbis (OMX.google.vorbis.decoder)

It seems there is only flac encoder but not decoder??

@jmshrv
Copy link
Owner

jmshrv commented Sep 15, 2021

Hmm, looks like ExoPlayer has an extension for FLAC (https://github.com/google/ExoPlayer/tree/release-v2/extensions/flac). I'll look into using it.

@vincegre
Copy link

Did you actually play anything before copying those logs?

Yep I played two tracks (that gave no sound for sure but app displayed them as playing ;) anything else I can do to help debug problem ?

@jmshrv
Copy link
Owner

jmshrv commented Jun 6, 2022

ExoPlayer has added a Java FLAC extractor for devices without native FLAC support (google/ExoPlayer#6406). Finamp should be able to use this now.

@vincegre
Copy link

vincegre commented Jun 7, 2022

ExoPlayer has added a Java FLAC extractor for devices without native FLAC support (google/ExoPlayer#6406). Finamp should be able to use this now.

Excellent news, thanks for update ;) When will it be implemented in Finamp ? so I can give it a try then :-D

@jmshrv
Copy link
Owner

jmshrv commented Jun 7, 2022

It should be in now, I don't think I have an easy way to test it though

@vincegre
Copy link

It should be in now, I don't think I have an easy way to test it though

Sorry for the delay but problem has not changed, still no audio at all on my device 👎

@jmshrv
Copy link
Owner

jmshrv commented Aug 14, 2022

Thanks for letting me know, this should be fixed once #177 is done

@Chaphasilor
Copy link
Collaborator

@vincegre is this still happening on your device? :)

@vincegre
Copy link

@Chaphasilor sorry but I don't use Finamp anymore since a while as I switched to Emby ;)

@Chaphasilor
Copy link
Collaborator

Closing this in favor of #177

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants