Colin Guthrie
0087ef0d60
source-output: We will officially support source output volumes in 0.99
2011-07-22 10:18:40 +01:00
Colin Guthrie
ca9c74b042
source-output: Don't set the channel map for the SO if we do not support SO volumes.
...
The setting of the channel map triggers the display of the actual volume sliders
so it is essential that we do not set it when we don't want to.
2011-07-22 10:01:48 +01:00
Colin Guthrie
a03fa60f41
sink: Oops. I didn't mean to comment this out in the previous commit.
2011-07-22 09:50:22 +01:00
Colin Guthrie
9784b9d76d
stream-volumes: Support source-output volume controls now available in PA.
2011-07-22 09:35:38 +01:00
Colin Guthrie
53c38faa8a
Handle simple key events.
...
* Use ctrl+w or ctrl+q or esc to quit.
* Uset ctrl+1-5 to change tabs.
2011-06-06 12:18:14 +02:00
Colin Guthrie
933b8a7009
Deal more gracefully with disconnections.
...
As pavucontrol is often used for debugging PA, it should
be quite robust and not popup messages etc. under 'normal'
testing conditions. This adds quite a verbose message under
some specific conditions that do crop up from time to time.
2011-06-06 12:18:06 +02:00
Marc-Antoine Perennou
964de9fc7f
Add support for gtkmm-3.0 and prefer it over gtkmm-2.* by default.
...
Pass --disable-gtk3 to configure to build against gtk2
2011-04-29 17:10:58 +01:00
Colin Guthrie
26d42651c5
Ensure the marker for base volume is set on all channels.
...
Refs #804
2011-03-28 18:52:27 +01:00
Colin Guthrie
c70b048c98
volume: Don't bother setting the steps.
...
The number of volume steps doesn't really affect our scale, so there
is little value in setting it.
2011-03-09 21:54:05 +00:00
Colin Guthrie
297af52ae5
volume: Support volumes up to 11.
...
This allows us to set volumes up to ~153% aka +11dB.
Also show the current dB value in the UI - as pavucontrol is a bit more
developer-friendly than other volume UIs displaying this by default makes
sense.
2011-03-09 21:50:29 +00:00
Colin Guthrie
9516b6f1dc
ui: Remove ellipsize attribute from some labels (causes ellipsis to be displayed rather than real text)
2011-03-03 14:53:28 +00:00
Colin Guthrie
099e91616d
ui: Resave glade file without any changes to tidy it up
2011-03-03 14:36:08 +00:00
Rafał Mużyło
9ce0e0a380
Drop the need to use libglademm
2011-03-03 14:31:14 +00:00
Maarten Bosmans
5997290d1e
Add DONT_INHIBIT_AUTO_SUSPEND flag to monitor streams
2011-03-03 13:52:21 +00:00
Colin Guthrie
73e57023ec
source-outputs: Source outputs do not support volume control, so hide the mute and lock channels buttons
2010-12-22 14:58:30 +00:00
Colin Guthrie
f70ff92ecd
main: Format string fixes
2010-04-22 02:04:19 +01:00
Colin Guthrie
97c9cc6197
main: Add a --tab command line argument to force a given tab to be displayed.
...
Refs: http://pulseaudio.org/ticket/768
2010-04-22 01:03:54 +01:00
Colin Guthrie
870c3ddb2e
mainwindow: Fix clearing out of clients
2010-04-22 00:08:39 +01:00
Colin Guthrie
94add670c4
mainwindow: Save/restore window size
2010-04-22 00:04:56 +01:00
Colin Guthrie
95e48d5c9e
mainwindow: Compact iterator decls
2010-04-21 00:44:01 +01:00
Colin Guthrie
9fe20201f2
main: Cleanup labels after connection rework
2010-04-20 22:03:45 +01:00
Colin Guthrie
18c8945708
source-outputs: Fix a bug where the 'no streams' label is sometimes shown along with the actual widget.
2010-04-20 20:45:26 +01:00
Colin Guthrie
7de18201a3
connection: Show a nice label when connecting to PA.
2010-04-20 20:24:15 +01:00
Colin Guthrie
84dc67b395
main: Automatically reconnect to PA upon disconnection
2010-04-20 20:01:39 +01:00
Colin Guthrie
6c0bcb4c08
mainwindow: Add a method to remove all widgets (e.g. on disconnect)
2010-04-20 20:00:37 +01:00
Colin Guthrie
b11f0b7297
streamwidget: Fix a compile warning.
2010-04-20 19:46:30 +01:00
Colin Guthrie
cbcdd0f49c
Split out the creation of the PA context a little.
...
This is a precursor to adding reconnection support.
2010-04-20 19:11:14 +01:00
Lennart Poettering
8959744e60
glade: ellipsize user supplied text strings
2010-01-05 20:57:25 +01:00
Colin Guthrie
78f5194541
Allow for the sink input peak detect to survive across sink moves.
2009-10-17 15:59:29 +01:00
Colin Guthrie
68e3401350
Update for the latest incarnation of module-device-manager
2009-10-15 13:03:16 +01:00
Colin Guthrie
c813bb9e3f
Use the correct update mode for device-restore database write
2009-10-15 13:03:16 +01:00
Colin Guthrie
375c2c2d62
Add support for the device-manager module.
...
Currently this module only really allows for devices to be renamed, so we add a new
dialog that can be activated by right clicking on devices (i.e. sinks/sources).
This dialog allows you to enter a new name which will be set via the extension
provided by the device-manager module.
Future work will allow you to manage (i.e. rename, delete etc) offline devices too.
2009-10-15 13:03:16 +01:00
Colin Guthrie
d4f1a7622b
volume: Set the scale properly for delta changes via mouse/keyboard.
2009-10-03 13:09:37 +01:00
Colin Guthrie
b5b433ee00
events: Hide output streams with a stream restore designator for the event widget.
...
Showing these streams causes UI issues due to the repainting when the app that generates the
sound events is pavucontrol itself (e.g. changing volume, trying to move stream to a new device etc.)
2009-10-03 13:09:12 +01:00
Lennart Poettering
32d6f81d9d
drop reference to beepDevice
2009-09-09 01:06:12 +02:00
Lennart Poettering
8a11d0f781
fix event sound generation for volume changes
2009-08-27 05:41:11 +02:00
Lennart Poettering
5143fa8dae
only assume that the minimal volume is silence for devices that can do dB volumes
2009-08-27 05:40:47 +02:00
Lennart Poettering
b373c000ea
use fallback icon scheme for stream icons, too
2009-08-26 02:15:57 +02:00
Lennart Poettering
d98588b665
glade: minor alignment fixes
2009-07-01 20:28:57 +02:00
Colin Guthrie
f1a23af603
Restructure the class inheritance a bit.
...
This just shuffles around the streamwidget a bit. The RoleWidget child class is the
exception, so try and gear things around SinkInput/SourceOutput widgets more to
save repeating the same code too much.
2009-06-28 16:38:39 +01:00
Colin Guthrie
ac052e1a30
Rename event method to be more indicative of what it does.
2009-06-28 16:00:35 +01:00
Colin Guthrie
61cae8cd40
Rename a variable to make it more generic
2009-06-27 22:37:46 +01:00
Colin Guthrie
159609135f
Add support for changing ports.
...
This commit adds a combo box for selecting ports.
Overall this implementation could have taken two paths:
* Implement port selection as combo box.
* Implement port selection as a button.
I went for the first option as is done in selecting card profiles over the
second method used for selecting devices for streams. This seems more like
how a config option should be presented as opposed to a runtime type thing.
2009-06-27 18:14:05 +01:00
Colin Guthrie
7b3083df57
Don't use a hyperlink to display the device, just use a regular button.
...
I'm not super happy with this style but it's probably more reliable
2009-06-17 23:23:04 +01:00
Colin Guthrie
514a66e0c8
Do not disable the default button when it's set.
...
I reworked the way this was done so we can easily re-enable this as I think it's clearer when it's inactive
(the difference between toggled and not toggled is pretty minor).
With this abstraction we could reset the tooltip etc. too.
2009-06-17 22:44:02 +01:00
Colin Guthrie
7a7c1fc7f2
Hide the terminate button.
...
The terminate button is a last resort and shouldn't be promoted in the UI.
This commit hides it behind a right click menu instead.
This also hides the 'Set as Fallback' label in the glade file.
2009-06-17 22:25:19 +01:00
Colin Guthrie
02b316fcba
More changes in the UI to try and make things neater.
...
This abandons the combo box approach an instead partially reverts to the popup.
We now display a suffix after the stream title saying " on <device>" or " from <device>"
where the <device> part looks like a hyperlink and, when clicked, shows the popup to change the device.
If there is only one device available, we suppress the whole thing and thus avoid confusion.
2009-06-17 08:54:14 +01:00
Colin Guthrie
e71562619a
Create the event role widget early so that it's always top of the list.
2009-06-17 08:54:14 +01:00
Colin Guthrie
b96c707c12
Change 'Default' to 'Use as fallback'
2009-06-17 08:54:13 +01:00
Colin Guthrie
ddd7d06dde
Move the setBaseVolume()/setSteps() methods to devicewidget (problem found after rebasing)
2009-06-17 08:54:13 +01:00
Colin Guthrie
dea5d0a0fe
Include config.h in the cc file (after rebase)
2009-06-17 08:54:13 +01:00
Colin Guthrie
26d5749396
Add a tooltip
2009-06-17 08:54:13 +01:00
Colin Guthrie
4bd94fa2b8
Wire up all the new UI code.
...
This makes the default button work on sinks/sources, allows the drop
down to actually change the sink/source and removes the old menu code.
Some names and such are fixed in the glade file too.
2009-06-17 08:54:12 +01:00
Colin Guthrie
4c3acd35e5
Wire up the default toggle button (replaces the old menu)
2009-06-17 08:54:12 +01:00
Colin Guthrie
fab8d8d524
Hook up the device combo box on change event
2009-06-17 08:54:12 +01:00
Colin Guthrie
ca441f4c9d
Remove the 'Default [Out|In]put' option from the combo for now.
...
It will be restored when it's actually possible to set/clear the default stream restore db
2009-06-17 08:54:12 +01:00
Colin Guthrie
0667b9d5ea
Set the correct combo index for display purposes
2009-06-17 08:54:12 +01:00
Colin Guthrie
cfa1cd3d49
Record in a map the combobox indexes vs. the sink/source indexes
2009-06-17 08:54:12 +01:00
Colin Guthrie
903c26bd44
Add setter/getter methods for sink/source indexes so we can update our combo boxes current item
2009-06-17 08:54:11 +01:00
Colin Guthrie
255defb371
Remove the kill menu item now we have a dedicated button
2009-06-17 08:54:11 +01:00
Colin Guthrie
ee855937cc
Wire up the terminate button
2009-06-17 08:54:11 +01:00
Colin Guthrie
798f51f480
Set the pack_start on the deviceCombo
2009-06-17 08:54:11 +01:00
Colin Guthrie
d617c39a08
Set the mainwindow pointer via an init() method rather than directly via public member variable.
...
This allows us to perform other general initialisation task (such as setting the tree model on the device combo)
2009-06-17 08:54:11 +01:00
Colin Guthrie
7b7a12f1d2
Adapt to new UI
...
The actual wiring up of events and clearing out of old, unused elements is
not complete yet, so this is completely non-functional at present.
2009-06-17 08:54:10 +01:00
Colin Guthrie
e509205be2
Rebase the sink/source widgets on the device widget
2009-06-17 08:54:10 +01:00
Colin Guthrie
644cfddf39
Create a devicewidget based on streamwidget.
...
This will become the base for Output and Input device tabs (as the streamwidget will have a different UI)
2009-06-17 08:54:10 +01:00
Colin Guthrie
7d296ec195
Glade UI changes. Code still needs to be updated
2009-06-17 08:54:09 +01:00
Lennart Poettering
4e73145363
make sure that two card profiles with the same priority don't collide with each other
2009-06-17 02:34:22 +02:00
Lennart Poettering
874ebedf16
don't abort when icon is missing from the theme
2009-06-14 19:28:32 +02:00
Lennart Poettering
d30c045dac
don't show failure msgbox twice
2009-04-14 00:14:48 +02:00
Lennart Poettering
ee58abeb91
reenable monitor streams
2009-04-14 00:00:01 +02:00
Lennart Poettering
98aab64c36
Merge commit 'coling/master'
2009-04-13 23:21:00 +02:00
Lennart Poettering
8a490558da
don't show wait cursor forever if stream_restore extension is not available
2009-04-08 04:09:38 +02:00
Colin Guthrie
dc2eb66e0a
Order the card profiles by their priority
2009-03-25 21:10:21 +00:00
Colin Guthrie
514a8c1227
Silence a warning
2009-03-25 21:06:33 +00:00
Lennart Poettering
feff1f6f05
configure steps for scales
2009-03-21 03:49:19 +01:00
Lennart Poettering
7116369503
visualize base volume
2009-03-21 03:27:25 +01:00
Colin Guthrie
6499304945
Shuffle some headers around a bit so that some systems don't have build errors
2009-03-18 21:06:28 +00:00
Colin Guthrie
c4208bfd8e
Use C style comments as per Lennart's fetish :p
2009-03-18 21:01:03 +00:00
Colin Guthrie
c6b73de308
Move config.h inclusion to the .cc files
2009-03-18 20:58:17 +00:00
Colin Guthrie
53288073c1
Split mainwindow into it's own files.
2009-03-16 13:21:14 +00:00
Colin Guthrie
cf3da7b364
Split rolewidget into it's own files.
2009-03-16 13:13:34 +00:00
Colin Guthrie
0d746559c3
Split sourceoutputwidget out into it's own files.
2009-03-16 13:05:58 +00:00
Colin Guthrie
dc5498f86a
Split sinkinputwidget into it's own files.
...
Also had to put mainwindow into it's own header for this to work. Full conversion of mainwindow will ultimately follow.
2009-03-16 12:59:01 +00:00
Colin Guthrie
ed4f413ec5
Split sourcewidget into it's own files.
2009-03-16 12:45:53 +00:00
Colin Guthrie
38e7792eec
Split sinkwidget into it's own files.
2009-03-16 12:41:02 +00:00
Colin Guthrie
d3a66f65b5
Split cardwidget out into it's own files.
...
Also define a get_context() method to get the context from outside of the main file.
2009-03-15 13:32:28 +00:00
Colin Guthrie
a8357b3dc2
Move common setup into a shared header
2009-03-15 13:08:22 +00:00
Colin Guthrie
e1e452ac22
Split out streamwidget into it's own files.
...
Also correct the location of the argument default value specification (it should be in prototype not implementation)
2009-03-15 13:02:56 +00:00
Colin Guthrie
f6af4f80b8
Split channelwidget into separate files. Also separate out the definition of streamwidget into it's own header
2009-03-15 12:54:56 +00:00
Colin Guthrie
11989db61a
Include config.h in minimalstreamwidget.h
2009-03-15 12:54:07 +00:00
Colin Guthrie
1c73564f66
Split the minimalstreamwidget into it's own file
2009-03-15 12:42:45 +00:00
Colin Guthrie
0fbc2b1466
Remove the minimalStreamWindow. It's no longer used
2009-03-06 00:02:06 +00:00
Lennart Poettering
36aa55760c
Merge commit 'coling/master'
2009-03-02 22:45:59 +01:00
Lennart Poettering
6154459500
use the server provided icons
2009-03-02 22:29:48 +01:00
Colin Guthrie
1758320b6a
Initialise our dropdown at contruction and just repopulate it when the cardinfo callback is received
2009-03-02 20:36:44 +00:00
Lennart Poettering
3d5133064e
various small glade updates
2009-03-02 18:41:02 +01:00
Colin Guthrie
d816be58d6
Fix the number of outstanding operations.
...
This uses an incrementing rather than fixed value as it more obviously reflects what's going on.
2009-02-28 20:37:44 +00:00
Colin Guthrie
188ee8c2c2
Typo: spell configuration right
2009-02-28 19:52:17 +00:00
Colin Guthrie
6a76183326
Add a new widget for the card configuration and use it.
...
This change allows the card profiles to be shown in a combo box. This is more natural and obvious
than hiding things in the submenu.
2009-02-28 19:51:08 +00:00