blob: e94367728a59330791897b9cbcf1e4b9ebdbf59f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
--- /var/tmp/portage/libao-0.8.3-r1/work/libao-0.8.3/src/plugins/alsa09/ao_alsa09.c 2001-12-19 07:39:24.000000000 +0900
+++ ao_alsa09.c 2003-03-23 17:30:40.000000000 +0900
@@ -192,18 +192,6 @@
if (err < 0)
goto error;
- cmd = "snd_pcm_hw_params_set_period_size";
- err = snd_pcm_hw_params_set_period_size(internal->pcm_handle, hwparams,
- internal->buf_size / internal->sample_size, 0);
- if (err < 0)
- goto error;
-
- cmd = "snd_pcm_hw_params_set_periods";
- err = snd_pcm_hw_params_set_periods(internal->pcm_handle, hwparams,
- internal->periods * format->channels, 0);
- if (err < 0)
- goto error;
-
cmd = "snd_pcm_hw_params";
err = snd_pcm_hw_params(internal->pcm_handle, hwparams);
if (err < 0)
|