• 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
Re: Still trying to write buffers to audio file.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Still trying to write buffers to audio file.


  • Subject: Re: Still trying to write buffers to audio file.
  • From: Alexander Bollbach <email@hidden>
  • Date: Fri, 15 Jan 2016 00:43:58 +0000

Thank you for the help.

Fokke,  I have since changed the way i set the stream for my audio file.  You can that in this gist.

Christian, I have tried setting that property but since doing that I am now unable to create the audiofile.  In fact that might have been the problem to begin with as I was not checking the OSStatus of 

ExtAudioFileCreateWithURL.  I now see that I get a 'fmt?'  ..  but if you take a look at that Gist I have no idea what could be the reason.  In the convenience function CreateInputUnit I get the stream off the audio unit and set it as a member var in my struct.  This is what I use to instantiate the ext audiofile but it doesn't seem to like the stream/'fmt'.


On Thu, Jan 14, 2016 at 3:19 PM Fokke de Jong <email@hidden> wrote:
HI Alexander,

I just answered you on stack exchange, it think there is something wrong with your stream description. There might be more, but you should check that first.

best,
Fokke


On Jan 14, 2016, at 17:31 , Alexander Bollbach <email@hidden> wrote:

no one?

On Wed, Jan 13, 2016 at 5:47 PM Alexander Bollbach <email@hidden> wrote:
I am still unable to write audio samples from my AUHAL's input callback to a file.  I have tried a number of things including using the asynchronous version of writing to an audio file in ExtAudioFileServices.  Even wrapping the call in a dispatch queue in fear that it was going out of scope.  Even though it is probably some small obvious thing that is missing (i'm only a few months into using core audio) I posted a stack question about it.  Apparently other uses have gotten the  (-50) error.  That is indeed the error I get.  (you can run the GitHub Repo in xcode to verify this).  I've been casually trying to get this to work over the past few days and I'm not getting any results.  Any idea what I might be doing wrong?




 _______________________________________________
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

  • Follow-Ups:
    • Re: Still trying to write buffers to audio file.
      • From: Christian Rober <email@hidden>
References: 
 >Still trying to write buffers to audio file. (From: Alexander Bollbach <email@hidden>)
 >Re: Still trying to write buffers to audio file. (From: Alexander Bollbach <email@hidden>)
 >Re: Still trying to write buffers to audio file. (From: Fokke de Jong <email@hidden>)

  • Prev by Date: Re: AUMIDISynth program change messages not working?
  • Next by Date: Re: plugin developers responsibilities
  • Previous by thread: Re: Still trying to write buffers to audio file.
  • Next by thread: Re: Still trying to write buffers to audio file.
  • Index(es):
    • Date
    • Thread