diff options
Diffstat (limited to 'firmware/target/hosted/pcm-alsa.h')
-rw-r--r-- | firmware/target/hosted/pcm-alsa.h | 6 |
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 @@ | |||
28 | void pcm_alsa_set_digital_volume(int vol_db_l, int vol_db_r); | 28 | void 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! */ | ||
32 | void pcm_alsa_set_playback_device(const char *device); | ||
33 | #if defined(HAVE_RECORDING) | ||
34 | void pcm_alsa_set_capture_device(const char *device); | ||
35 | #endif | ||
36 | |||
31 | int pcm_alsa_get_rate(void); | 37 | int pcm_alsa_get_rate(void); |
32 | 38 | ||
33 | #endif /* __PCM_ALSA_RB_H__ */ | 39 | #endif /* __PCM_ALSA_RB_H__ */ |