Only the first page of files can be browsed in the directory though.
The top screen is where the playlist will be displayed, but is currently
used for music playback info.
Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com>
Fixed a major bug whereby file names were being retrieved from a cleared
pointer (issue 9).
Tested working on n3DS.
Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com>
Fixed a major bug whereby file names were being retrieved from a cleared
pointer (issue 9).
Tested working on 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>
Fixed a bug where the CIA icon was blank.
Fixed automatic version number generation for the CIA.
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>
Fixed an issue whereby the size of the buffer was incorrect causing
malformed audio output when playing a flac music file.
Additionally removed some debugging code and old chaff.
Tested working with stereo and mono 16 bit flac files.
Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com>
Additionally changed compiler optimisation back to O3 and temporarily
use only a single buffer with flac decoding.
Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com>
Fixed an issue whereby signed PCM16 sample data was being stored in an
unsigned array. Sound quality doesn't seem to have been affected.
Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com>
Set buffer size back to set value rather than bases on values obtained
from file.
Fixed some indentation and removed some old debugging chaff.
Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com>
Fixed a bug whereby the last part of the file may be play twice.
Additionally changed the buffer size to the sample size of the wav file.
This is so that there is little delay when pausing.
Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com>
Pressing A now pauses and plays the selected file.
Reduced buffer size from 1MiB to 16KiB.
Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com>
Fixed an issue whereby the return value of fopen was not checked for a
NULL pointer causing a crash. This error occurred when opening a file
with the character "é", when it was the first file opened when starting
the program.
Error messages now report the errno string.
Added preliminary stream support.
Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com>
Now using dynamic allocation for file name.
Sleep mode disabled to allow playing of music whilst lid is closed via
headphones.
Fixed an issue where the 3DS screens would not appear when coming back
from sleep mode.
Fixed an issue where music may immediately stop playing after trying to
play it.
Music can now be listened to when the 3DS has its lid closed.
Fixed an issue whereby the number of sample in the buffer was
miscalculated.
Music can now be played by pressing the R button, even when the 3DS lid
is closed. Selecting a file still has to be done with the d-pad.
Tested working on new 3DS. Only the first 8MiB of a wav file is
currently played.
Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com>
8 bit, and ADPCM wav files sound like garbage, so disabling it.
Changed directory to "MUSIC".
Minor changes to file selector.
Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com>
Added work-around for stereo WAV files. Plays them twice as fast to
compensate for the fact the player currently only supporting monophonic
output. Stereo output will be added in the future.
WAV sampling rate, resolution, channels, etc is now automatically
detected. Note that 8bit WAV files sound horrible for some reason.
Note that PCM WAV files are supported, not compressed WAV files.
Tested working on n3DS and 3DS.
Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com>