https://matthewvaneerde.wordpress.com/
mvaneerde / blog Goto Github PK
View Code? Open in Web Editor NEWMatthew van Eerde's blog
Home Page: https://matthewvaneerde.wordpress.com/
Matthew van Eerde's blog
Home Page: https://matthewvaneerde.wordpress.com/
https://matthewvaneerde.wordpress.com/
The variable bInt16 always will be false at loopback-capture.cpp making of what's inside the statement useless.
Could you point to a place where you would show how this program could be modified to record from one (speaker) device and then playback to another ?
I am trying to do this with a device where the mixer device is not present.
You do this:
if (bFirstPacket && AUDCLNT_BUFFERFLAGS_DATA_DISCONTINUITY == dwFlags) {
LOG(L"%s", L"Probably spurious glitch reported on first packet");
} else if (0 != dwFlags) {
LOG(L"IAudioCaptureClient::GetBuffer set flags to 0x%08x on pass %u after %u frames", dwFlags, nPasses, *pnFrames);
return E_UNEXPECTED;
}
On my PC I systematically receive a combination of AUDCLNT_BUFFERFLAGS_DATA_DISCONTINUITY and AUDCLNT_BUFFERFLAGS_SILENT on the 1st packet so the code will return E_UNEXPECTED and I don't see why it should.
I think you should just test for AUDCLNT_BUFFERFLAGS_TIMESTAMP_ERROR (maybe? can't we just continue even on this error?) and don't care about the other flags? At least it works for me with these changes.
PS: There's another glitch with the keyboard test: if I run the app from a console, it exits immediately. I had to change the stdin test events.
Hi,
Hope your are enjoying good health?
I want to use loop back software with ffmpeg string. Can you help me doing this or some sorts solution. So, I can use it with ffmpeg string directly.
Hope you understand my question.
Thanks for your help.
Just a small issue. The function CreateFile() returns in case of error INVALID_HANDLE_VALUE and not NULL or nullptr.
Thank you for the code.
Hi, I am reading your article : Hacking private keys from unsafe primes using the Pohlig-Hellman discrete logarithm. I found that the final solution for 6^a = 2 % p
does not seem to use the small subgroup. Just like 100000008359680 = 2^8 5 11^2 13 19 31 37 43 53
. Instead, solve the DLP problem directly in the large group p = 100000008359681. I am confused about this, please help me understand, thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.