Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Hi I've tried to play my bytearray by using irrklang. But it does not play anything. Can you help me to get any noises out of the speakers? Dim _AudioDevice As New irrklang.ISoundEngine(irrklang.SoundOutputDriver.AutoDetect, irrklang.SoundEngineOptionFlag.DefaultOptions) |
||||
|
Hm, that code only adds the sound source, you are not actually playing it. Maybe that's the problem? |
||||
|
Hm, that code only adds the sound source, you are not actually playing it. Maybe that's the problem? What a pitty. Yes that was the problem! new: Dim SoundName As String = "Mem" |
||||
|
Thanks Niko for your quick help!! |
||||
|
irrklang does not work because after using the code above I receive an error message after random calls and time: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. VisualStudio breaks on line: _AudioDevice.Play2D("MEM2", False) The code is the one above. Content of Data should not be important. But Byte array length goes from 30 to 5000. But the device does call the _AudioDevice.Play2D methode several times (also possible parallel) with different Tag names to play. Any advice? |
|