Aegisub/libaegisub/audio
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
..
provider.cpp Fix bugs in separating Int16Mono and original audio 2019-11-02 00:41:14 -04:00
provider_convert.cpp Added experimental XAudio2 audio player 2019-11-01 03:32:42 -04:00
provider_dummy.cpp Make dummy audio provider generate non-periodic noise 2015-01-14 00:21:22 +01:00
provider_hd.cpp Handle channel > 1 in hd & ram cache audio provider 2019-10-30 00:47:45 -04:00
provider_lock.cpp Clearly state int16 Mono of the audio provider in function name 2019-10-29 21:45:40 -04:00
provider_pcm.cpp Fix PCM provider bugs 2019-09-15 19:46:43 -04:00
provider_ram.cpp Fix bugs in ram audio provider 2019-11-02 02:26:36 -04:00