Solved! can i plug my 5.1 surround speakers straight to pc?

Jun 21, 2018
im new to all this and not good writting english so please be patient here.
i have a cheapo blueray hometheatre system plugged through optical at the moment, but it has quite a bit of delay (i guess due to dolby encoding) and scince its also my gaming rig its pretty annoying .
i also have a sound blaster z, i belive it does work as an amp but i dont know if it would suffice to feed my speakers through 5.1 analog output, removing the bluray from the whole thing.