Either will work. Why don't you get a regular Toslink cable, and then order an adapter. What length do you want? I'll find you a link for what you need.
That TOSLINK cable I linked him to comes with an adapter. Use "(2) Digital optical for DVD or CD players, PlayStation®2, Xbox™*, or PC sound cards (requires optical cable, sold separately)" to hook it up to your MBP.