audio: the APK build compiles the AAudio sink into the bundle; the committed bundle carries no sink module any more

The inherited module is gone from app/src/main/assets/pulseaudio.tzst (74 → 73 modules); CI adds
the app's own at build time and refuses a bundle that already has one. BUNDLE_STAMP bumped so an
installed app re-unpacks.
This commit is contained in:
The412Banner committed 2026-09-23 09:12:15 -04:00
1 parent b4c89b6f63
commit 0ea06a3f05
3 files changed
+33 -3

No files matched your search

@@ -31,7 +31,7 @@ public class PulseAudioComponent extends SessionPart {
/** Where the guest reaches the daemon; the session exports PULSE_SERVER=unix:<this>. */
public static final String SOCKET_NAME = "PS0";
/** Identifies the bundled pulseaudio.tzst; a change here re-unpacks it over what a device has. */
private static final String BUNDLE_STAMP = "2026-09-21-pa13-pipe-modules";
private static final String BUNDLE_STAMP = "2026-09-23-pa13-aaudio-sink-r2";
private final File workingDir;
/** Where the daemon's own output is kept for this session, or null for logcat only. */
@@ -72,8 +72,8 @@ public class PulseAudioComponent extends SessionPart {
workingDir.mkdirs();
FileUtils.chmod(workingDir, 0771);
}
// The loadable modules (module-aaudio-sink, the native protocol, the pipe modules) ride in
// the apk; the daemon and its libraries come from the native library directory, the one
// The loadable modules (module-aaudio-sink - the app's own, from tools/aaudio-sink - the
// native protocol, the pipe modules) ride in the apk; the daemon and its libraries come from the native library directory, the one
// place an app may execute a file from. The bundle is unpacked once per BUNDLE_STAMP, not
// once ever: an installed app kept the modules it unpacked on its first run, so a bundle
// fixed in a later build never reached the device - which is how a 17.0 glibc build of