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

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Tim-Philipp Müller-2
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


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

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

Stefan Sauer
On 03/05/2012 12:36 AM, Tim-Philipp Müller wrote:

> 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
I shall not commit anything for a couple of days :/ Sorry about all the
mess.

Stefan
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel