summaryrefslogtreecommitdiff
path: root/modules/alsa/alsa.h
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2014-02-09 11:50:07 +0100
committerAlfred E. Heggestad <aeh@db.org>2014-02-09 11:50:07 +0100
commit98bf08bdcf2edd9d397f32650a8bfe62186fbecf (patch)
treeebc6ec71f44bff8c42e4eefced61948623df02fc /modules/alsa/alsa.h
parente6ad5cf4401b860ba402d4b7b3c7c254bc87a019 (diff)
baresip 0.4.10
Diffstat (limited to 'modules/alsa/alsa.h')
-rw-r--r--modules/alsa/alsa.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/modules/alsa/alsa.h b/modules/alsa/alsa.h
new file mode 100644
index 0000000..f779fcc
--- /dev/null
+++ b/modules/alsa/alsa.h
@@ -0,0 +1,18 @@
+/**
+ * @file alsa.h ALSA sound driver -- internal interface
+ *
+ * Copyright (C) 2010 Creytiv.com
+ */
+
+
+extern char alsa_dev[64];
+
+int alsa_reset(snd_pcm_t *pcm, uint32_t srate, uint32_t ch, enum aufmt fmt,
+ uint32_t num_frames);
+int alsa_src_alloc(struct ausrc_st **stp, struct ausrc *as,
+ struct media_ctx **ctx,
+ struct ausrc_prm *prm, const char *device,
+ ausrc_read_h *rh, ausrc_error_h *errh, void *arg);
+int alsa_play_alloc(struct auplay_st **stp, struct auplay *ap,
+ struct auplay_prm *prm, const char *device,
+ auplay_write_h *wh, void *arg);