Conversation
Introduces a standalone Windows simulator replicating the PWAR ASIO driver's UDP networking and IOCP-based processing. Adds CMake configuration, documentation, and main implementation for protocol testing and development without DAW or ASIO registration.
Changed DEFAULT_SERVER_IP to '196.168.66.2' and DEFAULT_CLIENT_PORT to 8321 to match the current setup requirements.
Replaces IOCP-based UDP listener with a simplified socket-based implementation for improved reliability and maintainability. Removes dependency on pwar_router and related code, updates buffer and channel constants, and streamlines packet processing and response logic.
Removed windows/torture from CMakeLists.txt. Updated client_simulator to use 'packet size' terminology instead of 'buffer size' and changed related command-line options and validation. Modified pwarASIO.cpp to handle audio packets in interleaved format and removed unused latency manager initialization.
|
tested this and i'm getting many less x-runs compared to the current main branch. previously, i'd get overruns by just playing a sine wave, now it takes more CPU load before i start getting them. I see you simplified the ring buffer and got read of one pthread_cond which probably helped. I was thinking that the ASIO driver's buffer size could be read at startup from the config file, because i currently see no way in my DAW (ableton) to change that. i've made PR #9 (with this branch as the base) for reading a |
|
by the way, now if i change the "Chunk Size" in the Linux GUI to anything else than 128, i get crazy sound artifacts, which did not happen in the master branch. It sounds like a sped up and choppy version of the audio i generate. |
|
Yeah, I noticed that too. I will try to finalize this PR in the next few days and then we try to incorporate all your contributions after that 👍 Greateful for your time and effort @umbertov |
|
hey @ripxorip has development halted? I reckon this is probably a hobby project of yours and you may be busy with other things in your life, but if you'd like some help, you could write up a small list of things to do & to fix for this PR and i may try to send some patches in my free time. I abstained from contributing to this since I did not want to duplicate efforts but if my time allows, I may put some effort in. |
|
Hi man, yeah that is correct. I have been swamped with work. I would really like your contributions, how about I merge this PR and then I will only create smaller PRs in the future so that I wont risk duplication of work? Cheers, really appreciate your efforts :) |
No description provided.