summaryrefslogtreecommitdiffstats
path: root/audio/out/ao_alsa.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/out/ao_alsa.c')
-rw-r--r--audio/out/ao_alsa.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/audio/out/ao_alsa.c b/audio/out/ao_alsa.c
index c91b6eda6d..e1e3a164d3 100644
--- a/audio/out/ao_alsa.c
+++ b/audio/out/ao_alsa.c
@@ -354,9 +354,6 @@ static int init(struct ao *ao)
struct priv *p = ao->priv;
- p->prepause_frames = 0;
- p->delay_before_pause = 0;
-
/* switch for spdif
* sets opening sequence for SPDIF
* sets also the playback and other switches 'on the fly'
@@ -379,9 +376,6 @@ static int init(struct ao *ao)
device = p->cfg_device;
MP_VERBOSE(ao, "using device: %s\n", device);
-
- p->can_pause = 1;
-
MP_VERBOSE(ao, "using ALSA version: %s\n", snd_asoundlib_version());
int open_mode = p->cfg_block ? 0 : SND_PCM_NONBLOCK;