mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-05 13:30:00 -05:00
pcm: file: Add htimestamp operation in plugin file
PCM operation htimestamp is not implemented in plugin file. Calling snd_pcm_htimestamp() on a plugin file crashes. This scenario is considered now. Signed-off-by: Andreas Pape <apape@de.adit-jv.com> Signed-off-by: Joshua Frkuska <joshua_frkuska@mentor.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
876563c824
commit
f8d07a7354
1 changed files with 1 additions and 0 deletions
|
|
@ -706,6 +706,7 @@ static const snd_pcm_fast_ops_t snd_pcm_file_fast_ops = {
|
|||
.readi = snd_pcm_file_readi,
|
||||
.readn = snd_pcm_file_readn,
|
||||
.avail_update = snd_pcm_generic_avail_update,
|
||||
.htimestamp = snd_pcm_generic_htimestamp,
|
||||
.mmap_commit = snd_pcm_file_mmap_commit,
|
||||
.poll_descriptors_count = snd_pcm_generic_poll_descriptors_count,
|
||||
.poll_descriptors = snd_pcm_generic_poll_descriptors,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue