Commit Graph

171 Commits

Author SHA1 Message Date
Mahyar Koshkouei
fbef16d893 Merge pull request #69 from narayanx/bugfix/switching-songs
Fix issues with playing next file #67 and #68
2025-08-18 08:26:48 +01:00
Narayan
390d2cf594 fixed bug where switching songs doesn't scroll file list 2025-08-03 12:27:00 -07:00
Mahyar Koshkouei
8f7d7d6c0f mp3: use simpler mp3 detection
Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
2025-08-01 00:01:58 +01:00
Mahyar Koshkouei
fa723f311e play: fix segfault
Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
2025-08-01 00:01:35 +01:00
Mahyar Koshkouei
fb7c6166b1 play: use stack to store filename
Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
2025-08-01 00:01:08 +01:00
Mahyar Koshkouei
c5d2650ea7 play: do not print on watchdog thread
Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
2025-08-01 00:00:25 +01:00
Mahyar Koshkouei
183b05aa06 Makefile: Use -O3 -g3 for optimisation and debug symbols
Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
2025-07-31 23:58:50 +01:00
Mahyar Koshkouei
b4d1f687d1 ide: add remote debugging configuration
Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
2025-07-31 23:58:24 +01:00
Mahyar Koshkouei
e64472e689 mp3: use mpg123 functions for detection
Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
2025-07-30 22:01:28 +01:00
Mahyar Koshkouei
08ec6a7adb ide: add debug config for vs code
Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
2025-07-30 21:35:36 +01:00
Mahyar Koshkouei
7ce3252dee libs: update dr_libs submodule
Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
2025-07-29 17:38:19 +01:00
Mahyar Koshkouei
0f053a84be Merge pull request #60 from nycki93/main
use ZL and ZR to change songs with lid closed
2025-07-29 17:25:21 +01:00
Nicholas Lamicela
8d82a96dfa fix end of song detection 2025-01-24 19:55:24 -08:00
Nicholas Lamicela
cf455d8381 add autoplay 2025-01-24 19:34:20 -08:00
Nicholas Lamicela
83ab6c3c51 use ZL and ZR to change songs with lid closed! 2025-01-24 16:51:54 -08:00
Nicholas Lamicela
d36af46294 update readme 2025-01-24 16:15:20 -08:00
Mahyar Koshkouei
2ff0853ad4 error: add instructions on dumping DSP firmware
Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
2023-07-08 23:17:34 +01:00
Mahyar Koshkouei
cdf49f8dcf play: add current and total time of music
Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
2023-07-08 16:51:14 +01:00
Mahyar Koshkouei
ca583a5487 wav: use dr_wav for wav decoding
Adds support for various wave formats.

Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
2023-07-08 14:38:55 +01:00
Mahyar Koshkouei
0e79e61255 all: remove unused functions from includes
Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
2023-07-08 13:06:14 +01:00
Mahyar Koshkouei
ce654bd115 buildtools: update submodule to fix build warning
Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
2023-07-08 12:09:43 +01:00
Mahyar Koshkouei
900892c453 buildtools: use local repo
Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
2023-07-08 12:05:36 +01:00
Mahyar Koshkouei
875849771e gitignore: ignore output and build folders
Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
2023-07-08 11:57:57 +01:00
Mahyar Koshkouei
a09e44a462 all: move headers to include folder
Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
2023-07-08 11:49:04 +01:00
Mahyar Koshkouei
983002a696 gitignore: add vim
Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
2023-07-08 11:48:39 +01:00
Mahyar Koshkouei
39ad015894 flac: update dr_libs and buildtools
This required changes to the flac plugin due to changes in the dr_flac
API.

Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
2023-07-07 23:22:39 +01:00
Mahyar Koshkouei
a1c62ad537 README: remove old contributing file
This was merged with the README.
2021-04-28 16:54:24 +01:00
Mahyar Koshkouei
cd73690d2d README: add build instructions 2021-04-28 16:22:23 +01:00
Mahyar Koshkouei
0143d7ece1 build: fix ctru API change in SDMC access
Additionally updated buildtools.
Tested with Citra 3DS emulator only.

Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
2021-04-28 15:50:49 +01:00
Mahyar Koshkouei
dafad9d64f Merge pull request #41 from badda71/master
Add SID support (libsidplay required)
2020-05-09 10:17:01 +01:00
badda71
5e114bab0f Update sid.cpp 2019-06-04 11:13:28 +02:00
badda71
41731df793 Update source/sid.cpp
Co-Authored-By: Mahyar Koshkouei <mk@deltabeard.com>
2019-06-02 21:54:46 +02:00
badda71
878a38039b Add SID support (libsidplay required) 2019-03-03 22:32:53 +01:00
Mahyar Koshkouei
8ad176ca1d Merge pull request #40 from Oreo639/fix-compile
Fix building
2018-11-04 17:27:50 +00:00
Oreo639
722668df44 Fix building
Removes the need to edit lib's header files.
2018-11-03 20:55:27 -07:00
Mahyar Koshkouei
19372d24f2 Update dr_flac library
Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
2017-08-20 13:41:00 +01:00
Mahyar Koshkouei
ef0289bceb Refactor for testing
Added basic decoding functionality to test.

