summaryrefslogtreecommitdiff
path: root/palsa.c
diff options
context:
space:
mode:
Diffstat (limited to 'palsa.c')
-rw-r--r--palsa.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/palsa.c b/palsa.c
index 5026d9ec..171d01ac 100644
--- a/palsa.c
+++ b/palsa.c
@@ -251,6 +251,11 @@ palsa_set_volume (float vol) {
volume = vol;
}
+float
+palsa_get_volume (void) {
+ return volume;
+}
+
int
palsa_get_rate (void) {
return alsa_rate;