2013/2/13 Patrick Shirkey :
I would recommend avoiding subclassing, if possible, and maybe install
a "render-style" property for your object which will determine which
drawing code to call. Maybe it's not as easy as that though.
Linux-audio-dev mailing list