I'd like to play an audio in a snake game,
I knew that there are libraries to do so, but I do not know them,
thanks for attention.
FMod
OpenAL
DirectX
Any of those should be sufficient. For open-source I'd probably go with OpenAL or FMod (free for non-commercial only)