NOTE: This document is work in progress. GameGod 07:40, 6 June 2007 (PDT)
When you're writing code for open source projects, the most important rule to follow is this: Try to make your code blend in with the existing code.
That being said, there are large chunks of Mixxx that are written in slightly differing styles (mainly variable naming conventions). In order to avoid this in the future, it's best for us to have some coding guidelines for developers to follow.
Mixxx's old developers more or less used the convention that indents are 4 spaces. The consensus is that we should try to stick to this, if only for consistency.
Please bear this in mind when writing code.
The mixing engine code inside Mixxx needs to run in realtime and must execute as quickly as possible in order to minimize the chance of buffer underruns in the soundcard.
Here's some coding tips to help keep performance decent: