Yes, I think that is exactly what you have proved that you have to do (and is how my program does it).
(My program allows the user to choose the volume and stores the value in a global variable. Then that variable is used to set the volume for each file playing. But of course a different file might itself be louder or quieter in which case the user might want to adjust again!)
Mike.