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

  • Home
  • SEARCH
  • 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 8868297
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T17:14:19+00:00 2026-06-14T17:14:19+00:00

Is there any comprehensive documentation/tutorial for this function (for iOS core audio) CMSampleBufferGetAudioBufferListWithRetainedBlockBuffer ?

  • 0

Is there any comprehensive documentation/tutorial for this function (for iOS core audio) CMSampleBufferGetAudioBufferListWithRetainedBlockBuffer? Couldn’t find anything on the web, and the examples on stack over flow leave much to be desired.

  • 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-14T17:14:20+00:00Added an answer on June 14, 2026 at 5:14 pm

    after months of working with CMSampleBufferGetAudioBufferListWithRetainedBlockBuffer, i’ve learned that while it’s hard to find a post or link specifically about the said function, it’s also easy to find a ton of resources about the general topic of audio in iOS, chief amongst them is the book Learning Core Audio..

    it takes time for the dense concepts of iOS core audio to sink in and it takes a lot of practice.. once things sink in.. the above method will become an easy tool in a much bigger tool box.. and all its parameters and uses will make intuitive sense

    also a quick way to find out about the parameters and what the function does above exactly.. simply go to the documentation provided in the header file (ie in XCode, highlight the method and right click-> Jump to Definition).. you’ll see this in CMSampleBuffer.h (but again if you’re new to core audio.. don’t get frustrated if you look at all these parameters and understand only 10% of it.. it happened to all of us and it takes time):

    /*!
        @function   CMSampleBufferGetAudioBufferListWithRetainedBlockBuffer
        @abstract   Creates an AudioBufferList containing the data from the CMSampleBuffer,
                    and a CMBlockBuffer which references (and manages the lifetime of) the
                    data in that AudioBufferList.  The data may or may not be copied,
                    depending on the contiguity and 16-byte alignment of the CMSampleBuffer's
                    data. The buffers placed in the AudioBufferList are guaranteed to be contiguous.
                    The buffers in the AudioBufferList will be 16-byte-aligned if
                    kCMSampleBufferFlag_AudioBufferList_Assure16ByteAlignment is passed in.
    */
    CM_EXPORT
    OSStatus CMSampleBufferGetAudioBufferListWithRetainedBlockBuffer(
        CMSampleBufferRef sbuf,             /*! @param sbuf
                                            CMSampleBuffer being accessed. */
        size_t *bufferListSizeNeededOut,    /*! @param bufferListSizeNeededOut
                                            Receives the size of the AudioBufferList required to
                                            accommodate the data. May be NULL. */
        AudioBufferList *bufferListOut,     /*! @param bufferListOut
                                            Allocated by the caller, sized as specified by bufferListSizeNeededOut.
                                            It is filled in with pointers into the retained blockBufferOut.
                                            May be NULL. */
        size_t bufferListSize,              /*! @param bufferListSize
                                            Size of the bufferListOut allocated by the client. If bufferListOut
                                            is not NULL and bufferListSize is insufficient, kFigSampleBufferError_ArrayTooSmall
                                            is returned. */ 
        CFAllocatorRef bbufStructAllocator, /*! @param bbufStructAllocator
                                            Allocator to use when creating the CMBlockBuffer structure. */
        CFAllocatorRef bbufMemoryAllocator, /*! @param bbufMemoryAllocator
                                            Allocator to use for memory block held by the CMBlockBuffer. */
        uint32_t flags,                     /*! @param flags
                                            Flags controlling operation. */
        CMBlockBufferRef *blockBufferOut)   /*! @param blockBufferOut
                                            The retained CMBlockBuffer. */
                                __OSX_AVAILABLE_STARTING(__MAC_10_7,__IPHONE_4_0);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm having a terrible time managing RDLC reports. I couldn't find any comprehensive tutorials
Is there any way to stop animation in iOS 3 ? I know about:
Are there any good articles on naming comprehensive naming conventions? I'm looking to clean
Is there any comprehensive overview somewhere that discusses all the different types of threads
I did comprehensive Google research but I cannot find any good solution, so any
In GWT 2.5 RC CellTableBuilder API was introduced but there are no comprehensive documentation
Is there any documentation or is there a part of the cecil source code
There doesn't appear to be any documentation about grouping via the client-side API for
Is there any smart way to write a list comprehension over more than one
Is there any functional difference in Python between a try statement and an if

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.