Refactored some code to stop 3DS specific code from compiling on
GNU/Linux.

Tested working by running the test executable on GNU/Linux. Vorbis
decoding has many errors detected by valgrind (but still decodes
successfully).
Opus, flac, and mp3 decoding work without errors.

Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
2017-08-14 23:14:45 +01:00
Mahyar Koshkouei
11d7bede77 Initial testing support
Added the ability to compile a subset of functions in to a test
executable for Linux. To be used in the future for testing.

Removed unnecessary includes.

Tested working by compiling test executable for GNU/Linux and for the
3DS. The 3dsx was tested in citra.

Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
2017-08-14 21:50:54 +01:00
Mahyar Koshkouei
9a7d3683b9 Update Readme
Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
2017-07-08 19:32:09 +01:00
Mahyar Koshkouei
808ae2cc91 Fix Vorbis playback
Tested with a stereo OGG Vorbis file only.

Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
2017-07-08 13:51:20 +01:00
Mahyar Koshkouei
4c2d8586bf Removed useless parameter in Opus module
Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
2017-07-08 12:53:59 +01:00
Mahyar Koshkouei
ed5eaba746 Add Vorbis decoder
Additionally implemented better handling of the playback stopping
procedure.

Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
2017-07-08 12:43:41 +01:00
Mahyar Koshkouei
c6f27ae957 Update submodules
Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
2017-07-07 22:59:18 +01:00
Mahyar Koshkouei
3f928df6ea Update QR Code 2017-03-11 16:26:22 +00:00
Mahyar Koshkouei
4f4228bd0a Fix Opus not decoding at correct rate
Fixed an issue whereby Opus files would decode at the original sampling
rate rather than the sampling rate of the Opus file itself which should
always be 48000.

[Opus Custom](https://wiki.xiph.org/OpusFAQ#What_is_Opus_Custom.3F) is
not supported.

Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com>
2017-03-11 16:10:01 +00:00
Mahyar Koshkouei
c062e9286b Update submodules
Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com>
2017-03-10 21:03:38 +00:00
Mahyar Koshkouei
42d880ade2 Add support for flac in ogg container
Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com>
2017-03-10 20:32:13 +00:00
Mahyar Koshkouei
7615dd7710 Update README.md 2017-02-22 16:17:31 +00:00
Mahyar Koshkouei
8c0da77677 Merge branch 'dirCache' 2017-02-22 15:58:59 +00:00
Mahyar Koshkouei
b7efc57b1a Fix error and line clear bugs
Fixed a bug whereby error messages may appear on the bottom screen.
Fixed a bug whereby some lines on the bottom screen would not be cleared
whilst browsing files, causing some file names to appear where they
shouldn't.

Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com>
2017-02-22 15:53:26 +00:00