Does 320kbps MP3 or FLAC restore the original audio quality?
No. 320kbps is an output bitrate target, not proof of the source quality. Converting compressed audio to FLAC or WAV cannot restore lost detail. Choose MP3 for compatibility or M4A when suitable; actual output depends on the source.