root/trunk/libffado/support/mixer-qt4/ffado/mixer/dummy.py

Revision 2653, 1.0 kB (checked in by jwoithe, 7 years ago)

This is a first pass at converting the signal handling of ffado-mixer to the
new style implemented by pyqtSignal[1]. It is based on patches provided by
Takashi Sakamoto in January 2015[2], Xavier Forestier in November 2016[3]
and additional minor fixes.

Note that this patchset breaks the matrix mixer due to problems with the
treatment of the valueChanged signal from the MixerNode? class. More work is
needed to determine what the problem is and how best to fix it in the
context of the new signal handling.

[1] http://www.riverbankcomputing.co.uk/news/pyqt-45
[2] https://sourceforge.net/p/ffado/mailman/ffado-devel/thread/1421471004-13162-1-git-send-email-o-takashi%40sakamocchi.jp/#msg33244745
[3] https://sourceforge.net/p/ffado/mailman/message/35457569/

  • Property svn:mergeinfo set to
Line 
1 #
2 # Copyright (C) 2005-2008 by Pieter Palmers
3 #
4 # This file is part of FFADO
5 # FFADO = Free Firewire (pro-)audio drivers for linux
6 #
7 # FFADO is based upon FreeBoB.
8 #
9 # This program is free software: you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation, either version 2 of the License, or
12 # (at your option) version 3 of the License.
13 #
14 # This program is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 # GNU General Public License for more details.
18 #
19 # You should have received a copy of the GNU General Public License
20 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
21 #
22
23 from PyQt4.QtGui import QWidget
24 from ffado.config import *
25
26 class Dummy(QWidget):
27     def __init__(self,parent = None):
28         QWidget.__init__(self,parent)
29         uicLoad("ffado/mixer/dummy", self)
30
31     def initValues(self):
32         pass
33
34 # vim: et
Note: See TracBrowser for help on using the browser.