Mercurial > hg > sonic-visualiser
annotate main/NetworkPermissionTester.h @ 1371:b75831cdf795 mp3-gapless
Stop reporting sync errors only when we really are at eof, i.e. after the input callback has been called again (previously we just tested whether we'd buffered up all the input, which of course we do in one go at the start)
author | Chris Cannam |
---|---|
date | Tue, 29 Nov 2016 16:45:29 +0000 (2016-11-29) |
parents | 55efa5a18814 |
children | 3f6c18fcc075 |
rev | line source |
---|---|
Chris@663 | 1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ |
Chris@663 | 2 |
Chris@663 | 3 /* |
Chris@663 | 4 Sonic Visualiser |
Chris@663 | 5 An audio file viewer and annotation editor. |
Chris@663 | 6 Centre for Digital Music, Queen Mary, University of London. |
Chris@663 | 7 |
Chris@663 | 8 This program is free software; you can redistribute it and/or |
Chris@663 | 9 modify it under the terms of the GNU General Public License as |
Chris@663 | 10 published by the Free Software Foundation; either version 2 of the |
Chris@663 | 11 License, or (at your option) any later version. See the file |
Chris@663 | 12 COPYING included with this distribution for more information. |
Chris@663 | 13 */ |
Chris@663 | 14 |
Chris@663 | 15 #ifndef NETWORK_PERMISSION_TESTER_H |
Chris@663 | 16 #define NETWORK_PERMISSION_TESTER_H |
Chris@663 | 17 |
Chris@663 | 18 class NetworkPermissionTester |
Chris@663 | 19 { |
Chris@663 | 20 public: |
Chris@663 | 21 NetworkPermissionTester() { } |
Chris@663 | 22 bool havePermission(); |
Chris@663 | 23 }; |
Chris@663 | 24 |
Chris@663 | 25 #endif |
Chris@663 | 26 |
Chris@663 | 27 |