summaryrefslogtreecommitdiff
path: root/firmware/target/hosted/pcm-alsa.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/hosted/pcm-alsa.h')
-rw-r--r--firmware/target/hosted/pcm-alsa.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/target/hosted/pcm-alsa.h b/firmware/target/hosted/pcm-alsa.h
index b746f0d259..f10574a6da 100644
--- a/firmware/target/hosted/pcm-alsa.h
+++ b/firmware/target/hosted/pcm-alsa.h
@@ -28,6 +28,12 @@
28void pcm_alsa_set_digital_volume(int vol_db_l, int vol_db_r); 28void pcm_alsa_set_digital_volume(int vol_db_l, int vol_db_r);
29#endif 29#endif
30 30
31/* These two should be invoked in your audiohw_preinit() call! */
32void pcm_alsa_set_playback_device(const char *device);
33#if defined(HAVE_RECORDING)
34void pcm_alsa_set_capture_device(const char *device);
35#endif
36
31int pcm_alsa_get_rate(void); 37int pcm_alsa_get_rate(void);
32 38
33#endif /* __PCM_ALSA_RB_H__ */ 39#endif /* __PCM_ALSA_RB_H__ */