Esempio n. 1
0
 private void SeekToSecondInCaseIfRequired(int stream, int startAtSecond)
 {
     if (startAtSecond > 0)
     {
         if (!proxy.ChannelSetPosition(stream, startAtSecond))
         {
             throw new BassAudioServiceException(proxy.GetLastError());
         }
     }
 }