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 at all on any apps #262

Open
Mentalgen opened this issue Dec 20, 2024 · 4 comments
Open

No audio at all on any apps #262

Mentalgen opened this issue Dec 20, 2024 · 4 comments

Comments

@Mentalgen
Copy link

This app used to work on my Pixel 8 Pro but recently has completely stopped working. Wondering if an update Android 15 may have caused some issues recently, I've already ran the ADB process again and tried just about every combo of troubleshooting i can.

Any ideas as to why the moment I turn on this, the audio cuts out?

@TCU14
Copy link

TCU14 commented Dec 27, 2024

I have the same issue, what troubleshooting steps should I take/how can I help?

Editing for more information: The project media permission has already been granted. I saw the original issue about Android 15 breaking this app. This appears to stem from something else.

@viperfish-oc
Copy link

Same issue on android 15,

  • disabled the capture permission restrictions
  • Shizuku setup worked. Also tried manually sending the ADB commands

Observations:

  • No audio from auxio (local music player),
  • Firefox browser foreground audio works but no effects are applied
  • excluded (blacklisted) apps do work (passtrough)
  • RJDSP does show up in the 'cast' menu

Any ideas for a fix?

@Mentalgen
Copy link
Author

Mentalgen commented Jan 18, 2025

I decided to take a deeper look into this issue. Now i don't know much about Android but a few things stuck out to me as odd.

I think there's something wrong with the submixes. It appears that the input and outputs are successfully created but then for some reason gets terminated shortly after.

01-18 00:42:17.744 CFG_EVENT_CREATE_AUDIO_PATCH: old device 0x0 (AUDIO_DEVICE_NONE) new device 0x80000100 (AUDIO_DEVICE_IN_REMOTE_SUBMIX) 01-18 00:42:18.903 CFG_EVENT_RELEASE_AUDIO_PATCH: old device 0x80000100 (AUDIO_DEVICE_IN_REMOTE_SUBMIX) new device 0x0 (AUDIO_DEVICE_NONE)

Essentially:

  1. Creates output stream (AUDIO_DEVICE_OUT_REMOTE_SUBMIX)
  2. Creates input stream (AUDIO_DEVICE_IN_REMOTE_SUBMIX)
  3. Brief audio passes through
  4. Audio patches get disconnected
  5. Streams terminate

Here's a link to the log: https://pastebin.com/XAhaRMjq

EDIT: Is this relevant? https://developer.android.com/about/versions/15/behavior-changes-all#direct-audio

@magicgoose
Copy link

magicgoose commented Jan 19, 2025

Noticed the same, with local player foobar2000 (using internal speaker 🤣 ), which worked fine before A15 on the same phone.

EDIT: Is this relevant? https://developer.android.com/about/versions/15/behavior-changes-all#direct-audio

I guess unlikely, unless there were also playback errors before Android 15?

Before Android 15, if an app requested direct or offload audio playback while another app was playing audio and the resource limits were reached, the app would fail to open a new AudioTrack.

Beginning with Android 15, …, the system invalidates any currently open AudioTrack objects which prevent fulfilling the new track request.

(but then, if it is not this, it must be something undocumented… which sounds terrible)

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