mpviewplugins/mpplaybackviewplugin/tsrc/unittest_mpequalizerwidget/stub/src/mpengine.cpp
equal
deleted
inserted
replaced
19 |
19 |
20 #include "mptrace.h" |
20 #include "mptrace.h" |
21 |
21 |
22 |
22 |
23 MpEngine::MpEngine() |
23 MpEngine::MpEngine() |
24 : mActivePreset(-1), |
24 : mActivePreset(0), |
25 mApplyPresetCount(0), |
25 mApplyPresetCount(0), |
26 mDisableEquqlizerCount(0) |
26 mDisableEquqlizerCount(0) |
27 { |
27 { |
28 TX_LOG_ARGS("Stub") |
28 TX_LOG_ARGS("Stub") |
29 } |
29 } |
51 Disabling the eqaulizer. The command then relays to its private implementation. |
51 Disabling the eqaulizer. The command then relays to its private implementation. |
52 */ |
52 */ |
53 void MpEngine::disableEqualizer() |
53 void MpEngine::disableEqualizer() |
54 { |
54 { |
55 mDisableEquqlizerCount++; |
55 mDisableEquqlizerCount++; |
56 mActivePreset = -1; |
56 mActivePreset = 0; |
57 } |
57 } |
58 |
58 |
59 /*! |
59 /*! |
60 Returning currectly activated preset. The command then relays to its private |
60 Returning currectly activated preset. The command then relays to its private |
61 implementation. -1 will be returned if the adaptation is not ready or |
61 implementation. -1 will be returned if the adaptation is not ready or |