Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
I've a problem playing some wave files form Memory with Play2D. Following source code works with all my wave files: byte[] sample = File.LoadAllBytes(wavfilename); _eninge.Play2D(sample,false,false, false); If I only change last parameter to enable SoundEffects (but not assigning anyone) some wave files are working and some not: byte[] sample = File.LoadAllBytes(wavfilename); _eninge.Play2D(sample, false, false, true); Whats going wrong? |
||||
|
I've found out, that this issue appears only with very short/small wave files (under 0,25 seconds). Is there a minimum size for wave files that can be used with effects? |
||||
|
I guess some sound effects need a minimum length to work. But heard this problem the first time. |
|