Removed unused function.
This commit is contained in:
parent
0a3b34e9b6
commit
6e2bf49580
2 changed files with 0 additions and 8 deletions
|
@ -206,11 +206,4 @@ namespace Buffer {
|
||||||
moreData.wait(stats_mutex);
|
moreData.wait(stats_mutex);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Cuts all data before the whereToCut point.
|
|
||||||
void Stream::cutBefore(int whereToCut){
|
|
||||||
while (buffers.size() > 0 && buffers.begin()->first.seekTime < buffercount){
|
|
||||||
cutOneBuffer();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,7 +45,6 @@ namespace Buffer {
|
||||||
bool parsePacket(std::string & buffer);
|
bool parsePacket(std::string & buffer);
|
||||||
bool parsePacket(Socket::Buffer & buffer);
|
bool parsePacket(Socket::Buffer & buffer);
|
||||||
DTSC::livePos getNext(DTSC::livePos & pos, std::set<int> & allowedTracks);
|
DTSC::livePos getNext(DTSC::livePos & pos, std::set<int> & allowedTracks);
|
||||||
void cutBefore(int whereToCut);
|
|
||||||
private:
|
private:
|
||||||
void deletionCallback(DTSC::livePos deleting);
|
void deletionCallback(DTSC::livePos deleting);
|
||||||
volatile int readers; ///< Current count of active readers;
|
volatile int readers; ///< Current count of active readers;
|
||||||
|
|
Loading…
Add table
Reference in a new issue