Set sample format in flac_decode_init() rather than in