mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-06 13:29:59 -05:00
pcm: Add sw_params API functions to get/set timestamp type
For obtaining / changing the timestamp type, add the corresponding sw_params accessor API functions together with the public definitions of timestamp types. This patch only adds the functions and defines but doesn't bring the functional changes yet. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
5250a8e212
commit
0d393c29a2
4 changed files with 64 additions and 0 deletions
|
|
@ -202,6 +202,7 @@ struct _snd_pcm {
|
|||
unsigned int period_time; /* period duration */
|
||||
snd_interval_t periods;
|
||||
snd_pcm_tstamp_t tstamp_mode; /* timestamp mode */
|
||||
snd_pcm_tstamp_type_t tstamp_type; /* timestamp type */
|
||||
unsigned int period_step;
|
||||
snd_pcm_uframes_t avail_min; /* min avail frames for wakeup */
|
||||
int period_event;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue