Tried your auggestion, AU, couldn't get it to work.
HAL works.
So I seek a solution to my problem using HAL, not AU.
Message: 5
Date: Thu, 21 Feb 2008 12:07:33 -0700
From: Roland Silver <
email@hidden>
Subject: correcting calls to deprecated functions
To: katsura <
email@hidden>
Cc: Core Audio List <
email@hidden>
Message-ID: <
email@hidden>
Content-Type: text/plain; charset="us-ascii"
You (katsura) suggested changing my call to the deprecated function
AudioDeviceAddIOProc as follows:
change
status = AudioDeviceAddIOProc( device, InputIOProc, NULL );
to
status =
AudioDeviceCreateIOProcID( device, InputIOProc, NULL, [arg4] );
Question: What do I need to put in for [arg4]?
I also need to change
err = AudioDeviceRemoveIOProc(device, appIOProc);
Is this correct?
err = AudioDeviceDestroyIOProcID(device, &appIOProc);
Roland Silver
email@hidden