Commit f1f1104b authored by Eric Wong's avatar Eric Wong Committed by Max Kellermann

alsa: get rid of the needless canPause flag

We never use it for anything anyways as we release the device entirely on pause.
parent fa246e02
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment