Search:

Type: Posts; User: jaxen

Search: Search took 0.01 seconds.

  1. Yes that works and will be much faster under...

    Yes that works and will be much faster under heavy load I imagine, which is vital considering this will be a cgi app.
  2. That works, thank you! :) except instead of...

    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...
  3. Thanks, that is EXACTLY what I was after :) ...

    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 =...
  4. I see what your saying, but that code just...

    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...
  5. Mixing PCM samples - dealing with clicks & overflow

    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"
    ...
  6. Replies
    5
    Views
    8,216

    That would be by far the best option. I want to...

    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...
  7. Replies
    5
    Views
    8,216

    Sending an http POST request

    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...
  8. Replies
    6
    Views
    4,015

    Perfect, Thanks :)

    Perfect, Thanks :)
  9. Replies
    6
    Views
    4,015

    I'd like to keep it as platform-independant as...

    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...
  10. Replies
    6
    Views
    4,015

    Event driven thread programming

    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...
Results 1 to 10 of 10