Update README and minor changes for release

Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com>
This commit is contained in:
Mahyar Koshkouei
2017-01-05 22:22:28 +00:00
parent 0e6a86c551
commit 3059bead6b
4 changed files with 10 additions and 5 deletions

View File

@@ -2,7 +2,7 @@
<p align="center">A music player for the Nintendo 3DS</p>
### Instructions
* Supported music files should go in the MUSIC folder on the root of the SD card, like SD:\MUSIC\chala.wav.
* Transfer your music files to any folder on the SD card in your 3DS.
* Start the ctrmus.3dsx application in the homebrew launcher.
* Use the d-pad to select the music file to play, then press A.
@@ -15,12 +15,14 @@ B = Stop
### When stopped
A or R = Play selected file or change directory.
B = Go up directory.
Up and down = Select file.
Start = Return to Homebrew menu (Only when stopped playing).
### Features
* Plays PCM WAV, AIFF, FLAC, Opus files.
* Plays PCM WAV, AIFF, FLAC, Opus, MP3 files.
* Pause and play support.
* Plays music via headphones whilst system is closed.
* Ability to browse directories.
@@ -28,6 +30,7 @@ Start = Return to Homebrew menu (Only when stopped playing).
### Planned features
* Playlist support.
* Repeat and shuffle support.
* OGG, MP3 file support.
* OGG file support.
* Metadata support.
* Gain support.

View File

@@ -4,7 +4,7 @@
#define CHANNEL 0x08
/* Adds extra debugging text */
#define DEBUG
//#define DEBUG
/* Prints more error information */
#define err_print(err) \

View File

@@ -60,7 +60,7 @@ int main(int argc, char **argv)
fileMax = getNumberFiles();
consoleSelect(&topScreen);
puts("Playlist");
puts("Log");
consoleSelect(&bottomScreen);
/**

View File

@@ -64,9 +64,11 @@ int playWav(const char *wav)
(header[28]);
blockalign = (header[33]<<8) + (header[32]);
bitness = (header[35]<<8) + (header[34]);
#ifdef DEBUG
printf("Format: %s(%d), Ch: %d, Sam: %lu, bit: %d, BR: %lu, BA: %lu\n",
format == 1 ? "PCM" : "Other", format, channels, sample, bitness,
byterate, blockalign);
#endif
if(channels > 2)
{