mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 01:55:48 -05:00
File source: hardcoded autoloop
This commit is contained in:
parent
196cf51089
commit
3043a654e4
@ -151,7 +151,7 @@ failed:
|
||||
|
||||
void FileSourceInput::stopInput()
|
||||
{
|
||||
std::cerr << "FileSourceInput::stopInput()" << std::endl;
|
||||
std::cerr << "FileSourceInput::stopInput" << std::endl;
|
||||
QMutexLocker mutexLocker(&m_mutex);
|
||||
|
||||
if(m_fileSourceThread != NULL) {
|
||||
|
@ -140,7 +140,9 @@ void FileSourceThread::tick()
|
||||
{
|
||||
m_sampleFifo->write(m_buf, m_ifstream->gcount());
|
||||
// TODO: handle loop playback situation
|
||||
stopWork();
|
||||
m_ifstream->clear();
|
||||
m_ifstream->seekg(0, std::ios::beg);
|
||||
//stopWork();
|
||||
//m_ifstream->close();
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user