RootlessJamesDSP icon indicating copy to clipboard operation
RootlessJamesDSP copied to clipboard

No audio at all on any apps

Open Eclipse-Sol opened this issue 1 year ago • 5 comments

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?

Eclipse-Sol avatar Dec 20 '24 14:12 Eclipse-Sol

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.

TCU14 avatar Dec 27 '24 03:12 TCU14


Update: fixed by update of GrapheneOS a few months ago. Thanks for writing this fantastic life-changing application!


_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?_

viperfish-oc avatar Jan 04 '25 21:01 viperfish-oc

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

Eclipse-Sol avatar Jan 18 '25 06:01 Eclipse-Sol

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)

magicgoose avatar Jan 19 '25 18:01 magicgoose

I have similar issues but it's anytime I pause or switch media. It never starts being audible until I open the JDSP app.

RGBok avatar Mar 13 '25 13:03 RGBok