Ran into a number of issues using SDL2 To only play music while using the default console - Anyways:
Here is an example using Audren directly with mpg123 to be able to play mp3 files.
Please feel free to ask questions or point out anything I have done wrong here, There are very few, if any, good resources online to learn/debug this stuff but this repro has been a great help.
Tried to keep similar formatting to the other examples in this repro, may have gone a bit overboard with comments.
Ran into a number of issues using SDL2 To only play music while using the default console - Anyways:
Here is an example using Audren directly with mpg123 to be able to play mp3 files.
Please feel free to ask questions or point out anything I have done wrong here, There are very few, if any, good resources online to learn/debug this stuff but this repro has been a great help. Tried to keep similar formatting to the other examples in this repro, may have gone a bit overboard with comments.