aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2008-09-08 20:42:35 +0200
committerMax Kellermann <max@duempel.org>2008-09-08 20:42:35 +0200
commitf1f1104b2cb49ea9cc7e8e156a30950ffaf04a56 (patch)
tree04b00e5af20956400e5b83bfadef1ac525b24741 /src
parentfa246e02befbeaea2a3e9b53be7d24f1f7215fe8 (diff)
downloadmpd-f1f1104b2cb49ea9cc7e8e156a30950ffaf04a56.tar.gz
mpd-f1f1104b2cb49ea9cc7e8e156a30950ffaf04a56.tar.xz
mpd-f1f1104b2cb49ea9cc7e8e156a30950ffaf04a56.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')
-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 c8b909032..81db6923c 100644
--- a/src/audioOutputs/audioOutput_alsa.c
+++ b/src/audioOutputs/audioOutput_alsa.c
@@ -46,7 +46,6 @@ typedef struct _AlsaData {
unsigned int period_time;
int sampleSize;
int useMmap;
- int canPause;
} AlsaData;
static AlsaData *newAlsaData(void)
@@ -260,8 +259,6 @@ configure_hw:
if (err < 0)
goto error;
- ad->canPause = snd_pcm_hw_params_can_pause(hwparams);
-
/* configure SW params */
snd_pcm_sw_params_alloca(&swparams);