• 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
Reading the sample buffer of the default audio output
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Reading the sample buffer of the default audio output


  • Subject: Reading the sample buffer of the default audio output
  • From: Nils Svangård <email@hidden>
  • Date: Thu, 21 Mar 2002 15:55:27 +0100

Hey,

While browsing the CoreAudio documentation I got the impression that the Audio Driver fed back the Sample buffer to the HAL, and that I could read this buffer with AudioDeviceRead(). (At least while looking at figure 2-3 "Writing Audio Drivers" document.) What I'm trying to do is write an application that does not play any sound but process the sound other applications emit through sample buffer of the Default output device.

However, after initializing and starting the device and registering the AudioBuffers, AudioDeviceRead() returns kAudioHardwareIllegalOperationError all the time. I've only heard rumours that this should be possible, but perhaps it's not? Anyone got any idea how I could do this?

Cheers,

--
Nils Svangerd, Catchy Software
http://www.catchysoftware.com
_______________________________________________
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.

  • Follow-Ups:
    • Re: Reading the sample buffer of the default audio output
      • From: Jeff Moore <email@hidden>
  • Prev by Date: Re: Cocoa And AudioUnits
  • Next by Date: MP audio output
  • Previous by thread: Re: Cocoa And AudioUnits
  • Next by thread: Re: Reading the sample buffer of the default audio output
  • Index(es):
    • Date
    • Thread