• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Switching current audio input device
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Switching current audio input device


  • Subject: Re: Switching current audio input device
  • From: William Stewart <email@hidden>
  • Date: Mon, 6 Aug 2007 12:22:27 -0700

Also

The ComplexPlayThrough app has a number of problems in its code that we have been fixing. We hope to post an updated version of this shortly.

Thanks

Bill

On 03/08/2007, at 2:13 PM, Jeff Moore wrote:


On Aug 2, 2007, at 7:55 PM, Lorenzo Thurman wrote:

Here's what I want to do:
I want to be able to switch the currently selected audio input device (Apple audio input -> iMic)

Are you trying to change this system wide or just for your own process?


I found some sample code (ComplexPlayThru ) that does just that, among other things.
I want to incorporate the switching into my app, so I added some of the files from that project to my project via drag/drop from the finder.

I doubt very seriously that the ComplexPlayThru app is what you want to base your code on. There's a lot more going on there than just device management.


You definitely don't want to just use the code in the project as it is very specialized for that project. Rather, what you want to do is study the code, understand it, and translate it into your app.

I only need to reference one of the headers in my project, (I think), but when I do that, I get a slew of errors pointing not only to the referenced header, but to the headers referenced by it. I'm doing something wrong here, I'm sure, but I don't know what. I thought one or both of these compiler settings might help, but no dice:
Compile soure as: According to file type // All the files have the .cpp extension.
C language dialect: Compiler default. // I changed this from the default to another setting and got the same errors


There are a number of C++ settings, but most of these were checked by default, I enabled others, but still the same errors. I've read on the list and in the archives threads of this nature, but could not find anything that helped.
This might be more of an Xcode question, I have emailed that list, but thought I would try here again anyway. I got no substantive answers the first time.

I remember your last email. I did in fact respond, looking for more information about what you are trying to do. So far, you haven't answered that question at all.


Now, all I really need to do is switch the input device, so if someone knows of a simpler way to do this, I'm all ears. I'm sure I don't need all of this code, but I can whittle things down once I get a better handle on CA.

I'd really like to see a lot more info about what your application is trying to do and what APIs you are using to accomplish that. The answer to your question very much hinges on this information.


--

Jeff Moore
Core Audio
Apple


_______________________________________________ Do not post admin requests to the list. They will be ignored. Coreaudio-api mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden

--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________ __
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________ __


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Switching current audio input device (From: Lorenzo Thurman <email@hidden>)
 >Re: Switching current audio input device (From: Jeff Moore <email@hidden>)

  • Prev by Date: Re: ExtAudioFileWriteAsync problem,empty file
  • Next by Date: Re: MOTU Ultralight not showing up in output device query
  • Previous by thread: Re: Switching current audio input device
  • Next by thread: Examples on how to use stereo mixer?
  • Index(es):
    • Date
    • Thread