• 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: HAL Device question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HAL Device question


  • Subject: Re: HAL Device question
  • From: Stefan Werner <email@hidden>
  • Date: Fri, 7 Nov 2003 18:14:06 +0100

Hi,

there is a mostly undocumented API for writing user space audio drivers in AudioHardwarePlugin.h. It appears that the driver for the iSight's built-in microphone is using that one. The people maintaining the Jack port on OS X are using it, and your scenario sounds to me like you could already be fine using Jack on OS X.
You can read about Jack on OS X here
http://www.grame.fr/~letz/jack.html
and here
http://www.meskalina.it/elementicaotici/dev/audiounits.html

Also, I am working on an audio-over-Ethernet system for OS X (see the link in my signature), you could use its driver and tell it to send the audio data to localhost and receive it in a user space application. Note that I am working only in one direction, you'd need to implement the recording direction yourself. Feel free to contact me off-list if you're intersted in details.

Stefan

From: Martin Hairer <email@hidden>
Subject: Re: HAL Device question
Date: Thu, 6 Nov 2003 16:17:56 +0000

Can you explain what you mean by this?

What I would like to achieve is to create an audio device that would
act as
a sort of "proxy" for the other audio devices on the machine. So the
user would
be able to select my device in order to record from, say, either the
buillt-in audio
device or the iMic, etc. My "fake" device would then just pass on the
data from
the "real" device after performing some processing. Same goes for
playback...

If possible, I would like to stay in user space for that (Fig. 2-15 in

/Developer/Documentation/MusicAudio/Reference/CoreAudio/
core_audio_intro/index.html

seems to say that it is indeed possible), since I have no experience
with kernel
programming.

To think about it, it seems that this kind of stuff could be achieved
with an APE
module, does that sound reasonable? Thanks,

--
Stefan Werner
Student of applied computer science at the HdM Stuttgart, Germany
http://www.hdm-stuttgart.de/~sw19/audiospace/
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: whats the best way to start AU
  • Next by Date: Re: Mystery errror on AudioDeviceSetProperty
  • Previous by thread: Re: HAL Device question
  • Next by thread: VST2AU SDK and MacOS 10.3 problem
  • Index(es):
    • Date
    • Thread