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

@@ -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)
{