Find Jobs
Hire Freelancers

Convert C++ DirectSound 3D sample

$750-1500 USD

Completed
Posted about 16 years ago

$750-1500 USD

Paid on delivery
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!
Project ID: 227788

About the project

3 proposals
Remote project
Active 16 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hi, i could do it. I am the right person to complete this job. I have a deep understand of directsound, [login to view URL]
$850 USD in 10 days
5.0 (6 reviews)
5.9
5.9
3 freelancers are bidding on average $883 USD for this job
User Avatar
hi, I am familiar with directx sdk, I can accomplish it.
$800 USD in 30 days
4.9 (2 reviews)
2.5
2.5
User Avatar
I have experience working with DirectShow and DirectSound. We can discuss implementation details.
$1,000 USD in 15 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of GERMANY
Mannheim, Germany
5.0
13
Member since Jul 29, 2007

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759) & Freelancer Online India Private Limited (CIN U93000HR2011FTC043854)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.