Blender Git Commit Log
Git Commits -> Revision b41ce0d
Revision b41ce0d by Nicholas Bishop (master)
January 15, 2015, 13:00 (GMT)
Remove 'locked' parameter from sound_read_waveform()
This parameter was confusing in three ways:
1. It should have been named "lock" because it was used to take and
release the sound mutex, not to indicate whether it was locked.
2. In the one place this function gets called the locked argument was
set to "true", so not much point in having it optional.
3. I can't imagine that it would ever be a good idea to skip taking
and releasing the mutex.
Reviewed By: sergey
Differential Revision: https://developer.blender.org/D988
Full Hash: b41ce0d1b95973c64bb4300a20c1b89506fe32d0
Parent Commit: 588656a
Lines Changed: +8, -12