Find Jobs
Hire Freelancers

DirectSound implementation in Delphi for sound recording/output classes

$30-250 USD

Cancelled
Posted almost 11 years ago

$30-250 USD

Paid on delivery
Write DirectSound interface for the listed below wrapper (sound playback/recording). For use in Delphi XE4. Objects should allow re-creation (freeing an object and creating another copy should work without restrictions). Wave output (TAudioOutput) should work with default output device, should support simultaneous playback (adding several buffers at the same time should result their mixing). TAudioInput is should work with default system input device, and return recorded buffers via callback routine; the size of the buffer should be controlled at the time of initialization (in the code below through "chunk" parameter, or any other interface that allows to control the buffer size). type TAudioOutput = class public constructor Create(Hz:integer; Stereo:boolean; Is8Bit:boolean); //Is8Bit = if true the sound discretion is 8 bit procedure AddBuffer(p:pointer; cbSize:integer); ;//p - buffer, cbSize - buffer size destructor Destroy; override; end; TAudioCallbackRoutine = procedure (p:pointer; cbSize:integer); TAudioInput = class public property CallBack:TAudioCallbackRoutine read FCallback write FCallback; //callback routine for the sound recording, called when an input buffer is full constructor Create(Hz:integer; Stereo:boolean; Is8bit:boolean; ChunkSize:integer); //ChunkSize is a size of the input buffer procedure Start; procedure Pause; procedure Stop; destructor Destroy; override; end;
Project ID: 4538368

About the project

2 proposals
Remote project
Active 11 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
2 freelancers are bidding on average $183 USD for this job
User Avatar
Hello, Please check my PM. Ionut
$210 USD in 3 days
4.7 (10 reviews)
3.9
3.9

About the client

Flag of UNITED STATES
Vilnius, United States
5.0
12
Payment method verified
Member since Aug 22, 2012

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)
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.