Hass.io QNAP installation and audio output

Hello I have Hass.io installation into a virtual ubuntu machine on my QNAP NAS…(had some problem with the built-in docker version) and im trying to use the audio jack output of the NAS as a media_player (to do some TTS) is anyone have been able to achieve that ? or have some advices to do it ?

Thank you