Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Audio playthrough - how ?

Audio playthrough - how ?
Thread Tools
Junior Member
Join Date: Jan 2001
Location: -
Status: Offline
Reply With Quote
Apr 10, 2002, 09:42 AM
 
I have a G4 with analog audio in (microphone/line).
I am desperatly trying to enable playthrough for the line in input.
According to apples Documentation, there are two functions:
AudioDeviceGetProperty and AudioDeviceSetProperty.
The Hardware of the machine supports playthrough, also there is a Software on the web called "playthrough FX" which actually does work.

But when I call
AudioDeviceGetProperty(deviceNum, true, kAudioPropertyPlayThru, NULL, &data);
always an error is returned.
The device Number is "10", that should be the "Built in Audio Controller" of the G4.
Is there any sample code which demonstrates this feature?
Also, do I have to switch between the micro an the line input? If yes, I dont know how.

Any Ideas welcome
thanks

[ 04-10-2002: Message edited by: nobody ]
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:43 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2