equal
deleted
inserted
replaced
313 } |
313 } |
314 |
314 |
315 void InputTest::toggleMode() |
315 void InputTest::toggleMode() |
316 { |
316 { |
317 // Change bewteen pull and push modes |
317 // Change bewteen pull and push modes |
|
318 if (m_input != 0) { |
|
319 disconnect(m_input, 0, this, 0); |
|
320 m_input = 0; |
|
321 } |
|
322 |
318 m_audioInput->stop(); |
323 m_audioInput->stop(); |
319 |
324 |
320 if (m_pullMode) { |
325 if (m_pullMode) { |
321 m_modeButton->setText(PullModeLabel); |
326 m_modeButton->setText(PullModeLabel); |
322 m_input = m_audioInput->start(); |
327 m_input = m_audioInput->start(); |