[ALSA] Remove PCM sleep_min and tick
The 'tick' in PCM is set (again) via sw_params. And, nobody uses this feature at all except for a command line option of aplay. (This is literally 'nobody', as I checked alsa-lib API calls in all programs in major distros.) Above all, if we need finer wake-ups for the position update, it's basically an issue that the driver should solve, not tuned by each application. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
committed by
Jaroslav Kysela
parent
130755108b
commit
31e8960b35
@@ -985,7 +985,6 @@ static int snd_pcm_oss_change_params(struct snd_pcm_substream *substream)
|
||||
sw_params->stop_threshold = runtime->buffer_size;
|
||||
sw_params->tstamp_mode = SNDRV_PCM_TSTAMP_NONE;
|
||||
sw_params->period_step = 1;
|
||||
sw_params->sleep_min = 0;
|
||||
sw_params->avail_min = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ?
|
||||
1 : runtime->period_size;
|
||||
if (atomic_read(&substream->mmap_count) ||
|
||||
|
Reference in New Issue
Block a user