Project Detail

Convert C++ DirectSound 3D sample  

Convert C++ DirectSound 3D sample is project number 227788
posted at Freelancer.com. Click here to post your own project.

 

| More Free Trial For New Buyers
 

Status:

Selected Providers: mswiczar

Budget: $750-1500

Created: 02/19/2008 at 13:17 EST

Bid Count: 3

Average Bid:
$ 883

02/24/2008 at 13:17 EST

Project Creator: fyety
Employer Rating: 10/1010/1010/1010/1010/1010/1010/1010/1010/1010/10 (7 reviews)

Bid On This Project
 

Description

Convert C++ DirectSound 3D sample

We need to have a nice interface for the DirectX 3d-Sound sample of the DirectX9 SDK. This should result into a DLL. The Idea is to play four streams simultaneously, on each stream I like to say where the stream should come from. There are four directions: front-left, front-right, back-left, back-right. I like to set the direction of each stream.

The DLL has to be compatible with Windows XP, 2003 Server and Vista.

There is one little interface that starts the four streams and gets the steaming data from a callback-function.

The DLL should work with 16 Bit PCM data.

The DLL should work with 8000, 160000, and 44100 kHz sample frequency.

The DLL-Interface should be made as follows:

// enum soundcards
int WINAPI S3DGetNumSoundcards();
void WINAPI S3DGetSoundcardName( int cardIdx, char* buf, int bufSize );

// init soundcard
int WINAPI S3DInitSoundCard( LPCSTR sndCardName, LPFNS3D pfnDataCB );
void WINAPI S3DExit( );

// start operation
void WINAPI S3DStart( int sampleFreq, int frameSize );
void WINAPI S3DStop ( );

// callback function
typedef BOOL (CALLBACK * LPFNS3D)(int, short*, int );

Example:

// sound callback, will be called from the dll to get data
BOOL MySoundCallback( int channel, short* spkBuf, int numSamples )
{
// prepare some white noise
short randBuf[1024];
for( int i=0; i<1024; i++ ) {
randBuf[i] = (short)rand();
}

// copy the noise to speaker
memcpy( spkBuf, randBuf, bufSize*2 );
return 0;
}

Budget: Max. 1000,- US$
Timeframe: Very urgend!





Additional files submitted:
sound3d.pdf

Messages Posted:0 View project clarification board Post message on project clarification board

Bid On This Project
 

If you are the project creator or one of the bidders Log In for more options

 

850

10 days

02-19-2008 16:42 EST

Hi, i could do it. I am the right person to complete this job. I have a deep understand of directsound, winmm.dll

help

 

800

30 days

02-19-2008 18:58 EST

hi, I am familiar with directx sdk, I can accomplish it.

help

 

1000

15 days

02-19-2008 21:25 EST

(No Feedback Yet)

I have experience working with DirectShow and DirectSound. We can discuss implementation details.

help


    Bid on this Project