Direct Sound Simple Example Code

Cancelled Posted May 15, 2010 Paid on delivery
Cancelled Paid on delivery

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

.NET Engineering Game Consoles Game Design Microsoft Project Management Software Architecture Software Testing Visual Basic Windows Desktop

Project ID: #3428347

About the project

2 proposals Remote project Active May 16, 2010

2 freelancers are bidding on average $87 for this job

JaysonCole

See private message.

$4.25 USD in 4 days
(75 Reviews)
4.7
melhorinfo

See private message.

$170 USD in 4 days
(5 Reviews)
0.0