Audio output both on HDMI and Optical

I’ve just bought a WD TV HD to view movies and listen to music.

I connected via HDMI to my AV Receiver to watch movies and via optical cable to my DAC and stereo amplifier. 

The problem is that I am not able to route the audio signal both on HDMI and on optical to avoid to open the setup panel every time I want to switch from music to video. 

Correct.