Thank you! <br><br><div><span class="gmail_quote">On 7/30/07, <b class="gmail_sendername">Giso Grimm</b> <<a href="mailto:gg3137@vegri.net">gg3137@vegri.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I added a suggestion for a solution of this problem to the bug tracker<br>(<a href="http://tracker.ardour.org/file_download.php?file_id=421&type=bug">http://tracker.ardour.org/file_download.php?file_id=421&type=bug
</a>). This<br>works fine for me, no crash any more, and now both first and last route<br>can be selected via the Frontier Tranzport device. I would not expect<br>impact on other components, since the tranzport-code is the only place
<br>where the functions ControlProtocol::prev_track() and next_track() are<br>called. The patch is based on the 2.0.3-release.<br><br>- Giso<br><br>Giso Grimm wrote:<br>> Hi,<br>><br>> in function "void ControlProtocol::prev_track (uint32_t initial_id)" in
<br>> the file control_protocol.cc the condition<br>><br>> while (id >= 0) {<br>>   ...<br>>   id--;<br>> }<br>><br>> is always true, since 'id' is of type uint32_t. This causes a dead-lock
<br>> when selecting the prev-track button on a Frontier Tranzport device.<br>> Changing the type of 'id' to int32_t resolves this problem. I reported<br>> this bug on the bug tracker (<a href="http://tracker.ardour.org/view.php?id=1797">
http://tracker.ardour.org/view.php?id=1797</a>).<br>><br>> Also the function ControlProtocol::next_track(...) looks a bit<br>> suspicious, I will have a closer look at it.<br>><br>><br>> - Giso<br><br>_______________________________________________
<br>ardour-dev mailing list<br><a href="mailto:ardour-dev@lists.ardour.org">ardour-dev@lists.ardour.org</a><br><a href="http://lists.ardour.org/listinfo.cgi/ardour-dev-ardour.org">http://lists.ardour.org/listinfo.cgi/ardour-dev-ardour.org
</a><br></blockquote></div><br><br clear="all"><br>-- <br>Michael David Taht<br>PostCards From the Bleeding Edge<br><a href="http://the-edge.blogspot.com">http://the-edge.blogspot.com</a>