Get current volume level

Here is how you can get current volume level for a specific sound type. In this example media volume is retrieved, but you can choose between various sound types defined by enum sound_type_e. See API reference for more details.