0

I am using AudioQueueStart for playing music and AudioQueuePause for pausing. Is there any way in AudioQueues to check whether the music is playing or not, I want to Pause music only if it is playing.

Chandan Shetty SP
  • 5,087
  • 6
  • 42
  • 63

1 Answers1

1

Check the kAudioQueueProperty_IsRunning property with AudioQueueGetProperty.

Or seeing as you're the one stopping and starting the queue, just remember the state you set and act accordingly.

Rhythmic Fistman
  • 34,352
  • 5
  • 87
  • 159