mpviewplugins/mpsettingsviewplugin/tsrc/unittest_mpsettingsaudioeffectswidget/stub/src/mpengine.cpp
equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Stub for MpEngine for testing mpsettingsaudioeffecswidget |
|
15 * |
|
16 */ |
|
17 |
|
18 #include "mpengine.h" |
|
19 #include "mptrace.h" |
|
20 |
|
21 |
|
22 /*! |
|
23 Stub |
|
24 */ |
|
25 MpEngine::MpEngine() |
|
26 : mBalance(0), |
|
27 mLoudness(0) |
|
28 { |
|
29 TX_LOG_ARGS("Stub") |
|
30 } |
|
31 |
|
32 /*! |
|
33 Stub |
|
34 */ |
|
35 MpEngine::~MpEngine() |
|
36 { |
|
37 TX_ENTRY_ARGS("Stub") |
|
38 } |
|
39 |
|
40 // Audio Effects related |
|
41 /*! |
|
42 Stub |
|
43 */ |
|
44 int MpEngine::balance() |
|
45 { |
|
46 return mBalance; |
|
47 } |
|
48 |
|
49 /*! |
|
50 Stub |
|
51 */ |
|
52 bool MpEngine::loudness() |
|
53 { |
|
54 return mLoudness; |
|
55 } |
|
56 |
|
57 |
|
58 /*! |
|
59 Stub |
|
60 */ |
|
61 void MpEngine::setBalance( int balance ) |
|
62 { |
|
63 mBalance=balance; |
|
64 } |
|
65 |
|
66 /*! |
|
67 Stub |
|
68 */ |
|
69 void MpEngine::setLoudness( bool mode ) |
|
70 { |
|
71 mLoudness=mode; |
|
72 } |