You can get somewhat better sound by using an
LOD (Line Out Dock) cable that attaches to the 30-pin dock connector and is a line level signal bypassing the internal headphone amplifier.
Of course you could likely get even better sound with a digital dock such as the
Pure i-20 dock and using the coaxial or optical digital output into a digital input on the SP 1.7 and use its DAC.
If you have one of the new iDevices with the new Lightning connector instead of the old 30-pin dock connector (iPhone 5, iPod Touch 5th generation, iPod Nano 7th generation or iPad 4th generation) you would need the Lightning to 30-pin adapter.
Steve