From 3df68451010ff1f374cffbb325b7346640365152 Mon Sep 17 00:00:00 2001 From: Daniel Mack Date: Fri, 19 Mar 2010 17:32:21 +0100 Subject: modules/coreaudio: replace deprecated functions All API calls are now consolidated in AudioObject* calls, the old model has been deprecated in 10.6. Follow that change. --- src/modules/coreaudio/module-coreaudio-device.c | 126 ++++++++++++++++-------- 1 file changed, 86 insertions(+), 40 deletions(-) (limited to 'src/modules/coreaudio/module-coreaudio-device.c') diff --git a/src/modules/coreaudio/module-coreaudio-device.c b/src/modules/coreaudio/module-coreaudio-device.c index a3699e68..5e6d49c2 100644 --- a/src/modules/coreaudio/module-coreaudio-device.c +++ b/src/modules/coreaudio/module-coreaudio-device.c @@ -1,7 +1,7 @@ /*** This file is part of PulseAudio. - Copyright 2009 Daniel Mack + Copyright 2009,2010 Daniel Mack PulseAudio is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published @@ -58,11 +58,11 @@ PA_MODULE_AUTHOR("Daniel Mack"); PA_MODULE_DESCRIPTION("CoreAudio device"); PA_MODULE_VERSION(PACKAGE_VERSION); PA_MODULE_LOAD_ONCE(FALSE); -PA_MODULE_USAGE("device_id= " +PA_MODULE_USAGE("object_id= " "ioproc_frames=