aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-05-27 23:35:23 +0200
committerHarald Welte <laforge@gnumonks.org>2017-05-28 01:56:33 +0200
commit2ae47af0be4152447e3fd5317d9dffa8c1cdf211 (patch)
tree0c5cdf94d465e8c85d5c4a9dc1b5555fb3de7063 /include
parent07d691314c3b61735a766ec3d455f8084fa05872 (diff)
Add ALSA input/output support to GAPK
The ALSA source/sink uses the pcm-s16le format.
Diffstat (limited to 'include')
-rw-r--r--include/gapk/procqueue.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/gapk/procqueue.h b/include/gapk/procqueue.h
index 93893ca..68d6f52 100644
--- a/include/gapk/procqueue.h
+++ b/include/gapk/procqueue.h
@@ -48,6 +48,9 @@ int pq_queue_file_output(struct pq *pq, FILE *dst, unsigned int block_len);
int pq_queue_rtp_input(struct pq *pq, int rtp_fd, unsigned int block_len);
int pq_queue_rtp_output(struct pq *pq, int rtp_fd, unsigned int block_len);
+/* ALSA */
+int pq_queue_alsa_input(struct pq *pq, const char *hwdev, unsigned int blk_len);
+int pq_queue_alsa_output(struct pq *pq, const char *hwdev, unsigned int blk_len);
/* Format */
struct format_desc;