Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Müller <nexyon@gmail.com>2021-03-17 01:45:49 +0300
committerJörg Müller <nexyon@gmail.com>2021-03-17 01:45:49 +0300
commitde06cb85593baf27455509a16100d82cc5a81d92 (patch)
tree3b4e03ad9aa010d9f828fafc568dc4acd01b2277 /source/blender/blenkernel/intern/sound.c
parent12c08ceee3b034e360824969ea4e1aaed4be2daf (diff)
Bugfix: properly rename Null audio device to None
Diffstat (limited to 'source/blender/blenkernel/intern/sound.c')
-rw-r--r--source/blender/blenkernel/intern/sound.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/sound.c b/source/blender/blenkernel/intern/sound.c
index a33fedb3ea6..6dd1f66f6b5 100644
--- a/source/blender/blenkernel/intern/sound.c
+++ b/source/blender/blenkernel/intern/sound.c
@@ -413,7 +413,7 @@ void BKE_sound_init(Main *bmain)
}
if (!(sound_device = AUD_init(device_name, specs, buffersize, "Blender"))) {
- sound_device = AUD_init("Null", specs, buffersize, "Blender");
+ sound_device = AUD_init("None", specs, buffersize, "Blender");
}
BKE_sound_init_main(bmain);
@@ -994,7 +994,7 @@ int BKE_sound_scene_playing(Scene *scene)
return -1;
}
- /* In case of a "Null" audio device, we have no playback information. */
+ /* In case of a "None" audio device, we have no playback information. */
if (AUD_Device_getRate(sound_device) == AUD_RATE_INVALID) {
return -1;
}