@Stephen

Remove the speaker and solder the red and white wires to a headphone jack. It's as simple as that.

Alternatively, you can also wire the speaker back on parallel to the headphone jack along with a speaker on/off switch, or use a latching headphone jack (which I didn't, so don't ask me for details on that).

Hope that helps!