Update README and minor changes for release
Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
<p align="center">A music player for the Nintendo 3DS</p>
|
<p align="center">A music player for the Nintendo 3DS</p>
|
||||||
|
|
||||||
### Instructions
|
### 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.
|
* Start the ctrmus.3dsx application in the homebrew launcher.
|
||||||
* Use the d-pad to select the music file to play, then press A.
|
* Use the d-pad to select the music file to play, then press A.
|
||||||
|
|
||||||
@@ -15,12 +15,14 @@ B = Stop
|
|||||||
### When stopped
|
### When stopped
|
||||||
A or R = Play selected file or change directory.
|
A or R = Play selected file or change directory.
|
||||||
|
|
||||||
|
B = Go up directory.
|
||||||
|
|
||||||
Up and down = Select file.
|
Up and down = Select file.
|
||||||
|
|
||||||
Start = Return to Homebrew menu (Only when stopped playing).
|
Start = Return to Homebrew menu (Only when stopped playing).
|
||||||
|
|
||||||
### Features
|
### Features
|
||||||
* Plays PCM WAV, AIFF, FLAC, Opus files.
|
* Plays PCM WAV, AIFF, FLAC, Opus, MP3 files.
|
||||||
* Pause and play support.
|
* Pause and play support.
|
||||||
* Plays music via headphones whilst system is closed.
|
* Plays music via headphones whilst system is closed.
|
||||||
* Ability to browse directories.
|
* Ability to browse directories.
|
||||||
@@ -28,6 +30,7 @@ Start = Return to Homebrew menu (Only when stopped playing).
|
|||||||
### Planned features
|
### Planned features
|
||||||
* Playlist support.
|
* Playlist support.
|
||||||
* Repeat and shuffle support.
|
* Repeat and shuffle support.
|
||||||
* OGG, MP3 file support.
|
* OGG file support.
|
||||||
* Metadata support.
|
* Metadata support.
|
||||||
|
* Gain support.
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
#define CHANNEL 0x08
|
#define CHANNEL 0x08
|
||||||
|
|
||||||
/* Adds extra debugging text */
|
/* Adds extra debugging text */
|
||||||
#define DEBUG
|
//#define DEBUG
|
||||||
|
|
||||||
/* Prints more error information */
|
/* Prints more error information */
|
||||||
#define err_print(err) \
|
#define err_print(err) \
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ int main(int argc, char **argv)
|
|||||||
fileMax = getNumberFiles();
|
fileMax = getNumberFiles();
|
||||||
|
|
||||||
consoleSelect(&topScreen);
|
consoleSelect(&topScreen);
|
||||||
puts("Playlist");
|
puts("Log");
|
||||||
consoleSelect(&bottomScreen);
|
consoleSelect(&bottomScreen);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -64,9 +64,11 @@ int playWav(const char *wav)
|
|||||||
(header[28]);
|
(header[28]);
|
||||||
blockalign = (header[33]<<8) + (header[32]);
|
blockalign = (header[33]<<8) + (header[32]);
|
||||||
bitness = (header[35]<<8) + (header[34]);
|
bitness = (header[35]<<8) + (header[34]);
|
||||||
|
#ifdef DEBUG
|
||||||
printf("Format: %s(%d), Ch: %d, Sam: %lu, bit: %d, BR: %lu, BA: %lu\n",
|
printf("Format: %s(%d), Ch: %d, Sam: %lu, bit: %d, BR: %lu, BA: %lu\n",
|
||||||
format == 1 ? "PCM" : "Other", format, channels, sample, bitness,
|
format == 1 ? "PCM" : "Other", format, channels, sample, bitness,
|
||||||
byterate, blockalign);
|
byterate, blockalign);
|
||||||
|
#endif
|
||||||
|
|
||||||
if(channels > 2)
|
if(channels > 2)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user