mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
pcm: Fill sw_params proto field
Fill the new proto field introduced to sw_params with the current PCM protocol version. This makes tstamp_type evaluated properly in the kernel. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
de63b942ac
commit
55c5362521
3 changed files with 4 additions and 2 deletions
|
|
@ -386,8 +386,8 @@ struct snd_pcm_sw_params {
|
|||
snd_pcm_uframes_t silence_threshold; /* min distance from noise for silence filling */
|
||||
snd_pcm_uframes_t silence_size; /* silence block size */
|
||||
snd_pcm_uframes_t boundary; /* pointers wrap point */
|
||||
unsigned int tstamp_type; /* timestamp type */
|
||||
int pads; /* alignment, reserved */
|
||||
unsigned int proto; /* protocol version */
|
||||
unsigned int tstamp_type; /* timestamp type (req. proto >= 2.0.12) */
|
||||
unsigned char reserved[56]; /* reserved for future */
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue