That's a nice cable there to combine both audio and video. Glad you got it working.
For those in the future that see this. Here is more info, since we get a lot of these.
The following video ports on your Mac, or any other PC you may have, do
not carry sound and will never carry sound.
VGA
mini-VGA
DVI
mini-DVI
A cable with any of the above as a part of its name also do
not and will
never carry sound.
Connecting a HDMI cable (that can carry your sound) to one of these ports does
not somehow magically enable it to carry sound.
The following ports on your computer:
DisplayPort
mini-displayport
According to the specification have the capability of carrying audio/video like HDMI. However, as of the date of this post, the audio portion has
not been implemented on any computers that I have seen. So, you're still out of luck here. Those that have begun using this port include Apple, Dell, Asus and others.
So, this means you still need a separate audio cable to get the audio to your TV or AV receiver.
One option for those with the mini-displayport is the following cable to combine audio and video from your Mac into HDMI.
For only $33.60 each when QTY 50+ purchased - Mini Displayport Male and USB Male Audio to HDMI Female Converting Adapter | Mini DisplayPort to HDMI / DVI / VGA Adapter
finsup: if you have a link for the mini-dvi/usb to HDMI, that would be a help for others also.