summaryrefslogtreecommitdiff
path: root/apps/plugins/lua/include_lua/pcm.lua
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/lua/include_lua/pcm.lua')
-rw-r--r--apps/plugins/lua/include_lua/pcm.lua20
1 files changed, 10 insertions, 10 deletions
diff --git a/apps/plugins/lua/include_lua/pcm.lua b/apps/plugins/lua/include_lua/pcm.lua
index 318669bd67..6b2b6db204 100644
--- a/apps/plugins/lua/include_lua/pcm.lua
+++ b/apps/plugins/lua/include_lua/pcm.lua
@@ -24,13 +24,13 @@
24-- [[ conversion to old style pcm_ functions ]] 24-- [[ conversion to old style pcm_ functions ]]
25if not rb.pcm then rb.splash(rb.HZ, "No Support!") return nil end 25if not rb.pcm then rb.splash(rb.HZ, "No Support!") return nil end
26 26
27rb.pcm_apply_settings = function() rb.pcm("applysettings") end 27rb.pcm_apply_settings = function() rb.pcm("apply_settings") end
28rb.pcm_set_frequency = function(freq) rb.pcm("setfrequency", freq) end 28rb.pcm_set_frequency = function(freq) rb.pcm("set_frequency", freq) end
29rb.pcm_play_pause = function(bplay) rb.pcm("playpause", bplay) end 29rb.pcm_play_pause = function(bplay) rb.pcm("play_pause", bplay) end
30rb.pcm_play_stop = function() rb.pcm("playstop") end 30rb.pcm_play_stop = function() rb.pcm("play_stop") end
31rb.pcm_play_lock = function() rb.pcm("playlock") end 31rb.pcm_play_lock = function() rb.pcm("play_lock") end
32rb.pcm_play_unlock = function() rb.pcm("playunlock") end 32rb.pcm_play_unlock = function() rb.pcm("play_unlock") end
33rb.pcm_is_playing = function() return rb.pcm("isplaying") end 33rb.pcm_is_playing = function() return rb.pcm("is_playing") end
34rb.pcm_is_paused = function() return rb.pcm("ispaused") end 34rb.pcm_is_paused = function() return rb.pcm("is_paused") end
35rb.pcm_calculate_peaks = function() return rb.pcm("calculatepeaks") end 35rb.pcm_calculate_peaks = function() return rb.pcm("calculate_peaks") end
36rb.pcm_get_bytes_waiting = function() return rb.pcm("getbyteswaiting") end 36rb.pcm_get_bytes_waiting = function() return rb.pcm("get_bytes_waiting") end