Skip to content

Commit

Permalink
Update README and minor changes for release
Browse files Browse the repository at this point in the history
Signed-off-by: Mahyar Koshkouei <[email protected]>
  • Loading branch information
deltabeard committed Jan 5, 2017
1 parent 0e6a86c commit 3059bea
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -15,19 +15,22 @@ 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.

### Planned features
* Playlist support.
* Repeat and shuffle support.
* OGG, MP3 file support.
* OGG file support.
* Metadata support.
* Gain support.

2 changes: 1 addition & 1 deletion source/all.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#define CHANNEL 0x08

/* Adds extra debugging text */
#define DEBUG
//#define DEBUG

/* Prints more error information */
#define err_print(err) \
Expand Down
2 changes: 1 addition & 1 deletion source/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ int main(int argc, char **argv)
fileMax = getNumberFiles();

consoleSelect(&topScreen);
puts("Playlist");
puts("Log");
consoleSelect(&bottomScreen);

/**
Expand Down
2 changes: 2 additions & 0 deletions source/wav.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 3059bea

Please sign in to comment.