Direct Sound Simple Example Code

Cancelado Publicado May 15, 2010 Pagado a la entrega
Cancelado Pagado a la entrega

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 Ingeniería Consolas de juegos Diseño de juegos Microsoft Gestión de proyectos Arquitectura de software Verificación de software Visual Basic Windows Desktop

Nº del proyecto: #3428347

Sobre el proyecto

2 propuestas Proyecto remoto Activo May 16, 2010

2 freelancers están ofertando un promedio de $87 por este trabajo

JaysonCole

See private message.

$4.25 USD en 4 días
(75 comentarios)
4.7
melhorinfo

See private message.

$170 USD en 4 días
(5 comentarios)
0.0