• 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 silent after setting playback position
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AUAudioFilePlayer silent after setting playback position


  • Subject: AUAudioFilePlayer silent after setting playback position
  • From: Felipe Baytelman <email@hidden>
  • Date: Sat, 31 Dec 2005 20:09:15 -0300

Hi everyone, and Happy new year (here we still have a couple of hours before parties start):

I have a problem with AUAudioFilePlayer: I have managed to change the playback position. If I change the "rewind" the payer, I get a silent Generator (even when the playback position shows it's moving through the file) until it reaches the previous playback position.

This is what I'm doing:

// set start time (on next render cycle)
AudioTimeStamp startTime;
startTime.mFlags = kAudioTimeStampSampleTimeValid;
startTime.mSampleTime = -1;
AudioUnitSetProperty(fileAU, kAudioUnitProperty_ScheduleStartTimeStamp, kAudioUnitScope_Global, 0, &startTime, sizeof(startTime));

There is no need to Stop/Start the graph (I have checked every combination of AU functions available). It moves the playback position... But is there any way of getting the audio again, like the AUAudioFilePlayer included in AULab?
(In there, you can move the playback position with no problem)


Thanks!

        Felipe Bruno Baytelman P.

          Baytex Software

    email@hidden   http://www.baytex.net   (+56 8) 249 62 41


_______________________________________________ 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: Callback [was PlayFile]
  • Next by Date: How to calculate the proper frame (in order to mean a particular time)
  • Previous by thread: Re: Time Problem with NSThread
  • Next by thread: How to calculate the proper frame (in order to mean a particular time)
  • Index(es):
    • Date
    • Thread