This article applies to:
This item was introduced in E-Prime 2.0 (188.8.131.52).
Mainly under Windows Vista and a multi-core CPU system, issues in regards to sounds loading or issues after playing audio will cause the experiment to timeout or cause a runtime error.
Updates to the audio rendering system are included in E-Prime 184.108.40.206 or later.
If loading or other timeout issues occur when playing sound media files (with or without video media components) and on a multi-core system, then consider using the Sound.LoadAffinity options described below.
c.SetAttrib "Sound.LoadAffinity", x
Where 'x' is one of the following:
- "" (blank) - Runtime determines if the system is single core or multi core and then uses the behavior of 1 or 2. This is the default option.
- "1" - Runtime optimizes loading of sounds for single core machines.
- "2" - Runtime optimizes loading of sounds for multiple core machines.
On a multi-core machine, if having difficulties with loading or playing sounds in regards to time outs, use c.SetAttrib "Sound.LoadAffinity", "1".
NOTE: The use of Sound.LoadAffinity attribute is an experimental option and can be changed or removed in a future version of E-Prime. Changes will be in affect after setting the Sound.LoadAffinity attribute. Therefore, filenames must be set as an [attrib]reference in most cases.
NOTE: This is not necessary in E-Prime 2.0.10.x.