diff options
Diffstat (limited to 'include/baresip.h')
-rw-r--r-- | include/baresip.h | 4 |
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, |