• 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
Re: PlayBufferedSoundFile.tar.gz : Doesn't play well MP4 audio files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PlayBufferedSoundFile.tar.gz : Doesn't play well MP4 audio files


  • Subject: Re: PlayBufferedSoundFile.tar.gz : Doesn't play well MP4 audio files
  • From: Kurt Revis <email@hidden>
  • Date: Wed, 7 May 2003 11:12:30 -0700

On Wednesday, May 7, 2003, at 06:39 AM, Marc Van Olmen wrote:

Also -- look in QTSoundFilePlayer.m for the definitions of the
constants RING_BUFFER_SIZE and FEEDER_THREAD_IMPORTANCE. Increasing
one or both of them should decrease the chance that you'll get
dropouts. The default values work fine on my machine, but I don't
imagine they are optimal under all conditions -- it's up to you to
figure that out.

Couldn't you dynamically not add more buffers if you notice you are having
underrun or dropouts? I think your default buffers are 128K that should be
more then enough?

If you want to try adding something like that, the code is all there, go right ahead! I think it's probably unnecessary and would be difficult to get right in all cases, but you are welcome to try.

In any case, try increasing the buffer size using the #define first, to see if that solves the problem. There is no point in trying some dynamic buffer scheme if that is not even the real problem.

There is no other activity on my computer so it couldn't be thread issue.
I even got major interruption sometimes like 1 second

So haven't figure out why yet

Well, me neither. Like I said, it works OK for me. What happens when you try playing AIFF or MP3 files?

--
Kurt Revis
email@hidden
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: PlayBufferedSoundFile.tar.gz : Doesn't play well MP4 audio files (From: Marc Van Olmen <email@hidden>)

  • Prev by Date: Re: Stuck notes in Rax and Synthtest
  • Next by Date: Re: Non C++ IOKit driver.
  • Previous by thread: Re: PlayBufferedSoundFile.tar.gz : Doesn't play well MP4 audio files
  • Next by thread: no sound from DefaultOutputUnit
  • Index(es):
    • Date
    • Thread