BEATS: htc sound buffers for beats
/sound/soc/msm/msm-pcm-routing.h
blob:237da1da4836bbeb10966dbca0584d43c7d32b7f -> blob:379392936b1f329e62cd9828fe36b848b7f5664b
--- sound/soc/msm/msm-pcm-routing.h
+++ sound/soc/msm/msm-pcm-routing.h
@@ -81,6 +81,10 @@ enum {
MSM_BACKEND_DAI_MAX,
};
+struct msm_pcm_routing_ops {
+ int (*get_q6_effect) (void);
+};
+
/* dai_id: front-end ID,
* dspst_id: DSP audio stream ID
* stream_type: playback or capture
@@ -89,7 +93,13 @@ void msm_pcm_routing_reg_phy_stream(int
int stream_type);
void msm_pcm_routing_dereg_phy_stream(int fedai_id, int stream_type);
+int msm_pcm_routing_get_port(struct snd_pcm_substream *substream);
+
int lpa_set_volume(unsigned volume);
+int compr_set_volume(unsigned volume);
+
int msm_routing_check_backend_enabled(int fedai_id);
+
+void htc_8960_register_pcm_routing_ops(struct msm_pcm_routing_ops *ops);
#endif /*_MSM_PCM_H*/