mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-14 21:39:01 -04:00
Make the movie player work somewhat.
THPs are *almost* just a bunch of JPEGs so the TL;DR is BE fixes and replacing the decoding with libjpeg-turbo. Needs changes to thp.h which should be removed from Aurora, will do that later. Also audio not implemented yet.
This commit is contained in:
@@ -111,6 +111,11 @@ int RenderNewAudioFrame() {
|
||||
outRaw.flush();
|
||||
#endif
|
||||
|
||||
if (JASDriver::extMixCallback != nullptr) {
|
||||
// TODO: actually mix this data in.
|
||||
JASDriver::extMixCallback(countSubframes * DSP_SUBFRAME_SIZE);
|
||||
}
|
||||
|
||||
return static_cast<u16>(countSubframes) * DSP_SUBFRAME_SIZE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user