Yes that works and will be much faster under heavy load I imagine, which is vital considering this will be a cgi app.
Type: Posts; User: jaxen
Yes that works and will be much faster under heavy load I imagine, which is vital considering this will be a cgi app.
That works, thank you! :)
except instead of deducting by 65535 you divide, so it becomes..
output[j] = a + b - ((a * b) / 65535);
I still get a few clicks when new channels are introduced or cut...
Thanks, that is EXACTLY what I was after :)
Only problem I have now is implementing it. The equation he gives is..
Z = 2(A+B) – A·B / 128 – 256
Where Z = resulting sample, A = channel 1, B =...
I see what your saying, but that code just produces a horrible noise.
I get those warnings but I ignore them. I am well aware of the loss of precision and under these circumstances it is...
Hi all,
I'm trying to mix multiple sample buffers (16bit) together into a single output. I do this by using pretty much the following code..
#define BUFFER_LEN 256
#include "limits.h"
...
That would be by far the best option. I want to avoid including external libraries if possible and since I already have the fundamentals of tcp socket communications I could easily incorporate it...
I need to query a web server via http POST or GET and retrieve the result to a string in my program for parsing. It needs to be lightweight and compatible with at least windows and linux. I have...
Perfect, Thanks :)
I'd like to keep it as platform-independant as possible as it must compile in both windows and linux. I dont mind switching a few header files or minor adjustments to system functions, but the...
Hi. I'm fairly new to c++ so bear with me ;)
What i'm trying to code is an event driven register/dispatch system for dealing with incomming data from a socket. I have got the sockets bit figured...