Add mixer::allocate_channels, mixer::query, and mixer::playing