|
@@ -269,6 +269,9 @@ struct rsnd_mod_ops {
|
|
|
struct rsnd_dai_stream *io,
|
|
|
struct snd_pcm_substream *substream,
|
|
|
struct snd_pcm_hw_params *hw_params);
|
|
|
+ int (*pointer)(struct rsnd_mod *mod,
|
|
|
+ struct rsnd_dai_stream *io,
|
|
|
+ snd_pcm_uframes_t *pointer);
|
|
|
int (*fallback)(struct rsnd_mod *mod,
|
|
|
struct rsnd_dai_stream *io,
|
|
|
struct rsnd_priv *priv);
|
|
@@ -306,6 +309,7 @@ struct rsnd_mod {
|
|
|
* H 0: pcm_new
|
|
|
* H 0: fallback
|
|
|
* H 0: hw_params
|
|
|
+ * H 0: pointer
|
|
|
*/
|
|
|
#define __rsnd_mod_shift_nolock_start 0
|
|
|
#define __rsnd_mod_shift_nolock_stop 0
|
|
@@ -319,6 +323,7 @@ struct rsnd_mod {
|
|
|
#define __rsnd_mod_shift_pcm_new 28 /* always called */
|
|
|
#define __rsnd_mod_shift_fallback 28 /* always called */
|
|
|
#define __rsnd_mod_shift_hw_params 28 /* always called */
|
|
|
+#define __rsnd_mod_shift_pointer 28 /* always called */
|
|
|
|
|
|
#define __rsnd_mod_add_probe 0
|
|
|
#define __rsnd_mod_add_remove 0
|
|
@@ -332,6 +337,7 @@ struct rsnd_mod {
|
|
|
#define __rsnd_mod_add_pcm_new 0
|
|
|
#define __rsnd_mod_add_fallback 0
|
|
|
#define __rsnd_mod_add_hw_params 0
|
|
|
+#define __rsnd_mod_add_pointer 0
|
|
|
|
|
|
#define __rsnd_mod_call_probe 0
|
|
|
#define __rsnd_mod_call_remove 0
|
|
@@ -343,6 +349,7 @@ struct rsnd_mod {
|
|
|
#define __rsnd_mod_call_pcm_new 0
|
|
|
#define __rsnd_mod_call_fallback 0
|
|
|
#define __rsnd_mod_call_hw_params 0
|
|
|
+#define __rsnd_mod_call_pointer 0
|
|
|
#define __rsnd_mod_call_nolock_start 0
|
|
|
#define __rsnd_mod_call_nolock_stop 1
|
|
|
|