improved resource handling for media player. only instantiate them when sound profile is selected.