soc-2008-mxcurioni: merged changes to revision 23516
[blender.git] / source / blender / blenkernel / intern / scene.c
index 115a69f77c7a4218336656ce0054cfbd1ab1a5e1..f3490446eff4dc3b10e700182a38ef190889e3d1 100644 (file)
@@ -421,7 +421,11 @@ Scene *add_scene(char *name)
        pset->brush[PE_BRUSH_CUT].strength= 100;
        
        sce->jumpframe = 10;
-       sce->r.audio.mixrate = 44100;
+       sce->r.ffcodecdata.audio_mixrate = 44100;
+
+       sce->audio.distance_model = 2.0;
+       sce->audio.doppler_factor = 1.0;
+       sce->audio.speed_of_sound = 343.3;
 
        strcpy(sce->r.backbuf, "//backbuf");
        strcpy(sce->r.pic, U.renderdir);