Commit Graph

10 Commits

Author SHA1 Message Date
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
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
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
825db2f713 Fix build warnings
Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com>
2017-02-15 15:29:08 +00:00
Mahyar Koshkouei
bc2d8aae85 Testing mp3 files with error protection enabled
Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com>
2017-01-13 22:01:06 +00:00
Mahyar Koshkouei
1c2203ffd0 Fix types in MP3 decoder
Using casts as a work around, and fixed type of one variable.

Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com>
2017-01-12 11:48:48 +00:00
Mahyar Koshkouei
42b3d50a16 Use dynamic buffer size for mp3 again
Additionally removed the old MP3 code, saving a massive 1KB from the
binary!

Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com>
2017-01-12 11:48:48 +00:00
Mahyar Koshkouei
a1cd5363db Initial MP3 refactor
Using mpg123_outblock doesn't work correctly. Also assigning variables
to different types.

Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com>
2017-01-12 11:48:48 +00:00
Mahyar Koshkouei
28d2e8d594 Add MP3 Support
Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com>
2017-01-05 21:12:03 +00:00