• 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
DLS fails at big audio frame sizes (was QuickTime Music Synthesizer + Core Audio)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

DLS fails at big audio frame sizes (was QuickTime Music Synthesizer + Core Audio)


  • Subject: DLS fails at big audio frame sizes (was QuickTime Music Synthesizer + Core Audio)
  • From: Jeremy Sagan <email@hidden>
  • Date: Tue, 31 Jan 2006 17:24:49 -0500

I included the old topic because I think they may be related but I just wanted to give a heads up that I posted this in bug reporter:

radar://4428444

DLS Music Device drops sounds and play incorrectly when the core audio packet size (kAudioDevicePropertyBufferFrameSize) is set to 3072 (probably anything greater than 1024 will exhibit this problem).

I also included a MIDI file with the bug report that reproduces the drop outs.

When the packet size is set to 1024 or less it plays back fine.

Jeremy

On Dec 14, 2005, at 2:29 PM, Jeremy Sagan wrote:

I just noticed today, since I now have the kAudioUnitProperty_MaximumFramesPerSlice working, that if I set the built-in audio device via kAudioDevicePropertyBufferFrameSize to a value greater than 1024 then the internal voices (i.e QuickTime Music synth) will be silent even when configured properly and sent NAPlayNote events. I am using OS 10.4.3.

I suspect that this may be due to the fact that QT is not setting the DLS MusicDevice to the correct slice size and the DLS MusicDevice is in turn returning kAudioUnitErr_TooManyFramesToProcess errors. However NAPlayNote is not returning any errors.

If I then revert to setting the kAudioDevicePropertyBufferFrameSize <= 1024 then QT starts working again, although I have to deallocate all voices and reallocate them.

Any ideas?

Should I cross post to the QuickTime mailing list?

Jeremy
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40verizon.net


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
  • Prev by Date: recording and playthrough
  • Next by Date: Re: Problem using two connected graphs
  • Previous by thread: recording and playthrough
  • Index(es):
    • Date
    • Thread