Narayan
fbf9db3e45
grammar fix in error message
2025-08-19 12:11:41 -07: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
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
e64472e689
mp3: use mpg123 functions for detection
...
Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com >
2025-07-30 22:01:28 +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
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
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
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
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
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
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
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
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
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
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
Mahyar Koshkouei
136cc59632
Remove debugging
...
Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com >
2017-02-20 16:27:01 +00:00
Mahyar Koshkouei
057a13f7a2
Fix directory flashing
...
Fixed an issue whereby the console would flash when browsing files.
Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com >
2017-02-20 16:22:39 +00:00
Mahyar Koshkouei
5b1677d003
Fix music not playing but not stopped
...
Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com >
2017-02-19 20:15:19 +00:00
Mahyar Koshkouei
ae4b713bf6
Add new key mappings
...
Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com >
2017-02-15 17:25:02 +00:00
Mahyar Koshkouei
59688aaf0e
Remove error on going up directory
...
Removed an error that would briefly appear on the screen if the user
were to attempt to change to the above directory whilst being in the
root directory.
Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com >
2017-02-15 16:53:33 +00:00
Mahyar Koshkouei
073b507118
Browse files with Left & Right
...
Added feature to browse a folder with Left & Right buttons to skip over
half a screens worth of files (13 files).
Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com >
2017-02-15 16:34:50 +00:00
Mahyar Koshkouei
02746ec1d0
Fix playback bug & don't stop on every file select
...
Fixed a bug where ctrmus would freeze after selecting an unsupported
file.
Fixed a bug whereby selecting an unsupported file would stop playback.
Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com >
2017-02-15 16:03:37 +00:00
Mahyar Koshkouei
825db2f713
Fix build warnings
...
Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com >
2017-02-15 15:29:08 +00:00
Mahyar Koshkouei
65bb01ee72
Add missing function headers
...
Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com >
2017-02-14 22:45:18 +00:00
Mahyar Koshkouei
295edd06f0
Fix segfault on exit
...
Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com >
2017-02-14 17:58:21 +00:00
Mahyar Koshkouei
b7f3a70406
Remove header order requirement and debug
...
Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com >
2017-02-14 17:34:48 +00:00
Mahyar Koshkouei
711864cfa9
Fix error handling
...
Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com >
2017-02-14 17:00:15 +00:00
Mahyar Koshkouei
984192eebe
Improve error handling
...
Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com >
2017-02-14 17:00:15 +00:00
Mahyar Koshkouei
488a3d9357
Add pause/play display again
...
Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com >
2017-02-10 12:15:56 +00:00
Mahyar Koshkouei
5b433f2396
Add showControls, error handling, optimisations
...
Add a function to show button mappings using L + LEFT.
Added preliminary error handling that will be improved later to
determine playback issues.
Music is not stopped when an unsupported file is selected.
Some other minor modifications.
TODO:
Pause/play status does not show currently.
Obtain error status of playback thread.
Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com >
2017-02-10 11:41:01 +00:00
Mahyar Koshkouei
888c4a1505
Minor fixes to improve thread safety
...
Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com >
2017-02-10 08:48:26 +00:00
Mahyar Koshkouei
3df3461027
Fix pausing
...
Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com >
2017-02-10 08:21:29 +00:00