Aegisub/libaegisub
wangqr 71894fd769 Fix bugs in ram audio provider
There was some magic bit operations to calculate the cache block offsets. This only works when both bytes_per_sample and channels are power of 2. Originally the format is assumed to be int16 mono, which satisfies this requirement. However in case we use original audio data, the channels can be something not a power of 2 (e.g. for 5.1 channel audio the number of channels is 6). This will break the calculation. We rewrite the calculation, without using those bit operations.
2019-11-02 02:26:36 -04:00
..
ass Fix overflow bound 2018-12-08 01:20:08 -05:00
audio Fix bugs in ram audio provider 2019-11-02 02:26:36 -04:00
common Remove the usage of __FILE__ 2019-11-02 00:23:44 -04:00
include/libaegisub Remove the usage of __FILE__ 2019-11-02 00:23:44 -04:00
lua Migrate to CMake to update packages easier 2019-05-08 16:34:39 -04:00
osx Mark a bunch of things as overriding virtual functions 2015-07-28 14:30:02 -07:00
unix Remove the usage of __FILE__ 2019-11-02 00:23:44 -04:00
windows Remove the usage of __FILE__ 2019-11-02 00:23:44 -04:00
lagi_pre.h Fix Makefile build 2019-09-02 13:46:50 -04:00
Makefile Makefiles: replace the use of subst macro with patsubst (#56) 2018-03-05 09:28:29 -08:00