aboutsummaryrefslogtreecommitdiffstats
path: root/src/audioOutputs
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2008-09-07 20:46:03 -0700
committerEric Wong <normalperson@yhbt.net>2008-09-07 22:25:00 -0700
commit8508a377bebafadb56b2666b55d2caf2b04ed875 (patch)
tree0824ab50769174170b2a01b99fe3eb66454cf41d /src/audioOutputs
parent4171425550477a49433d20ecbd779e80215033bb (diff)
downloadmpd-8508a377bebafadb56b2666b55d2caf2b04ed875.tar.gz
mpd-8508a377bebafadb56b2666b55d2caf2b04ed875.tar.xz
mpd-8508a377bebafadb56b2666b55d2caf2b04ed875.zip
alsa: get rid of the needless canPause flag
We never use it for anything anyways as we release the device entirely on pause.
Diffstat (limited to 'src/audioOutputs')
-rw-r--r--src/audioOutputs/audioOutput_alsa.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/audioOutputs/audioOutput_alsa.c b/src/audioOutputs/audioOutput_alsa.c
index c34ace0fd..2b50cf618 100644
--- a/src/audioOutputs/audioOutput_alsa.c
+++ b/src/audioOutputs/audioOutput_alsa.c
@@ -62,7 +62,6 @@ typedef struct _AlsaData {
unsigned int period_time;
int sampleSize;
int useMmap;
- int canPause;
} AlsaData;
static AlsaData *newAlsaData(void)
@@ -257,8 +256,6 @@ configure_hw:
&alsa_period_size, NULL)) < 0)
goto error;
- ad->canPause = snd_pcm_hw_params_can_pause(hwparams);
-
/* configure SW params */
snd_pcm_sw_params_alloca(&swparams);