[asterisk-commits] kpfleming: trunk r136504 - /trunk/apps/app_jack.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Aug 7 12:26:24 CDT 2008


Author: kpfleming
Date: Thu Aug  7 12:26:23 2008
New Revision: 136504

URL: http://svn.digium.com/view/asterisk?view=rev&rev=136504
Log:
stop using deprecated API call

Modified:
    trunk/apps/app_jack.c

Modified: trunk/apps/app_jack.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_jack.c?view=diff&rev=136504&r1=136503&r2=136504
==============================================================================
--- trunk/apps/app_jack.c (original)
+++ trunk/apps/app_jack.c Thu Aug  7 12:26:23 2008
@@ -859,7 +859,7 @@
 	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 @@
 	/* 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);
 




More information about the asterisk-commits mailing list