summaryrefslogtreecommitdiffstats
path: root/src/AlsaInput.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2017-10-07 12:02:59 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-10-07 12:02:59 +0200
commit274c56665d98a392b4488b5cbe4bf7206181c5fc (patch)
treef4b817b638f07400ee5dfcbfcee9764891495ca4 /src/AlsaInput.h
parent84febca8b268129cdd79ff0d1c4f8eeed092c5fb (diff)
downloadODR-AudioEnc-274c56665d98a392b4488b5cbe4bf7206181c5fc.tar.gz
ODR-AudioEnc-274c56665d98a392b4488b5cbe4bf7206181c5fc.tar.bz2
ODR-AudioEnc-274c56665d98a392b4488b5cbe4bf7206181c5fc.zip
Only create the input we actually need
Diffstat (limited to 'src/AlsaInput.h')
-rw-r--r--src/AlsaInput.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/AlsaInput.h b/src/AlsaInput.h
index e90ed36..8055140 100644
--- a/src/AlsaInput.h
+++ b/src/AlsaInput.h
@@ -86,23 +86,6 @@ class AlsaInputDirect : public AlsaInput
SampleQueue<uint8_t>& queue) :
AlsaInput(alsa_dev, channels, rate, queue) { }
-#if 0
- AlsaInputDirect(AlsaInputDirect&& other) :
- AlsaInput(other.m_alsa_dev, other.m_channels, other.m_rate) {
- m_alsa_handle = other.m_alsa_handle;
- other.m_alsa_handle = nullptr;
- }
-
- AlsaInputDirect& operator=(AlsaInputDirect&& other) {
- m_alsa_dev = other.m_alsa_dev;
- m_channels = other.m_channels;
- m_rate = other.m_rate;
- m_alsa_handle = other.m_alsa_handle;
- other.m_alsa_handle = nullptr;
- return *this;
- }
-#endif
-
virtual void prepare(void) override;
virtual bool fault_detected(void) const override { return false; };