Find Jobs
Hire Freelancers

Simple C++ functions for Direct sound streaming

$30-60 USD

Скасований
Опублікований over 17 years ago

$30-60 USD

Оплачується при отриманні
A couple of straight forward C++ functions for streaming with Direct sound. For use in a VOIP application. ## Deliverables I need straight forward, simple to use C++ functions to do the following tasks. 1. Initialize Direct sound. 2. Accept blocks of raw audio data and play them as a stream, without interrupts as long as it's possible. Like a strream. I need to be able to specify the size of each block in the beginning of the code as a constant, and then pass it to the player function so that it knows how much data it needs to handle. 3. I also need a function to start recording a stream. I can pass it a Waveformatex struct so that it knows what format to use, and it needs to use the block size that I specified earlier to determine how much to record at a time. Whenever data is available it needs to pass it to a callback function of mine, so that I can then process the raw audio data and then pass it to the player function. 4. Functions to start and stop the playback/recording. 5. A function to kill Direct sound and free all the allocated memory. I need to have a constant to set the buffer size in bytes as I mentioned above, and maybe a constant to set the number of buffers to be cued. The more buffers the lower latency you can have without breakup, but the more buffers you have the higher the CPU goes. I will be using this to build a simple VOIP application which will be used in my shareware games, that's why I need the streaming capabilities. The code needs to be well commented so that I can modify it easily should I need to, and an example how to use it would be good too. For example, an application that records audio in small chunks and passes it directly to the playback, so that you have a simple audio loopback. That could be a perfect example to get started with. This is only a simple summary of what I'm looking for, of course, as the coder, you can make as many suggestions as you want and also be prepared for stupid questions as the code progresses. I am a beginner in C++ but with experience in other, higher level languages. So my knowledge of programming is not bad, but my knowledge of the actual C++ language needs improvement. So forgive any dumb questions I might ask along the way. I am using Dev C++ as my compiler. No use of external libraries please. Linking to the Direct sound static library is of course needed, but I want to avoid any third party stuff mainly for licensing issues. I'll be selling this, that's why. 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Deliverables must be in ready-to-run condition, as follows? (depending on the nature? of the deliverables): a)? For web sites or? other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment. b) For all others including desktop software or software the buyer intends to distribute: A software? installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request. 3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement). ## Platform Win32
ID проекту: 2802008

Про проект

Дистанційний проект
Активність 17 yrs ago

Хочете заробити?

Переваги подання заявок на Freelancer

Вкажіть свій бюджет та терміни
Отримайте гроші за свою роботу
Опишіть свою пропозицію
Реєстрація та подання заявок у проекти є безкоштовними

Про клієнта

Прапор SWEDEN
Sweden
5,0
22
Спосіб оплати верифіковано
На сайті з лют. 10, 2006

Верифікація клієнта

Дякуємо! Ми надіслали на вашу електронну пошту посилання для отримання безкоштовного кредиту.
Під час надсилання електронного листа сталася помилка. Будь ласка, спробуйте ще раз.
Зареєстрованих користувачів Загальна кількість опублікованих робіт
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Завантажуємо для перегляду
Дозвіл на визначення геолокації надано.
Ваш сеанс входу закінчився, і сеанс було закрито. Будь ласка, увійдіть знову.