Fixed various assertion errors in audio renderer
Added additional assertions and other checks where appropriate