If you want lossless, FLAC is the way to go, so in terms of quality, that's probably the best. If you don't mind some compression, I'm less sure. MP3 supports fairly high bit rates, so it's at least pretty decent on top of being so universal.