alsa: get rid of the needless canPause flag

We never use it for anything anyways as we release the device
entirely on pause.
This commit is contained in:
Eric Wong 2008-09-08 20:42:35 +02:00 committed by Max Kellermann
parent fa246e02be
commit f1f1104b2c

View File

@ -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);