[Bug 792782] directsoundsink/src: Add support for a DeviceProvider

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Jan 26 05:23:18 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=792782

--- Comment #12 from Nirbheek Chauhan <nirbheek.chauhan at gmail.com> ---
(In reply to Sebastian Dröge (slomo) from comment #9)
> (In reply to Nirbheek Chauhan from comment #5)
> 
> > @@ +140,3 @@
> > +      "device-class", "Audio/Sink", "properties", props, NULL);
> > +#endif
> > +
> > 
> > If you want to be fancy, you can #ifdef only "Audio/Source" and "Audio/Sink"
> > ;)
> 
> No, MSVC is usually unhappy about such things :)

MSVC is only unhappy if you nest #ifdefs inside a macro definition (the
pre-processor is not recursive). It doesn't mind #ifdef inside a function call.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list