PCM | |
OLD | NEW |
rb.pcm_apply_settings | rb.pcm("apply_settings") |
| rb.pcm("calculate_peaks") |
rb.pcm_play_stop | rb.pcm("play_stop") |
rb.pcm_play_pause | rb.pcm("play_pause", ) |
rb.pcm_play_lock | rb.pcm("play_lock") |
rb.pcm_play_unlock | rb.pcm("play_unlock") |
rb.pcm_is_playing | rb.pcm("is_playing") |
rb.pcm_is_paused | rb.pcm("is_paused",) |
rb.pcm_get_bytes_waiting | rb.pcm("get_bytes_waiting") |
rb.pcm_set_frequency | rb.pcm("set_frequency", ) |
You can also add require("pcm")
to the top of your script to get the old functionality.