LuK1337 changed the topic of #titandev to: Loliés! | *yiff* | https://libera.irclog.whitequark.org/titandev
<luca020400> LuK1337: is android emu working on fedora?
<luca020400> [ 1050.804893] qemu-system-x86[138277]: segfault at 149b1080 ip 00000000149b1080 sp 00007fe830f670b8 error 15
<luca020400> doesn't look good...
<luca020400> emulator: Adding boot property: 'qemu.timezone' = 'Europe/Vatican'
<luca020400> It works...
<LuK1337> x86 one worked
<LuK1337> arm, no
<luca020400> I can't get any to work
<luca020400> fuck
<LuK1337> avd works on f35
<LuK1337> don't have lineage x86 compiled to test `emulator`
<luca020400> avd works
<luca020400> emulator nop
<luca020400> hmm it's one of my args
<luca020400> -no-window it is
<luca020400> meh
<luca020400> can't start emu remotely
<luca020400> why
<LuK1337> luca020400: can i somehow dump audioeffect params?
<luca020400> I don't remember
<luca020400> probably via dumpsys?
<LuK1337> i don't see anything like effects params there
<LuK1337> only audio params
<LuK1337> oneplus did something weird on oos11
<LuK1337> and loading dirac seems to make it different (not sure if better?)
<LuK1337> but i'm pretty sure there are some dirac params for it too
<LuK1337> i'd maybe look at stock apk code
<LuK1337> but it's not really readable...
<LuK1337> maybe i'll just write xposed module...
<LuK1337> ngl but these params seem complicated
<luca020400> this looks a lot like firmware
<LuK1337> ah
<LuK1337> i had audio tuner enabled
<LuK1337> maybe disabling it will reduce the output
<LuK1337> it kinda did
<LuK1337> either way, here goes another useless app — https://github.com/luk1337/AudioEffectsHook
<LuK1337> maybe if i decide to reimplement whole audio tuning app
<LuK1337> i'll just use it to dump all configs
<LuK1337> i was bit more bored and figured out how eq command is sent
<LuK1337> 0881da8480011081da848001180a28c4d8022880f7022880ee052880dc0b30b0a20430b4a20430b5a20438b6da04421c 0000c040 0000c040 0000c040 0000c040 0000c040 0000c040 0000c040 481c // +6.0 on everything
<LuK1337> 0881da8480011081da848001180a28c4d8022880f7022880ee052880dc0b30b0a20430b4a20430b5a20438b6da04421c 00000000 00000000 00000000 00004040 00000000 00000000 00000000 481c // +3.0 on 4th
<LuK1337> 0881da8480011081da848001180a28c4d8022880f7022880ee052880dc0b30b0a20430b4a20430b5a20438b6da04421c 00000000 00000000 00000000 00000000 00000000 00000000 00000000 481c // +0.0
<LuK1337> 0881da8480011081da848001180a28c4d8022880f7022880ee052880dc0b30b0a20430b4a20430b5a20438b6da04421c 0000c0c0 0000c0c0 0000c0c0 0000c0c0 0000c0c0 0000c0c0 0000c0c0 481c // -6.0 on everything
<LuK1337> 0000c040 to 0000c0c0 ( aka +6.0 to -6.0) is a weird range
<luca020400> is it linear?
<luca020400> nope don't get it
<LuK1337> maybe logarithmic
<LuK1337> volume control in music players is usually logarithmic
<LuK1337> so maybe this eq is too
<LuK1337> or maybe i was thinking of cubic
<luca020400> but I don't get how 0000c0c0 < 00004040 < 0000c040
<luca020400> -6, 0, 6
<luca020400> s/0/3/
<LuK1337> maybe change endianness
<LuK1337> idk
<luca020400> ah
<luca020400> 0c0c < 0404 < 040c
<luca020400> probably log then
<luca020400> no wait
<luca020400> 0x0404 * 3 is 0x0c0c
<LuK1337> i wonder why there's no -5.8
whitekidney has quit [Ping timeout: 265 seconds]
whitekidney has joined #titandev