InstancePlayLimitException Class
The exception that is thrown when there is an attempt to play more than the platform specific maximum SoundEffectInstance sounds concurrently.
Namespace: Microsoft.Xna.Framework.Audio
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Each platform has limits on the number of sounds playing simultaneously. InstancePlayLimitException is thrown if this limit is exceeded. Paused or stopped SoundEffectInstance objects do not count against this limit. The following table shows the maximum number of simultaneous playing sounds based on platform:
| Platform | Number of sounds that can play simultaneously |
|---|---|
| Windows Phone | 64 |
| Xbox 360 | 300 |
| Windows | No Limit |
Community Additions
ADD
Show: