diff options
author | Andreas Pape <apape@de.adit-jv.com> | 2016-11-25 17:06:37 +0530 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2016-11-28 20:18:19 +0100 |
commit | f8d07a7354a3fee1e30073aa7ac2efb89ef4e782 (patch) | |
tree | 0971fd8015374f9b7e5df62f13d420c578b12d3e | |
parent | 876563c824bdecbf771a0e7bda472b0a1c19d900 (diff) | |
download | alsa-lib-f8d07a7354a3fee1e30073aa7ac2efb89ef4e782.tar.gz |
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>
-rw-r--r-- | src/pcm/pcm_file.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pcm/pcm_file.c b/src/pcm/pcm_file.c index ae58c531..6ed39633 100644 --- a/src/pcm/pcm_file.c +++ b/src/pcm/pcm_file.c @@ -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, |