Impemented snd_pcm_htimestamp() function.

This commit is contained in:
Jaroslav Kysela 2008-01-09 13:50:45 +01:00
parent 309a274454
commit 2c1318803f
19 changed files with 182 additions and 14 deletions

View file

@ -259,6 +259,13 @@ snd_pcm_sframes_t snd_pcm_generic_avail_update(snd_pcm_t *pcm)
return snd_pcm_avail_update(generic->slave);
}
int snd_pcm_generic_htimestamp(snd_pcm_t *pcm, snd_pcm_uframes_t *avail,
snd_htimestamp_t *tstamp)
{
snd_pcm_generic_t *generic = pcm->private_data;
return snd_pcm_htimestamp(generic->slave, avail, tstamp);
}
int snd_pcm_generic_mmap(snd_pcm_t *pcm)
{
if (pcm->mmap_shadow) {