Re: PlayBufferedSoundFile.tar.gz : Doesn't play well MP4 audio files
Re: PlayBufferedSoundFile.tar.gz : Doesn't play well MP4 audio files
- Subject: Re: PlayBufferedSoundFile.tar.gz : Doesn't play well MP4 audio files
- From: Marc Van Olmen <email@hidden>
- Date: Wed, 07 May 2003 09:39:28 -0400
>
I just tried it with an AAC file that I created in iTunes and it worked
>
fine. That was an .m4a file. I tried an .m4p from the iTunes Music
>
Store, but that didn't work at all (haven't gotten a chance to find out
>
why, yet).
>
>
Where did you get your MP4 file from? Is it AAC or some other kind of
>
MP4 file?
It is an AAC coming from iTunes after ripping it from CD. So it is not one
from the Music Store.
>
> I just used the build Terminal Command in BBedit and in Apple Terminal.
>
>
I don't understand what you mean by this.
After building your PB project it creates an application that can access
from the terminal or BBEdit. So I used those applications to play my song.
>
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?
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
mvo
_______________________________________________
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.