Added the ability to compile a subset of functions in to a test
executable for Linux. To be used in the future for testing.
Removed unnecessary includes.
Tested working by compiling test executable for GNU/Linux and for the
3DS. The 3dsx was tested in citra.
Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
Created generic playback handler, first with Opus support. Other
decoders to follow. This is to remove duplicated code.
3DSX tested working with citra and N3DS.
Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com>
Fixed an issue where the "Paused" text would still be displayed after
un-pausing a WAV file.
Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com>
Opus files can now be played.
Fixed an issue where monophonic tracks were being played twice as slow.
Opus decodes to stereo always.
Additionally added ability to loop the file selector from 1 to the last
file when pressing down and vice versa.
There are known issues. Please see the issues page for them.
Tested working with:
196kbit Stereo Opus File
32kbit Stereo Opus File
96kbit Mono Opus File
8kbit Stereo Opus File
Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com>
Additionally made very minor changes to fix 80 character line limit in
some places.
Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com>