Lines 609-621
static int azx_pcm_open(struct snd_pcm_substream *substream)
Link Here
|
609 |
20, |
609 |
20, |
610 |
178000000); |
610 |
178000000); |
611 |
|
611 |
|
612 |
/* by some reason, the playback stream stalls on PulseAudio with |
|
|
613 |
* tsched=1 when a capture stream triggers. Until we figure out the |
614 |
* real cause, disable tsched mode by telling the PCM info flag. |
615 |
*/ |
616 |
if (chip->driver_caps & AZX_DCAPS_AMD_WORKAROUND) |
617 |
runtime->hw.info |= SNDRV_PCM_INFO_BATCH; |
618 |
|
619 |
if (chip->align_buffer_size) |
612 |
if (chip->align_buffer_size) |
620 |
/* constrain buffer sizes to be multiple of 128 |
613 |
/* constrain buffer sizes to be multiple of 128 |
621 |
bytes. This is more efficient in terms of memory |
614 |
bytes. This is more efficient in terms of memory |