diff options
Diffstat (limited to 'plugins/alsa/alsa-ringbuf.c')
-rw-r--r-- | plugins/alsa/alsa-ringbuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/alsa/alsa-ringbuf.c b/plugins/alsa/alsa-ringbuf.c index 2d77e4c..476222c 100644 --- a/plugins/alsa/alsa-ringbuf.c +++ b/plugins/alsa/alsa-ringbuf.c @@ -25,7 +25,7 @@ snd_pcm_uframes_t alsa_ringbuf_capacity(const alsa_ringbuf_t *rb) { return ringbuf_capacity(rb->rbuf)/rb->frameSize; } -snd_pcm_uframes_t alsa_ringbuf_frames_free(const alsa_ringbuf_t *rb) { +snd_pcm_uframes_t alsa_ringbuf_frames_remain_capacity(const alsa_ringbuf_t *rb) { return ringbuf_bytes_free(rb->rbuf)/rb->frameSize; } |