Hi, I'm making a custom sound class, basically, outside the class, I mesh several sounds into one byte array. Thats fine, It's not a problem. Now, I want to play one byte at a time. Long story short, I can't use DirectX or simply give the program a huge byte array. So, how do I pull one sound byte off and play it and then move on?
This is my API
Friend Declare Function PlaySound Lib "winmm.dll" (ByVal data() As Byte, _
ByVal hMod As IntPtr, ByVal hwFlags As Integer) As Integer