I want to make a program that plays music stored in the ram (it is going to be streamed)
I want to make a program that plays music stored in the ram (it is going to be streamed)
Yes.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
Well if you want more specifics, start by being specific about which OS/Compiler/Sound Library you're planning to use.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
Then why not start by looking at what audio libraries are available for linux, including finding out which ones are already installed on your system, and then choosing one that seems like it will handle the input formats you want to handle?