The file-format compatibility depends on the player you use on your computer, most of the common format is supported by popular players including:
Native audio format: WAV, AIFF, DSF, DIFF
Lossless compressed format: ALAC, Flac
Lossy compressed format: MP3, M4A, M4P, etc.
There are some limitations directly linked to the application used. For example, iTunes do not allow the playback of FLAC files. But you can use different software to convert the FLAC files into WAV or AIFF.