Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 738578 | Differences between
and this patch

Collapse All | Expand All

(-)advancemame-3.9/advance/linux/salsa.c.orig (+4 lines)
Lines 163-169 Link Here
163
		goto err_close;
163
		goto err_close;
164
	}
164
	}
165
165
166
#ifdef USE_MSB
167
	r = snd_pcm_hw_params_set_format(alsa_state.handle, hw_params, SND_PCM_FORMAT_S16_BE);
168
#else
166
	r = snd_pcm_hw_params_set_format(alsa_state.handle, hw_params, SND_PCM_FORMAT_S16_LE);
169
	r = snd_pcm_hw_params_set_format(alsa_state.handle, hw_params, SND_PCM_FORMAT_S16_LE);
170
#endif
167
	if (r < 0) {
171
	if (r < 0) {
168
		log_std(("ERROR:sound:alsa: Couldn't set audio format: %s\n", snd_strerror(r)));
172
		log_std(("ERROR:sound:alsa: Couldn't set audio format: %s\n", snd_strerror(r)));
169
		goto err_close;
173
		goto err_close;

Return to bug 738578