2 * This file is part of QMAFW
4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). All rights
7 * Contact: Visa Smolander <visa.smolander@nokia.com>
9 * This software, including documentation, is protected by copyright controlled
10 * by Nokia Corporation. All rights are reserved. Copying, including
11 * reproducing, storing, adapting or translating, any or all of this material
12 * requires the prior written consent of Nokia Corporation. This material also
13 * contains confidential information which may not be disclosed to others
14 * without the prior written consent of Nokia.
18 #ifndef MAFWGSTRENDERERDOLBY_H
19 #define MAFWGSTRENDERERDOLBY_H
25 * Provides volume setting, getting and listening functionality using
26 * PulseAudioMainVolume DBus API.
28 class MafwGstRendererDolby : public QObject
35 MafwGstRendererDolby( QObject* parent );
36 ~MafwGstRendererDolby();
38 bool setMusicDolbyState (uint value);
39 bool setMusicDolbyRoom (int value);
40 bool setMusicDolbyColor (int value);
41 uint getMusicDolbyState ();
42 int getMusicDolbyRoom ();
43 int getMusicDolbyColor ();
44 bool setVideoDolbyState (uint value);
45 bool setVideoDolbyRoom (int value);
46 bool setVideoDolbyColor (int value);
47 uint getVideoDolbyState ();
48 int getVideoDolbyRoom ();
49 int getVideoDolbyColor ();
53 * Signal telling that music surround is OFF/ON/AUTO.
55 void mafwDHMMusicPropertyChanged();
57 * Signal telling that video surround is OFF/ON/AUTO.
59 void mafwDHMVideoPropertyChanged();
62 void valueMusicChanged();
63 void valueVideoChanged();
66 uint m_currentMusicDolbyState;
67 int m_currentMusicDolbyRoom;
68 int m_currentMusicDolbyColor;
69 uint m_currentVideoDolbyState;
70 int m_currentVideoDolbyRoom;
71 int m_currentVideoDolbyColor;
73 GConfItem *m_dolbyConfMusic;
74 GConfItem *m_dolbyConfMusicRoom;
75 GConfItem *m_dolbyConfMusicColor;
76 GConfItem *m_dolbyConfVideo;
77 GConfItem *m_dolbyConfVideoRoom;
78 GConfItem *m_dolbyConfVideoColor;
81 #endif // MAFWGSTRENDERERDOLBY_H