gst-plugins-good: jack: change the transport-mode enum into flags

Tim-Philipp Müller t.i.m at zen.co.uk
Sun Mar 4 15:36:19 PST 2012


On Sun, 2012-03-04 at 10:57 -0800, Stefan Kost wrote:

>  typedef enum {
> -  GST_JACK_TRANSPORT_AUTONOMOUS,
> -  GST_JACK_TRANSPORT_MASTER,
> -  GST_JACK_TRANSPORT_SLAVE
> +  GST_JACK_TRANSPORT_AUTONOMOUS = 0,
> +  GST_JACK_TRANSPORT_MASTER = (0 << 1),
> +  GST_JACK_TRANSPORT_SLAVE = (1 << 1),
>  } GstJackTransport;

Are you sure about this? Did you test it?
 
 Cheers
   -Tim




More information about the gstreamer-devel mailing list