From e4d6f64c16b1fb53d31e36039b51c02035b579ff Mon Sep 17 00:00:00 2001 From: jwoithe Date: Mon, 30 Sep 2013 13:05:19 +0000 Subject: [PATCH] dice: remove some prototype code which accidently made its way into r2416. git-svn-id: svn+ssh://ffado.org/ffado/trunk@2417 2be59082-3212-0410-8809-b0798e1608f0 --- libffado/src/dice/dice_avdevice.cpp | 8 -------- libffado/src/dice/dice_avdevice.h | 1 - 2 files changed, 9 deletions(-) diff --git a/libffado/src/dice/dice_avdevice.cpp b/libffado/src/dice/dice_avdevice.cpp index 4296c730..81a63a6d 100644 --- a/libffado/src/dice/dice_avdevice.cpp +++ b/libffado/src/dice/dice_avdevice.cpp @@ -59,7 +59,6 @@ namespace Dice { Device::Device( DeviceManager& d, std::auto_ptr( configRom )) : FFADODevice( d, configRom ) - , m_rate_cache( -1 ) , m_eap( NULL ) , m_global_reg_offset (0xFFFFFFFFLU) , m_global_reg_size (0xFFFFFFFFLU) @@ -253,12 +252,6 @@ Device::getSamplingFrequency() { default: samplingFrequency = 0; break; } - if (samplingFrequency != m_rate_cache) { - if (m_rate_cache>0 && m_eap) - m_eap->update(); - m_rate_cache = samplingFrequency; - } - return samplingFrequency; } @@ -429,7 +422,6 @@ Device::setSamplingFrequency( int samplingFrequency ) } if (m_eap) { - m_rate_cache = samplingFrequency; m_eap->update(); } showDevice(); diff --git a/libffado/src/dice/dice_avdevice.h b/libffado/src/dice/dice_avdevice.h index 906fab8a..a157ac0e 100644 --- a/libffado/src/dice/dice_avdevice.h +++ b/libffado/src/dice/dice_avdevice.h @@ -174,7 +174,6 @@ private: // helper functions // EAP stuff private: - int m_rate_cache; EAP* m_eap; protected: virtual EAP* createEAP(); -- 2.11.4.GIT