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:
parent
fa246e02be
commit
f1f1104b2c
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user