• 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
AUAudioFilePlayer and DLS Synth
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AUAudioFilePlayer and DLS Synth


  • Subject: AUAudioFilePlayer and DLS Synth
  • From: "Mats Liljedahl" <email@hidden>
  • Date: Thu, 2 Feb 2006 17:49:48 +0100

Hi!

 

My app creates an AUGraph with a matrix mixer, an AUAudioFilePlayer and a DLS music device, both of which are connected to one bus each of the matrix mixer.

 

My problem in a nutshell: If I set the property kAudioUnitProperty_ScheduledFileIDs of the AUAudioFilePlayer and the sound bank of the DLS device in the wrong order, the DLS music device crashes if I try to play a file with the AUAudioFilePlayer!

 

In more detail:

Everything works fine if:

I set the kAudioUnitProperty_ScheduledFileIDs of the AUAudioFilePlayer once and for all

or if I set the property several times without doing anything to the DLS device in between.

 

The crash occurs if I do things in the following order:

1)       Set the kAudioUnitProperty_ScheduledFileIDs property with a file list containing one entry

2)       Set the sound bank file of the DLS device

3)       Set the kAudioUnitProperty_ScheduledFileIDs property of the AUAudioFilePlayer again, this time with two file IDs in the list.

 

Any ideas to solve this most welcome

 

Mats Liljedahl

Interactive Institute, Sweden

 

 _______________________________________________
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: Re: Out-of-range samples
  • Next by Date: Re: Out-of-range samples
  • Previous by thread: Re: Out-of-range samples
  • Next by thread: AudioUnits and Volume
  • Index(es):
    • Date
    • Thread