summaryrefslogtreecommitdiffstats
path: root/pcm.c
diff options
context:
space:
mode:
Diffstat (limited to 'pcm.c')
-rw-r--r--pcm.c18
1 files changed, 2 insertions, 16 deletions
diff --git a/pcm.c b/pcm.c
index e91b121..fc01953 100644
--- a/pcm.c
+++ b/pcm.c
@@ -33,20 +33,6 @@
#define PRIVATE_DATA(substream) \
((struct snd_avirt_private_data *)substream->private_data)
-/**
- * snd_avirt_pcm_period_elapsed - PCM buffer complete callback
- * @substreamid: pointer to ALSA PCM substream
- *
- * This should be called from a child Audio Path once it has finished
- * processing the pcm buffer
- */
-void snd_avirt_pcm_period_elapsed(struct snd_pcm_substream *substream)
-{
- // Notify ALSA middle layer of the elapsed period boundary
- snd_pcm_period_elapsed(substream);
-}
-EXPORT_SYMBOL_GPL(snd_avirt_pcm_period_elapsed);
-
/*******************************************************************************
* ALSA PCM Callbacks
******************************************************************************/
@@ -103,9 +89,9 @@ static int pcm_open(struct snd_pcm_substream *substream)
/**
* pcm_close - Implements 'close' callback for PCM middle layer
* @substream: pointer to ALSA PCM substream
- *
+ *
* This is called when a PCM substream is closed.
- *
+ *
* Returns 0 on success or error code otherwise.
*/
static int pcm_close(struct snd_pcm_substream *substream)