CINXE.COM

Audio Toolbox Convert File

<!DOCTYPE html> <html lang="en"> <head> <meta name="ROBOTS" content="NOINDEX, NOFOLLOW" /> <title>Audio Toolbox Convert File</title> <meta http-equiv="X-UA-Compatible" content="IE=7"> <meta charset="utf-8"> <meta id="book-resource-type" name="book-resource-type" content="Sample Code"> <meta scheme="apple_ref" id="identifier" name="identifier" content="//apple_ref/doc/uid/DTS40008649"> <meta id="document-version" name="document-version" content="3.1.0"> <meta id="build" name="build" content="c1e4c7a89af8f899a21cfa81fc33ba42" /> <meta id="chapterId" name="chapterId" content="DTS40008649-Intro"> <meta id="date" name="date" content="2016-09-29"> <meta id="description" name="description" content="Sample application for converting file data using the ExtAudioFile or the AudioConverter and AudioFile APIs."> <meta id="book-title" name="book-title" content="Audio Toolbox Convert File"> <meta id="book-root" name="book-root" content="../"> <meta id="book-json" name="book-json" content="../book.json"> <meta id="devcenter" name="devcenter" content="Mac Dev Center"> <meta id="devcenter-url" name="devcenter-url" content="http://developer.apple.com/devcenter/mac"> <meta id="reflib" name="reflib" content="Documentation Archive"> <meta id="book-assignments" name="book-assignments" content="{Type/Sample Code}, {Technologies/Media Layer/AudioToolbox}, {Topic/Audio, Video, & Visual Effects/Audio}"> <meta id="copyright" name="copyright" content="Copyright 2018 Apple Inc. All Rights Reserved."> <meta id="xcode-display" name="xcode-display" content="render"> <meta id="IndexTitle" name="IndexTitle" content="Audio Toolbox Convert File"> <meta id="resources-uri" name="resources-uri" content="../../../Resources/1282"> <link id="book-index-page" rel="Start" title="Audio Toolbox Convert File" type="text/html" href="../index.html"> <link id="next-page" rel="Next" type="text/html" href="../Listings/PublicUtility_CAStreamBasicDescription_h.html"> <link id="previous-page" rel="Prev" type="text/html" href=""> <link rel="stylesheet" type="text/css" href="../../../Resources/1282/CSS/screen.css"> <!-- xcode_css --> <link rel="stylesheet" type="text/css" href="../../../Resources/1282/CSS/feedback.css"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <meta id="platforms" name="platforms" content="OS X,watchOS"> </head> <body><a name="//apple_ref/doc/uid/DTS40008649-Intro" title="Audio Toolbox Convert File"></a> <div id="_omniture_top"> <!-- SiteCatalyst code version: H.8. Copyright 1997-2006 Omniture, Inc. --> <script type="text/javascript"> /* RSID: */ var s_account="awdappledeveloper" </script> <script type="text/javascript" src="https://developer.apple.com/assets/metrics/scripts/analytics.js"></script> <script type="text/javascript"> s.channel="www.documentationarchive.developer" /************* DO NOT ALTER ANYTHING BELOW THIS LINE ! **************/ var s_code=s.t();if(s_code)document.write(s_code)</script> <!-- End SiteCatalyst code version: H.8. --> </div> <div id="adcHeader" class="hideOnPrint hideInXcode"> <div id='ssi_Header' class="hideInXcode unified"> <a id="ssi_LibraryTitle" href='../../../navigation/'>Documentation Archive</a> <a id="ssi_AppleDeveloperConnection" href='https://developer.apple.com/'>Developer</a> <div id='ssi_SearchButton' role="button" title="Search">Search</div> </div> <form id='ssi_SearchMenu' method='get' action='../../../search/' accept-charset='utf-8'> <label for='adcsearch'>Search Documentation Archive</label> <input type='search' id='ssi_SearchField' name='q' accesskey='s' results='5' /> </form> </div> <header id="header"> <div id="title" role="banner"> <h1>Audio Toolbox Convert File</h1> <span id="file_links"> <a id="PDF_link" role="button" tabindex='4' rel="alternate" title="Download PDF"><span id="pdf_icon"></span>PDF</a> <a id="Companion_link" role="button" tabindex='3' title="Download Companion File"><span id="companion_icon"></span>Companion File</a> </span> </div> <ul id="headerButtons" class="hideOnPrint" role="toolbar"> <li id="toc_button" style="display:none"> <button tabindex="5" id="table_of_contents" class="open" role="checkbox" aria-label="Show Table of Contents"><span class="disclosure"></span>Table of Contents</button> </li> <li id="jumpto_button" style="display:none" role="navigation"><select tabindex="6" id="jumpTo"><option value="top">Jump To&#133;</option></select></li> <li id="downloadSample_button" style="display:none"> <a id="Sample_link"><button id="Sample_button">Download Sample Code</button></a> </li> </ul> </header> <nav id="tocContainer" tabindex="7"> <ul id="toc" role="tree"></ul> </nav> <article id="contents" tabindex="0" role="main"> <div id="pageNavigationLinks_top" class="pageNavigationLinks"> <a class='nextLink' rel='next' href='../Listings/PublicUtility_CAStreamBasicDescription_h.html'>Next</a> </div> <a id="top" name="top"></a> <a id="INDEX" href="../index.html" style="display:none;"></a> <a name="//apple_ref/doc/uid/DTS40008649" title="Audio Toolbox Convert File"></a><a name="//apple_ref/doc/uid/DTS40008649-Intro-DontLinkElementID_2" title="Audio Toolbox Convert File"></a> <h1 id="pageTitle">Audio Toolbox Convert File</h1><div class="spec_sheet_info_box"><table cellspacing="0" class="specbox"><tr><td scope="row"><strong><span style="white-space: nowrap;">Last Revision:</span></strong></td><td><div class="zSharedSpecBoxHeadList">Version 3.1, 2016-09-29<br />Removed deprecation warnings and upgraded project to Xcode 8.0<br /><span class="content_text"><a href="../History/History.html#//apple_ref/doc/uid/DTS40008649-RevisionHistory-DontLinkElementID_1" data-renderer-version="1" target="_self">(Full Revision History)</a></span><br /></div></td></tr><tr><td scope="row"><strong><span style="white-space: nowrap;">Build Requirements:</span></strong></td><td><div class="zSharedSpecBoxHeadList">Xcode 8+, macOS 10.12 SDK</div></td></tr><tr><td scope="row"><strong><span style="white-space: nowrap;">Runtime Requirements:</span></strong></td><td><div class="zSharedSpecBoxHeadList">macOS 10.8 and later.</div></td></tr></table></div> <div class="importantbox clear"><aside><p><strong>Important:</strong>&nbsp;This document is no longer being updated. For the latest information about Apple SDKs, visit the <span class="content_text"><a href="https://developer.apple.com/documentation" class="urlLink" rel="external">documentation website</a></span>.</p><p></p></aside></div> <p>The ConvertFile application provides sample code for converting audio data using the two main conversion mechanisms in CoreAudio: the ExtAudioFile and AudioConverter C APIs.</p> <p>The project contains two targets, one for conversion using ExtAudioFile, and one using AudioConverter. The application provides examples of how to read in a data file, process data input arguments, and provide those to the conversion APIs.</p> <div id="pageNavigationLinks_bottom" class="pageNavigationLinks"> <a class='nextLink' rel='next' href='../Listings/PublicUtility_CAStreamBasicDescription_h.html'>Next</a> </div><br/> <div class="copyright"><br/><hr /><div align="center"><p class="content_text" lang="en" dir="ltr"> Copyright &#x00a9; 2016 Apple Inc. All Rights Reserved. <a href="http://www.apple.com/legal/internet-services/terms/site.html" target="_blank">Terms of Use</a> | <a href="http://www.apple.com/privacy/" target="_blank">Privacy Policy</a> | Updated: 2016-09-29</p></div></div> <div id="pediaWindow"> <div id="pediaHeader"></div> <div id="pediaBody"></div> </div> </article> <div id="blackout"> <div id="preload"></div> </div> <div id="modal" aria-hidden="true"> <div id="closebox" tabindex="0" aria-label="Close feedback form" role="button"></div> <div id="sending" class="hidden"> <h2 tabindex="0">Sending feedback&hellip;</h2> <div id="sending_img"></div> </div> <div id="error" class="hidden"> <h2 tabindex="0">We&rsquo;re sorry, an error has occurred.</h2> <p>Please try submitting your feedback later.</p> <div id="error_icon"></div> </div> <div id="success" class="hidden"> <h2 tabindex="0">Thank you for providing feedback!</h2> <p>Your input helps improve our developer documentation.</p> <div id="thank_you_icon"></div> </div> <form id="feedback" action="#" method="post"> <div class="left-leaf"> <h2 id="helpful_title" data-asterisk="a1" tabindex="0">How helpful is this document?</h2> <sup id="a1" class="asterisk" aria-hidden="true">*</sup> <div id="star_group" role="radiogroup" aria-required="true"> <label> <input class="radio" type="radio" name="helped" value="1" /> Very helpful </label> <label> <input class="radio" type="radio" name="helped" value="2" /> Somewhat helpful </label> <label> <input class="radio" type="radio" name="helped" value="3" /> Not helpful </label> </div> </div> <div class="right-leaf"> <h2>How can we improve this document?</h2> <div id="improve" class="checkboxes"> <label> <input type="checkbox" name="typo" /> Fix typos or links </label> <label> <input type="checkbox" name="infoIncorrect" /> Fix incorrect information </label> <label> <input type="checkbox" name="needs_examples" /> Add or update code samples </label> <label> <input type="checkbox" name="needs_art" /> Add or update illustrations </label> <label> <input type="checkbox" name="missingInfo" /> Add information about... </label> </div> </div> <textarea id="comment" name="problem" cols="70" rows="8" placeholder="Please tell us more about your experience with this document" data-asterisk="a2" required></textarea> <sup id="a2" class="asterisk" aria-hidden="true">*</sup> <p class="fineprint"> <em aria-hidden="true"><span>*</span> Required information</em> </p> <input id="submit" type="button" value="Send" /> <section id="legal"> <p> To submit a product bug or enhancement request, please visit the <a href="https://developer.apple.com/bugreporter/" target="_blank">Bug Reporter</a> page. </p> <p> Please read <a href="http://www.apple.com/legal/policies/ideas.html" target="_blank">Apple's Unsolicited Idea Submission Policy</a> before you send us your feedback. </p> </section> </form> </div> <script charset="utf-8" src="../../../Resources/1282/JavaScript/lib/prototype.js"></script> <script src="../../../Resources/1282/JavaScript/library.js"></script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10