Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/sound/sound_ops.c
| Show First 20 Lines • Show All 380 Lines • ▼ Show 20 Lines | if (split) { | ||||
| result = AUD_mixdown_per_channel(scene_eval->sound_scene, | result = AUD_mixdown_per_channel(scene_eval->sound_scene, | ||||
| start_frame * specs.rate / fps, | start_frame * specs.rate / fps, | ||||
| (end_frame - start_frame + 1) * specs.rate / fps, | (end_frame - start_frame + 1) * specs.rate / fps, | ||||
| accuracy, | accuracy, | ||||
| filename, | filename, | ||||
| specs, | specs, | ||||
| container, | container, | ||||
| codec, | codec, | ||||
| bitrate); | bitrate, | ||||
| NULL, | |||||
| NULL); | |||||
| } | } | ||||
| else { | else { | ||||
| result = AUD_mixdown(scene_eval->sound_scene, | result = AUD_mixdown(scene_eval->sound_scene, | ||||
| start_frame * specs.rate / fps, | start_frame * specs.rate / fps, | ||||
| (end_frame - start_frame + 1) * specs.rate / fps, | (end_frame - start_frame + 1) * specs.rate / fps, | ||||
| accuracy, | accuracy, | ||||
| filename, | filename, | ||||
| specs, | specs, | ||||
| container, | container, | ||||
| codec, | codec, | ||||
| bitrate); | bitrate, | ||||
| NULL, | |||||
| NULL); | |||||
| } | } | ||||
| BKE_sound_reset_scene_specs(scene_eval); | BKE_sound_reset_scene_specs(scene_eval); | ||||
| if (result) { | if (result) { | ||||
| BKE_report(op->reports, RPT_ERROR, result); | BKE_report(op->reports, RPT_ERROR, result); | ||||
| return OPERATOR_CANCELLED; | return OPERATOR_CANCELLED; | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 484 Lines • Show Last 20 Lines | |||||