mediabuff

Results 35 comments of mediabuff

thanks. Could you please shed more light on your observations ?

1) yes, you can use external shared variable and synchronization. But task_completion_source provides a nice packaging and makes the ‘intent’ clear 2) there are many use scenarios. C# and pplx...

Also, please see this 'AcceptAsync https://stackoverflow.com/questions/15316613/when-should-taskcompletionsourcet-be-used

Also, some useful background https://blogs.msdn.microsoft.com/pfxteam/2009/06/02/the-nature-of-taskcompletionsourcetresult/

Thanks for researching this further and sharing your thoughts. >>One downside of promise/future-style APIs is that they leave the potential for detached computation. ie. cases where the consumer no longer...

I meant hooking into into WM_DPICHANGED etc. to structure the template for building modern DPI aware applications. Much like DynamicDPI SDK sample. Much of this can be abstracted and setup...

I did'nt make any changes - used cmake build straight from the rep.

![image](https://user-images.githubusercontent.com/5080114/97645264-d1713680-1a22-11eb-8abc-258954231ac4.png)

thank you. Was able to progress. Number of of errors substantially readuced. Add the setting to CMakeSettings.json. Still have few errors: ![image](https://user-images.githubusercontent.com/5080114/97654335-0d16fb00-1a39-11eb-8e78-fc3d31e470d2.png)

is this same as https://github.com/facebookexperimental/libunifex/blob/master/source/win32/windows_thread_pool.cpp or how different