Commit f30e019b authored by sletz's avatar sletz
Browse files

Correct use of jack_transport_reposition return code.

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3442 0c269be4-1314-0410-8aa9-9f06e86f4224
parent de588333
......@@ -331,7 +331,7 @@ namespace Jack
jack_info ( "'%s' stops transport.", fParams.fName );
break;
case JackTransportStarting :
if ( jack_transport_reposition ( fJackClient, &fReturnTransportData.fPosition ) < 0 )
if ( jack_transport_reposition ( fJackClient, &fReturnTransportData.fPosition ) == EINVAL )
jack_error ( "Can't set new position." );
jack_transport_start ( fJackClient );
jack_info ( "'%s' starts transport frame = %d", fParams.fName, fReturnTransportData.fPosition.frame);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment