File: jack-ringbuffer.h

package info (click to toggle)
jack-tools 20131226-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, stretch
  • size: 708 kB
  • ctags: 808
  • sloc: ansic: 6,183; makefile: 109; lisp: 54
file content (13 lines) | stat: -rw-r--r-- 525 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef _COMMON_JACK_RINGBUFFER_H
#define _COMMON_JACK_RINGBUFFER_H

#include <jack/jack.h>
#include <jack/ringbuffer.h>

void jack_ringbuffer_print_debug(const jack_ringbuffer_t *r, const char *s);
int jack_ringbuffer_wait_for_read(const jack_ringbuffer_t *r, int nbytes, int fd);
int jack_ringbuffer_wait_for_write(jack_ringbuffer_t *r, int nbytes, int fd);
void jack_ringbuffer_read_exactly(jack_ringbuffer_t *r, char *buf, int n);
void jack_ringbuffer_write_exactly(jack_ringbuffer_t *r, const char *buf, int n);

#endif