Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8191665
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T03:58:06+00:00 2026-06-07T03:58:06+00:00

I have a file that is a RIFF container with 3 chunks; RIFF chunk

  • 0

I have a file that is a RIFF container with 3 chunks; RIFF chunk has ‘WAVE’ identifier. First chunk is ‘fmt ‘, second is ‘data’, the last is ‘eink’ (my own chunk). So that file is generated by c# code that use directshow. The audio is encoded in AAC. So I wan’t to play the audio, that is stored in ‘data’ chunk, on iOS 5.*.
I’ve tried to read the whole ‘data’ chunk and use those bytes in [initWithData:error:][1] method of AVAudioPlayer. But it seems to work differently.
Than I thought, I could try to make my own m4a file with those bytes and play it, but is there any other right way? Please suggest me some ways to investigate it? Where to read? Or other method.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T03:58:07+00:00Added an answer on June 7, 2026 at 3:58 am

    Few concepts regarding WAV, AAC and MP4

    WAV is container format, that can store any other audio data, both compressed or uncompressed. More details at http://www.sonicspot.com/guide/wavefiles.html

    AAC can be encapsulated in multiple ways. Most common being ADTS and MP4. Details of AAC container format is at http://en.wikipedia.org/wiki/Advanced_Audio_Coding#Container_formats

    ADTS is relatively simple format, in which each AAC frame is preceded by a header. More details about ADTS header is at http://wiki.multimedia.cx/index.php?title=ADTS

    MP4 is relatively more complex format, with support for storing various audio formats and video formats. In case of MP4, header information is stored once in MP4 structures in the file and rest of AAC frames need not have any header information.

    How to support playing WAV file with AAC payload in iOS?

    • Determine the type of payload, whether it is ADTS or MP4 or ADIF
    • If file can be converted offline, use third party libraries like FFMPEG to convert WAV with AAC to M4A file, format supported by iOS.
    • if file need to converted on the device, best method would be to extract the AAC frame data from payload, convert them to way iOS expects and decode it. Best way to determine this would be to convert the file to M4A offline and see how the data is fed to iOS Audio Player.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a file that has tab separated data. I need to delete 2
I have a file that has the following format: 12345 TAB_HERE Name : The
I have a file that needs a semicolon delimiter after the first field, which
I have a file that describes input data, which is split into several other
I have a file that has a single column of numbers. I have to
I have a file that has 1 million numbers. I need to know how
I have a file that is loitering in my git status saying it has
I have a file that has many #define statements such as - #ifndef UTILITY_H
I have a file that only contains the mdat atom in a MP4 container.
I have a file that has broken somewhere down the line, and I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.