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

Stefan Sauer ensonic at hora-obscura.de
Mon Mar 5 01:39:20 PST 2012


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


More information about the gstreamer-devel mailing list