Direct Sound Simple Example Code

已取消 已发布的 May 15, 2010 货到付款
已取消 货到付款

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 工程 游戏控制台 游戏设计 微软 项目管理 软件构架 软件测试 Visual Basic 视窗桌面

项目ID: #3428347

关于项目

2个方案 远程项目 活跃的May 16, 2010

有2名威客正在参与此工作的竞标,均价$87/小时

JaysonCole

See private message.

$4.25 USD 在4天内
(75条评论)
4.7
melhorinfo

See private message.

$170 USD 在4天内
(5条评论)
0.0