From: Abramo Bagnara Date: Sun, 21 Jan 2001 19:14:58 +0000 (+0000) Subject: Small fixes to OSS emulation X-Git-Tag: v1.0.3~93 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=ea38be4a1467f50234ed8c4e2fb03d4a975f9dcd;p=alsa-oss.git Small fixes to OSS emulation --- diff --git a/alsa-oss.c b/alsa-oss.c index 93e31c1..4a8686a 100644 --- a/alsa-oss.c +++ b/alsa-oss.c @@ -260,6 +260,8 @@ static int oss_dsp_sw_params(oss_dsp_t *dsp) if (!pcm) continue; snd_pcm_sw_params_current(pcm, &sw); + snd_pcm_sw_param_set(pcm, &sw, + SND_PCM_SW_PARAM_XFER_ALIGN, 1); if (str->disabled) snd_pcm_sw_param_set(pcm, &sw, SND_PCM_SW_PARAM_START_MODE,