diff options
author | Alfred E. Heggestad <alfred.heggestad@gmail.com> | 2017-03-22 12:52:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-22 12:52:14 +0100 |
commit | 4afc7980a64dcd4abd1bb79d048f7ea363e99cd1 (patch) | |
tree | bbcb5134490682b6157afbdaa68180a725f636ae /modules/audiounit | |
parent | c3edc6136aabada7fbbe04e038918b833c1c32c1 (diff) |
Ausrc auplay reentrant (#227)
* ausrc: re-entrant api
* fix ausrc api for linux
* fix ccheck
* auplay: make it re-entrant
* auplay: update more modules
Diffstat (limited to 'modules/audiounit')
-rw-r--r-- | modules/audiounit/audiounit.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/audiounit/audiounit.c b/modules/audiounit/audiounit.c index 74583fc..b03bcec 100644 --- a/modules/audiounit/audiounit.c +++ b/modules/audiounit/audiounit.c @@ -71,8 +71,10 @@ static int module_init(void) return ENOENT; } - err = auplay_register(&auplay, "audiounit", audiounit_player_alloc); - err |= ausrc_register(&ausrc, "audiounit", audiounit_recorder_alloc); + err = auplay_register(&auplay, baresip_auplayl(), + "audiounit", audiounit_player_alloc); + err |= ausrc_register(&ausrc, baresip_ausrcl(), + "audiounit", audiounit_recorder_alloc); return 0; } |