Re: MusicEventIterator questions
Re: MusicEventIterator questions
- Subject: Re: MusicEventIterator questions
- From: Aran Mulholland <email@hidden>
- Date: Wed, 20 Mar 2013 08:30:42 +1100
Thanks Ross and Paul,
What you describe is kind of what I have started writing.
I have a structure that is an ordered linked list built from the UI thread. Then I have another routine that builds a structure for the audio thead to consume. They are slightly different structures as I wanted the audio thread to have an array so I can perform a binary search to get 'interesting' events for the current time period being rendered.
Paul's idea of having a windowed snapshot of the data is an interesting one that I may consider as I have not yet worked out how to give the audio thread the most up to date array or how to dispose of stale arrays, but I'm having fun. Best problem I've worked on in ages.
I guess I'm most interested in how to pass the audio thread the latest array. I'll have a look at that article you wrote.
Thanks
_______________________________________________
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