summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2014-02-13 15:36:57 +0100
committerAlfred E. Heggestad <aeh@db.org>2014-02-13 15:36:57 +0100
commit00133c99c214dfe2159c4b9347a782dd3eda8046 (patch)
treeac0b301f7e2814fbdc47772e04d94b93768dd76c /include
parente4d71aca3cc153bbac505dac430b3b5574f15016 (diff)
ausrc/auplay api: change to 16-bit samples
Diffstat (limited to 'include')
-rw-r--r--include/baresip.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/baresip.h b/include/baresip.h
index 8abb2ee..8bfd75d 100644
--- a/include/baresip.h
+++ b/include/baresip.h
@@ -261,7 +261,7 @@ struct ausrc_prm {
uint32_t ptime; /**< Wanted packet-time in [ms] */
};
-typedef void (ausrc_read_h)(const uint8_t *buf, size_t sz, void *arg);
+typedef void (ausrc_read_h)(const int16_t *sampv, size_t sampc, void *arg);
typedef void (ausrc_error_h)(int err, const char *str, void *arg);
typedef int (ausrc_alloc_h)(struct ausrc_st **stp, struct ausrc *ausrc,
@@ -292,7 +292,7 @@ struct auplay_prm {
uint32_t ptime; /**< Wanted packet-time in [ms] */
};
-typedef bool (auplay_write_h)(uint8_t *buf, size_t sz, void *arg);
+typedef void (auplay_write_h)(int16_t *sampv, size_t sampc, void *arg);
typedef int (auplay_alloc_h)(struct auplay_st **stp, struct auplay *ap,
struct auplay_prm *prm, const char *device,