Direct Sound Simple Example Code
$30-5000 USD
Płatność przy odbiorze
Upgarding an older VB Program that uses sound to Direct Sound.
Formerly, we used:
Private Declare Auto Function PlaySound Lib "[url removed, login to view]" (ByVal data As Byte(), ByVal hMod As Integer, ByVal dwFlags As Integer) As Integer
We passed PlaySound(bStr, 0, SND_ASYNC) to play a sound ASYNC
We passed PlaySound(bStr, 0, SND_SYNC) to play a sound SYNC
There is a way to do this same method in Direct Sound. Having trouble with the Flags to Direct Sound, in that any option other than the DEFAULT? option, results in? a looping of the sound.
We don't want looping, just a WAV to play ASYNC or SYNC, but using the [url removed, login to view] library
Attached is a simple sampel program that plays sounds in DirectX
All I need here is to connect the 2 buttons at the bottom, making the same wave file play SYNC and ASYNC
That is all here on this job, should you have DirectSound experience take a look at the sample code and we look forward to your bid
Numer ID Projektu: #3428347