• 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: Timing issues with loopback driver on OS X Mavericks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Timing issues with loopback driver on OS X Mavericks


  • Subject: Re: Timing issues with loopback driver on OS X Mavericks
  • From: Benjamin Rindt <email@hidden>
  • Date: Sat, 16 Nov 2013 00:43:31 +0100

Hey,
I can't help you with that problem but I am experiencing the same with my application and it's play through. It takes a moment to stabilize but then it's working. It does not occur every time, more when not much ram is free.

For me it's not just my application but mainstage 3 is doing the same thing

 -Benjamin

Sent from my iPhone

> Am 15.11.2013 um 15:38 schrieb Mikko Harju <email@hidden>:
>
> Hi all!
>
> We are implementing a loopback driver to work together with our application we are currently developing. We are having issues with losing sync with the input/output threads on the application.
>
> On OS X 10.8 the InputRenderProc starts to get samples with the correct count immediately. So for example if we should set buffer size to 512 samples, it starts getting them with timestamps with 512’s increments. On 10.9 it takes a while to stabilize, but gets eventually the timestamps consistent.
>
> After that, only minor glitches appear here and there. It is always the case that the OutputRenderProc’s timestamp is greater than the timestamp that we have received data for (we are storing the in a CARingBuffer, with 5x the buffer size as the size). I’ve tried adjusting the internal buffer size both from the driver, and also tried to adjust the interrupt timer frequency, but I’ve not gotten any better results with these.
>
> The console logs have this kind of entries in it:
>
> 15/11/13 15:56:48,000 kernel[0]: IOAudioStream[0xffffff803dbde600]::clipIfNecessary() - Error: attempting to clip to a position more than one buffer ahead of last clip position (39,11f4)->(3b,13f4).
> 15/11/13 15:56:48,000 kernel[0]: IOAudioStream[0xffffff803dbde600]::clipIfNecessary() - adjusting clipped position to (3b,11f4)
>
>
> Any ideas on this will be greatly appreciated!
>
> Thanks,
> :)Mikko
> _______________________________________________
> 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

 _______________________________________________
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: Timing issues with loopback driver on OS X Mavericks
      • From: Mikko Harju <email@hidden>
References: 
 >Timing issues with loopback driver on OS X Mavericks (From: Mikko Harju <email@hidden>)

  • Prev by Date: What does the data field hold in an .aupreset file?
  • Next by Date: Re: Time Stretching and Pitch Shifting
  • Previous by thread: Timing issues with loopback driver on OS X Mavericks
  • Next by thread: Re: Timing issues with loopback driver on OS X Mavericks
  • Index(es):
    • Date
    • Thread