segfault-bilibili
segfault-bilibili
我改好了一个无加密的(换言之,**只支持NONE无加密**) https://github.com/segfault-bilibili/ShadowsocksGostPlugin/releases/tag/v2.11.1 (很显然我的apk签名和原作者不一样,所以得卸载原先的,否则安装时会报错提示签名不一致)
I see "unknown chunk" after PCM sample data. I don't know what it is, but it doesn't seem to disturb anything...
Ah, the same bug I had once created & then fixed😂 https://github.com/segfault-bilibili/hca.js/commit/3804499fafa1298643ac75b020c373d81a3c18ff ~Oh, I need to confirm this...~ Confirmed.
At least the "seam" block (at the start of looped blocks) itself should be re-decoded. I'm not sure whether more blocks should be re-decoded, however the affected bytes don't seem...
Still not sure what happend, but something must be wrong - I tested with an HCA with its `loop` section stripped, and then the output WAV file seemed to be...
Oh now we have two bugs😂
Maybe we should just follow what VGAudio is doing.
I think what you generated was simply **unencrypted** HCA, while the HCA extracted from the game is **encrypted** - therefore you should then encrypt your generated HCA with correct key...
Ah, the fact that `EnsureSoundDataDecoded` etc taking `position` as an argument itself shouldn't be a problem - the problem is, in my humble opinion, it should iterate through every block...
On the other hand, I think in a common streaming scenario, it should assume that the beginning part, rather than the following/ending part, is available.