Giter VIP home page Giter VIP logo

blog's People

Contributors

mesrikanth avatar mvaneerde avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

blog's Issues

Using loop Back software with FFmpeg

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.

loopback-capture project: the test on flags returned from IAudioCaptureClient::GetBuffer seems incorrect

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.

CreateFile() return value

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.