aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_jack.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2008-08-07 17:26:23 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2008-08-07 17:26:23 +0000
commit2bbbc5c33a91f138415b8f096d0ed9807c082a97 (patch)
tree7814062d43f9b2ad9b1f3704855f3e06fe2a6780 /apps/app_jack.c
parent9107af45fc5e44ef82b13a404881e75c2e6b0791 (diff)
stop using deprecated API call
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@136504 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_jack.c')
-rw-r--r--apps/app_jack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_jack.c b/apps/app_jack.c
index 46d36573f..3ce1fc822 100644
--- a/apps/app_jack.c
+++ b/apps/app_jack.c
@@ -859,7 +859,7 @@ static int enable_jack_hook(struct ast_channel *chan, char *data)
if (init_jack_data(chan, jack_data))
goto return_error;
- if (!(datastore = ast_channel_datastore_alloc(&jack_hook_ds_info, NULL)))
+ if (!(datastore = ast_datastore_alloc(&jack_hook_ds_info, NULL)))
goto return_error;
jack_data->has_audiohook = 1;
@@ -908,7 +908,7 @@ static int disable_jack_hook(struct ast_channel *chan)
/* Keep the channel locked while we destroy the datastore, so that we can
* ensure that all of the jack stuff is stopped just in case another frame
* tries to come through the audiohook callback. */
- ast_channel_datastore_free(datastore);
+ ast_datastore_free(datastore);
ast_channel_unlock(chan);