Commit Graph

179 Commits

Author SHA1 Message Date
Narayan
bd283f7f5f removed debug print and random whitespace 2025-08-19 13:51:23 -07:00
Narayan
28e3275bdc got initial impl of stack to save positions working 2025-08-19 13:47:03 -07:00
Narayan
576d320fb7 added new constant for impl 2025-08-19 12:11:55 -07:00
Narayan
fbf9db3e45 grammar fix in error message 2025-08-19 12:11:41 -07:00
Mahyar Koshkouei
865ddb49b2 Merge pull request #76 from narayanx/bugfix/console-resetting
Fixed likely typo in top screen log window height causing buggy behavior/crashing
2025-08-19 09:19:36 +01:00
Narayan
e43a6c2d67 fixed likely typo in top screen log window height 2025-08-19 01:04:20 -07:00
Mahyar Koshkouei
6177ae83fc Merge pull request #74 from narayanx/hotfix/song-stop-crash
Removed problematic 2nd console clear when stopping song
2025-08-18 08:27:40 +01:00
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
e5e2e6faa0 commented out problematic 2nd console clear when stopping song 2025-08-17 23:52:10 -07: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