Thanks for the pointers.  I'll try to get gprof running and poke at it
that way.  I also didn't realize that Mixxx had already gone the route
of multiple backends and decided it wasn't worth it.  That's good to
know.

I had been thinking of looking at the portaudio/jack code because the
problems went away when I used just ALSA.  But since I only notice pops
when I'm loading a new track, the other way of solving the problem would
be to try to figure out what mixxx is doing when it's loading a track
that causes the pops in the first place.  Once the tracks are loaded and
playing, I don't get any pops at all.

I also discovered that the pops are only reliably triggered by MP3
files.  Ogg and FLAC files perform much better.  OGG seems to be the
best -- the tracks load instantly and never cause a hiccup.  Flac is
also better, but sometimes hiccups.  MP3s, however, nearly always cause
a hiccup while they are loading.

So now I'm also looking at the mp3 sound source, which front-loads a lot
of processing just creating the object (starting with loading the whole
file into memory and the copying it all into libmad).  Would it make
more sense to improve that code instead?

thanks,
Owen


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Mixxx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mixxx-devel

Reply via email to