Commit Graph

465 Commits

Author SHA1 Message Date
Alastair Poole e6a8d1c03c mixer: sink icon for A***** Echo. 2021-04-22 17:29:04 +01:00
Carsten Haitzler 32cab564d7 mixer - remove debug printf 2021-04-21 10:34:05 +01:00
Carsten Haitzler a8fb845242 e module and gad icons - fix some icons missed thay were hiding 2021-04-17 13:53:26 +01:00
Carsten Haitzler e2786dd50f mod mixer - unput monitor sources as they may be already
this results in no vu meter if they are muted... unmut them so we get
a working vu
2021-04-02 17:54:04 +01:00
Carsten Haitzler e0f40e7a83 mixer - remove debug printfs 2021-04-02 17:17:32 +01:00
Carsten Haitzler b778103299 mod mixer - add vu meter to popup 2021-04-02 17:14:11 +01:00
Carsten Haitzler 17303d0762 mixer - new glob for earbuds 2021-04-01 21:05:44 +01:00
Carsten Haitzler fa836d5d6b mixer - add more globs for sony headphones
thanks for the info bushman :)
2021-04-01 12:11:30 +01:00
Carsten Haitzler 0509814168 mixer - fix sink icons first map for buil in audio 2021-03-30 22:00:04 +01:00
Carsten Haitzler 0f90c6a10a mod - mixer - visual cleanups of mixer look and feel. more polish 2021-03-30 14:52:23 +01:00
Carsten Haitzler aa4f3ce308 mixer - emix - use heading tag 2021-03-30 12:03:48 +01:00
Carsten Haitzler 71409186b9 emix - fix dynamic output sink change with monitoring 2021-03-30 11:50:31 +01:00
Carsten Haitzler e6c05913c6 emixer - handle source del properly - shut down src mon 2021-03-30 01:51:21 +01:00
Carsten Haitzler 9444e5d55d e mixer - add ability to monitor streams with vu meters too
it's generic infra where you can get a general waveform (44.1khz
stereo floats per strea) for playback (sink inputs), output (sinks)
and inputs (sources). the emix gui will put a vu meter (actually it's
not a vbu meter - it's a peak sample measure over any frame period)
with a progress bar there. very useful now.

@feat
2021-03-30 01:12:26 +01:00
Carsten Haitzler 0564846adb mixer - fix sink icons 2021-03-30 01:12:26 +01:00
Carsten Haitzler cf31032d1b mixer - more icon mappings for sinks 2021-03-30 01:12:26 +01:00
Carsten Haitzler 6beec55b74 mixer - add icon database for sink icons for mixer popup
this will allow us to have specific icon for different sinks - eg a
screeen for hdmi sinks etc. - need to build a "database" in
sink-icons.txt over time. format is:

glob|icons-name
glob2|icon-name2
...

where glob/glob2 are file globs to match the strng of a sink name and
icon-name/icon-name2 are the naime of the icon in the elm icon theme
for xdg/fdo standard icons or extended icon names we added in the elm
theme. add more lines as needed. first match "wins" so put most
specific matches at the front and least specific at the end.
2021-03-29 01:25:28 +01:00
Carsten Haitzler 21e5da5322 emixer - update icon to match new flat look 2021-03-28 20:14:30 +01:00
Alastair Poole ded482d817 emixer: avoid segv when no default sink is set. 2021-03-27 20:29:28 +00:00
Carsten Haitzler 434833e9da mixer - properly update default sink and set def sink too in mixer popup
mixer popup SAVED the def mixer but never SET it...  and this led to a
bunch of issues when getting gixed. now its saved and set. NOW the
mixer popup has a quick way to select the output sink (device). handy
if uyou use usb audio for heapdhones but on board audio for speakers
for example (or hdmi audio or something).

@fix
2021-03-07 11:11:39 +00:00
Alastair Poole 06fe218818 emixer: no shadows.
Concessions.
2021-03-02 15:44:54 +00:00
Alastair Poole 91dd5f66be emixer: Small Tidy Up. 2021-03-02 13:27:24 +00:00
Alastair Poole c09e37d7e1 mixer: pulse indentation.
Tidying up from that previous patch.
2021-03-02 08:41:29 +00:00
Pau Espin Pedrol b0b2984953 emixer: pulse: Use description as name for sources
Summary:
Same is already done for sinks.

emixer: Add support to set default sink

emixer: Add support to set default source

emixer: gadget: Update UI to follow pulseaudio default sink changes

Reviewers: devilhorns

Subscribers: abrouwers, netstar, cedric, zmike

Tags: #enlightenment-git

Differential Revision: https://phab.enlightenment.org/D12247
2021-03-02 08:35:21 +00:00
Brian 'morlenxus' Miculcy b386d7b911 e mixer - unmute on wheel volume change up/down on gadget
@feat
2020-11-11 15:45:34 +00:00
Carsten Haitzler 048a658ff9 emix - mixer backend - fix string compare to compare wholes string 2020-10-04 22:17:02 +01:00
Carsten Haitzler 0b1c4100ef e gadgets - as per email to e-devbel - it's easier to fix old so rm new
new gadget infra--
2020-07-07 23:34:27 +01:00
Carsten Haitzler 6fad7e2a76 Revert "e_client_volume: Reparent sink if a new window comes and match this one"
this is also causing issues. segv's. asan is finding them. re-open D8929

This reverts commit eae3cd37e8.
2020-05-14 12:20:53 +01:00
Michael Bouchaud (yoz) eae3cd37e8 e_client_volume: Reparent sink if a new window comes and match this one
Summary:
 This commit avoid multiple windows got the same sink. Like launching
 rage from terminology, gstreamer sink could be associated with terminology
 and rage window too.

Reviewers: raster, devilhorns

Subscribers: cedric, zmike

Tags: #enlightenment-git

Differential Revision: https://phab.enlightenment.org/D8929
2020-05-14 11:23:04 +01:00
Carsten Haitzler 8392fc4769 emix - fix symbols to point to correct extern sym 2020-05-10 18:11:43 +01:00
Carsten Haitzler 9c85c91b4e emixer - dont mul by elm scale - toolbar does this 2020-05-05 15:28:32 +01:00
Alastair Poole fbf077380e emixer: Let toolbar scale.
As we scale, toolbar icons scale.
2020-05-05 12:48:14 +01:00
Carsten Haitzler 466d95e2f6 whitespace-- 2020-04-19 18:49:52 +01:00
Carsten Haitzler d0e7a1907c emixer - actually count cards 2020-04-19 18:48:15 +01:00
Carsten Haitzler bb8f1a84ee emixer - if no cards are found put "not connected" there 2020-04-19 18:45:27 +01:00
Carsten Haitzler 61edb7bd8c mixer - emixer - add padding around the list items to space things out
a bit more. use frames with pad_medium style
2020-04-19 15:42:33 +01:00
Carsten Haitzler be8286e154 emixer - limit icon sizes in toolbar to be... nicer 2020-04-16 10:32:18 +01:00
Simon Tischer 06b7b9205a (e)mixer - add possibility to translate strings
Reviewed-by: Christopher Michael <devilhorns@comcast.net>
Differential Revision: https://phab.enlightenment.org/D11702
2020-04-14 08:17:49 -04:00
Simon Tischer 4a7ebe86bc emixer - add icons to toolbar
Differential Revision: https://phab.enlightenment.org/D11658
2020-04-08 12:30:02 -04:00
Simon Tischer 039f96df91 emixer - add icon for playback device
Summary:
add playback icons

emixer - add playback icons

Reviewers: devilhorns, raster

Subscribers: raster, bu5hm4n, cedric, zmike

Tags: #enlightenment-git

Differential Revision: https://phab.enlightenment.org/D11640
2020-04-06 14:27:44 +01:00
Alastair Poole b320eda808 emixer.png: install in correct place.
Icon not displaying. Install in hicolor as per FDO.
2020-04-02 18:21:38 +01:00
Carsten Haitzler 6435e9a075 emixer - desktop - limit groups to one only and only show in e 2020-03-25 17:11:32 +00:00
Carsten Haitzler 2747af8e07 mixer - try not to create notifications for no change in volume 2019-09-20 13:48:31 +01:00
Carsten Haitzler 96ae312d6e mixer pulse - handle alloc failure better and dont access null
fix CID 1403930
2019-08-06 19:00:46 +01:00
Carsten Haitzler dccf124ff3 mixer backend - fix null checks to cover all uses
fix CID 1403937
2019-08-06 18:53:30 +01:00
Carsten Haitzler af92895931 e - fix issue in emixer where sliders will not get disabled right
recent changes to try disable sliders won't handle the slider list vs
single slider right - warning pointed this out so fix it right.
2019-06-04 12:38:34 +01:00
maxerba e83259bccd Fix typos in messages 2019-05-25 21:43:24 +02:00
Michael Bouchaud (yoz) 5aedf54042 emixer: Add volume channels control on emixer
Summary:
This commit allow the user to control each volumes channels in emixer.
A lock flag is introduced to manage volume as before.

@feature

Reviewers: zmike!, devilhorns, raster

Subscribers: cedric

Tags: #enlightenment-git

Differential Revision: https://phab.enlightenment.org/D7639
2019-05-21 14:41:24 +01:00
Michael Bouchaud (yoz) fb23acf874 mixer: factorize backend emix infra
Summary:
The mixer gadgets suffer of a bad design between old and new gadget infra.
This commit refactorize the mixer backend to get only one instance
between old and new gadget. This resolve many problems as e_client_volume
integration or the default_sink choosen in one of this modules.
Now it will be easier to maintain this code and better support when we will
remove old gadget infra.

Reviewers: zmike, devilhorns, stephenmhouston

Reviewed By: zmike

Subscribers: cedric

Tags: #enlightenment-git

Differential Revision: https://phab.enlightenment.org/D7718
2019-03-18 08:54:42 -04:00
Stephen 'Okra' Houston 4097a9d2f6 Mixer Gadget: Give the mixer gadget its own actions as to not conflict with the shelf module.
Fixes T7263
2019-01-17 11:34:13 -06:00