I have never had an Apple but my cd's I had ripped to my W7 pc as lossless / flac files and dragged to my Samsung Note 3 via usb, as I thought WAV files, now play flawlessly as WMA files on the stock Music player.
I think your S5 will support most file types, but I forget.
From my SM-N9005 Note 3 on Tapatalk