• 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
implementing a custom audio decoder for iOS?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

implementing a custom audio decoder for iOS?


  • Subject: implementing a custom audio decoder for iOS?
  • From: Doug McCoy <email@hidden>
  • Date: Wed, 04 Apr 2018 12:31:35 -0700

Hey all,

I am investigating how I can implement a custom audio decoder to be used
via AVFoundation classes on iOS.

What I have is:

   - a C library that takes:
      - input: frames of custom encoded audio (from MP4 container)
      - output: frames of stereo PCM
   - assume this must be done in realtime with streams, not files.

What I'd like to know:

   - Are there any hooks into the AVFoundation processing flow that allow
   custom decoding?
   - If not AVFoundation, can this be done with other iOS audio frameworks?


MTAudioProcessingTap? methinks not.
I was initially pleased to see the MTAudioProcessingTap available for use,
but this seem only useful for processing the decoded PCM, not the encoded
frames directly from the input stream.

Pipe Dream?
What would be amazing is to find a hook into AVPlayer or AVAsset that
allows for custom decoding of stream packets.

Any guidance is appreciated!

Doug
 _______________________________________________
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

  • Prev by Date: Re: Driving a USB device at 32 bits per sample
  • Next by Date: Not seeing MIDI setup changes without MIDINotifyProc
  • Previous by thread: Re: Driving a USB device at 32 bits per sample
  • Next by thread: Not seeing MIDI setup changes without MIDINotifyProc
  • Index(es):
    • Date
    • Thread