aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Farrugia <mark.farrugia@fiberdyne.com.au>2018-10-25 14:03:30 +1100
committerMark Farrugia <mark.farrugia@fiberdyne.com.au>2018-10-26 17:27:48 +1100
commit92492a28f45725d128edc3cb4fba47b08446c7c4 (patch)
treef9bed6c499f99d8849523180e4f4064c093f147a
parent6b1a48a65fca8c81a4299f95f2096dbef4815b75 (diff)
Reinstate temporarily removed PCM callbacks
These can still be used, although proceed with caution when adding new Audio Paths. The copy_user PCM callback caused lots of strife when porting the loopback driver! Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
-rw-r--r--alsa-pcm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/alsa-pcm.c b/alsa-pcm.c
index 34a658c..0c39a4d 100644
--- a/alsa-pcm.c
+++ b/alsa-pcm.c
@@ -324,10 +324,10 @@ struct snd_pcm_ops pcm_ops = {
.prepare = pcm_prepare,
.trigger = pcm_trigger,
.pointer = pcm_pointer,
- //.get_time_info = pcm_get_time_info,
- //.fill_silence = pcm_silence,
+ .get_time_info = pcm_get_time_info,
+ .fill_silence = pcm_silence,
.copy_user = pcm_copy_user,
- //.copy_kernel = pcm_copy_kernel,
+ .copy_kernel = pcm_copy_kernel,
.page = snd_pcm_lib_get_vmalloc_page,
- //.ack = pcm_ack,
+ .ack = pcm_ack,
};