• 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
Stopping Audio from a converter data proc
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Stopping Audio from a converter data proc


  • Subject: Stopping Audio from a converter data proc
  • From: "Tracy Lakin" <email@hidden>
  • Date: Thu, 30 May 2002 20:03:35 -0700
  • Thread-topic: Stopping Audio from a converter data proc

Hi,

I've written a simple audio file player to test an Audio Unit.

When the file is at the end, it is in the Audio Converter's Input Data Proc that this is discovered. There is no more data.

I tried calling AudioOutputUnitStop from within the Input Data Proc. Audio does stop, but will not start again with the analogous AudioOutputUnitStart. I am using the Default Audio Output.

Are there limits on what you can do in the Audio Converter's Input Data Proc? I did notice that after stopping the audio, the Input Data Proc might get called again. I have code that picks this up, and returns a dataSize of zero, with a valid pointer to the "empty" data.

I used the Core Audio "DefaultOutputUnit" example as a start, adding Cocoa and IB parts, with some Daisy (Carbon) AIFF code, modified.


Tracy
_______________________________________________
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: musictrack to aunode
  • Next by Date: Is MIDISendSysex still broken in 10.1.4 ?
  • Previous by thread: RE: musictrack to aunode
  • Next by thread: Is MIDISendSysex still broken in 10.1.4 ?
  • Index(es):
    • Date
    • Thread