Commit Graph

199 Commits

Author SHA1 Message Date
Mike Blumenkrantz cc6678bb58 BY THE POWER OF GRAYSKULL, MIXER MODULE NOW WORKS AGAIN WITH PULSEAUDIO
ticket #1651


SVN revision: 78426
2012-10-25 08:12:44 +00:00
Mike Blumenkrantz 5e17a3eaac fix EINTERN to be more portable and not require e.h in mixer pulse
SVN revision: 77613
2012-10-09 07:08:00 +00:00
Mike Blumenkrantz 8c8a956237 undef gettext macro to fix build
SVN revision: 77583
2012-10-08 17:48:38 +00:00
Mike Blumenkrantz f7b644ecb0 fix mixer pulse includes and apply EINTERN to pulse functions so they won't be mistakenly called by stupid gstreamer
SVN revision: 77573
2012-10-08 13:44:39 +00:00
Mike Blumenkrantz 4f5e18437d fix possible magic failure in mixer
SVN revision: 77572
2012-10-08 13:37:37 +00:00
Mike Blumenkrantz d40acc5046 add pulse_disconnect() function and properly send disconnect events when disconnecting during pulse auth
SVN revision: 77505
2012-10-05 06:56:13 +00:00
Mike Blumenkrantz 8c5b541a39 more mixer magic failure fixes
SVN revision: 77429
2012-10-04 11:51:31 +00:00
Mike Blumenkrantz a848b7291e finally fix annoying pulse mixer magic failure
SVN revision: 77424
2012-10-04 10:33:59 +00:00
Mike Blumenkrantz 7238b0b61e grab/ungrab keys when adding mixer actions to ensure that the keybinds are added correctly
ticket #1562


SVN revision: 77273
2012-10-01 14:14:50 +00:00
Mike Blumenkrantz 523847cd2f fix magic fail
SVN revision: 76763
2012-09-17 14:25:54 +00:00
Mike Blumenkrantz e406dbd435 possibly fix headphones crash from massimo
SVN revision: 76719
2012-09-17 03:03:02 +00:00
Mike Blumenkrantz 4d5911644a unset mixer gadget configs when the backend changes, also don't delete the gadget instances; this should fix the last of the mixer crashing issues
SVN revision: 76653
2012-09-14 10:00:13 +00:00
Mike Blumenkrantz c9c92d24e8 restart the entire pulse connection when we get a disconnect and can't reconnect to refresh the socket location, also only send pulse ready when sinks have been fetched and the default sink is known
SVN revision: 76652
2012-09-14 09:57:45 +00:00
Mike Blumenkrantz d43a195c7d ensure we unset a pulse connection's server when it gets deleted
SVN revision: 76651
2012-09-14 09:55:39 +00:00
Mike Blumenkrantz 1a7737d5a1 fix mixer stringshare usage (fixes looooooooots of crashes), also shutdown pulse integration when unloading the module
SVN revision: 76649
2012-09-14 08:17:11 +00:00
Mike Blumenkrantz 6a53321e5c not sure why I was deleting port info strings for pulseaudio, but stop it because this breaks the world
SVN revision: 76648
2012-09-14 08:14:50 +00:00
Carsten Haitzler 4acc7c4eb9 well then.. let's not segv if card is null... yes - this is new
behaviour in mixer... at leats i'm not stuck with e crashing almost
instantly on start :)



SVN revision: 76631
2012-09-14 00:33:36 +00:00
Mike Blumenkrantz b51bf4a6c7 set hint for mixer gadgets that user is using the default card so that if it changes, pulseaudio can adjust appropriately
SVN revision: 76586
2012-09-13 07:43:33 +00:00
Mike Blumenkrantz d62d619774 emit pulse failure event when server connection fails
SVN revision: 76585
2012-09-13 07:19:07 +00:00
Mike Blumenkrantz 60b109786e no longer guess randomly what the default (current) pulseaudio output sink is, fetch this info from the server
SVN revision: 76513
2012-09-12 09:49:17 +00:00
Mike Blumenkrantz 0ccd179ab8 update pa interface to allow fetching server info
SVN revision: 76511
2012-09-12 09:46:37 +00:00
Mike Blumenkrantz 65719dfb4d fix weird mixer crash that was annoying the dh
SVN revision: 76295
2012-09-07 10:46:46 +00:00
Mike Blumenkrantz 028e9e0380 fix dialog cleanups to work properly
SVN revision: 75665
2012-08-24 14:19:55 +00:00
Mike Blumenkrantz f1c170da5a formatting
SVN revision: 75664
2012-08-24 13:57:22 +00:00
Mike Blumenkrantz cf7f8e0710 fix mixer gadget loading for pulseaudio
ticket #1357


SVN revision: 75661
2012-08-24 13:19:12 +00:00
Mike Blumenkrantz 610d4ca1d3 formatting
SVN revision: 75659
2012-08-24 13:03:16 +00:00
Mike Blumenkrantz 2d325c5604 fix magic fail on mixer shutdown
SVN revision: 75657
2012-08-24 12:50:55 +00:00
Massimo Maiurana 96bef27c6f updating portuguese and italian translations
SVN revision: 75576
2012-08-22 21:51:00 +00:00
Mike Blumenkrantz 2434f5adbe more PATH_MAX cleanups
SVN revision: 75520
2012-08-22 07:32:12 +00:00
Mike Blumenkrantz 94e2fc5257 clean up gadget right click menus to stop leaking
SVN revision: 75285
2012-08-15 07:22:04 +00:00
Mike Blumenkrantz 98601e4198 sed -i 's/(E_Gadcon_Client_Class/(const E_Gadcon_Client_Class/g'
SVN revision: 74474
2012-07-27 08:25:22 +00:00
Mike Blumenkrantz 9611ba4ea9 only register mixer module actions once a gadget for the mixer is created to prevent users from trying to use these actions when they cannot actually be used (mixer actions use mixer gadget's config to determine channel to change volume on)
SVN revision: 74066
2012-07-18 13:00:16 +00:00
Carsten Haitzler 30e66e437b in removing warnings you also removed real working code. fix!
SVN revision: 73020
2012-06-28 23:42:46 +00:00
Mike Blumenkrantz 959e6097af mixer warnings--
SVN revision: 72995
2012-06-28 10:26:56 +00:00
Mike Blumenkrantz f45e05ba61 pulse seems to work pretty well, disabling mixer debug spam
SVN revision: 72989
2012-06-28 10:02:42 +00:00
Mike Blumenkrantz 575bb23dfb shut up mixer warnings
SVN revision: 71842
2012-06-08 10:23:49 +00:00
Vincent Torri d7861802cb fixes, my bad
SVN revision: 71234
2012-05-18 14:14:27 +00:00
Vincent Torri 9d9ce41db0 E17: fix some warning
SVN revision: 71233
2012-05-18 13:02:20 +00:00
Vincent Torri 0522bc5f92 E17: spelling, reported by cippp in IRC
SVN revision: 70974
2012-05-13 17:28:22 +00:00
Cedric BAIL c2a29811d5 e: massiv warning cleanup !
SVN revision: 70756
2012-05-04 09:38:52 +00:00
Mike Blumenkrantz 0cdcee490e add poller for pulseaudio init
SVN revision: 67484
2012-01-24 08:31:23 +00:00
Gustavo Sverzut Barbieri 4305b8e7fe e/docs: do bare documentation for e.
Just some groups and basic description for modules. I'm NOT going back
to this anytime soon, but would be VERY happy if people could do some
screenshots and put the images for each module in docs/img/ folder,
linking to them from each e_mod_main.h



SVN revision: 67362
2012-01-19 23:25:32 +00:00
Mike Blumenkrantz 682c6f28b1 these error messages aren't CRIT worthy
SVN revision: 66076
2011-12-10 07:16:52 +00:00
Mike Blumenkrantz a9427d207b #ifdefs to compile mixer on bsd from Joerg Sonnenberger <joerg@britannica.bec.de>
SVN revision: 65800
2011-12-02 05:18:00 +00:00
Mike Blumenkrantz 697ecb9e59 add debug message for throttling
SVN revision: 65362
2011-11-18 05:05:40 +00:00
Carsten Haitzler b773e28a73 dont compile msg.c on non-linux.
SVN revision: 65341
2011-11-17 11:27:26 +00:00
Mike Blumenkrantz 4173f556d6 add timestamp printf for pulse disconnection debugging
SVN revision: 65273
2011-11-15 16:26:21 +00:00
Boris Faure 328496c8f4 e: oopsie. warnings--
SVN revision: 65205
2011-11-14 22:04:27 +00:00
Mike Blumenkrantz 986ff1bdd5 another unused var
SVN revision: 64910
2011-11-07 23:35:57 +00:00
Mike Blumenkrantz bc6f8843a1 fix uninitialized variable
SVN revision: 64909
2011-11-07 23:34:42 +00:00
Mike Blumenkrantz eb623c407e actually start dbus stuff c/o cedric
SVN revision: 64870
2011-11-07 15:56:48 +00:00
Cedric BAIL a26e265d95 e: correctly detect local socket and don't leak memory.
SVN revision: 64810
2011-11-06 10:41:28 +00:00
Mike Blumenkrantz c960c47c58 fix possible crash when freeing pulse sinks
SVN revision: 64648
2011-11-02 14:42:20 +00:00
Mike Blumenkrantz d4c9dceed4 fix sink/source retrieval
SVN revision: 64646
2011-11-02 14:34:01 +00:00
Mike Blumenkrantz aaf189f7fc fix typo in debug output
SVN revision: 64645
2011-11-02 14:15:40 +00:00
Mike Blumenkrantz 358f5f1746 fix obvious wrong comparison
SVN revision: 64643
2011-11-02 13:51:21 +00:00
Mike Blumenkrantz 987bccb984 lots of new pulse features:
*all sink operations now work on sources
*sources are now available for finding/watching
*ports are available
*active port is settable


SVN revision: 64513
2011-10-29 22:45:50 +00:00
Christopher Michael dfe911f764 E: Mixer: Fix some 'variable may be used uninitialized' warnings.
SVN revision: 64301
2011-10-22 17:08:08 +00:00
Viktor Kojouharov 739d2618f0 show the correct volume state on unmute
SVN revision: 64292
2011-10-22 09:24:08 +00:00
Viktor Kojouharov dfd5bb2d57 apply the desktop notification setting to the context on conf load
SVN revision: 64154
2011-10-18 18:17:57 +00:00
Mike Blumenkrantz 5203b6e177 warning--
SVN revision: 64105
2011-10-16 15:18:29 +00:00
Cedric BAIL 36ba41ea39 e: fix make dist.
SVN revision: 63819
2011-10-05 02:24:15 +00:00
Gustavo Sverzut Barbieri d3c6ef3e4a better output name (description is the human-readable name).
SVN revision: 63598
2011-09-25 04:36:08 +00:00
Carsten Haitzler 2e0c93bdc8 an d lets actually make puls work with "kind of correct" channel
mappings to mixer core. at least it functions now as "expected".



SVN revision: 63580
2011-09-24 05:35:14 +00:00
Carsten Haitzler 5c80993982 ok - lets make pa use correct channels to start with so it doesnt fail
instead of assume "front" take the first channel in the lsit - also
chanel id's stuffed inot pointers are no good if other code assume ptr
of NULL == no channel'mixer channel as it was a ptr... so incriment
id's by 1 in the interface to make sure id 0 doesnt happen.



SVN revision: 63578
2011-09-24 05:14:07 +00:00
Mike Blumenkrantz cf586e12a3 WHO PUT TABS IN MY EDITOR
SVN revision: 63558
2011-09-23 07:58:37 +00:00
Mike Blumenkrantz e4b65bce0b full pulseaudio mixer support: no external dependencies
SVN revision: 63557
2011-09-23 07:56:05 +00:00
Mike Blumenkrantz 0cac1a3fa6 fix some tabbed formatting
SVN revision: 63241
2011-09-07 03:54:58 +00:00
Hannes Janetzek f276811f8a e17: fix e_utils_config_check, no need to pass both epoch and version
SVN revision: 63029
2011-08-31 12:57:07 +00:00
Hannes Janetzek 87a5d584ea e17/mixer: apply patch from Leif (T_UNIX). split conf->version into major/minor. no need to wipe config. not tested notification
SVN revision: 63026
2011-08-31 12:30:56 +00:00
Mike Blumenkrantz 2b8a975102 ecrustified because it was terrible
SVN revision: 61414
2011-07-15 19:26:57 +00:00
Carsten Haitzler 8001665c3d and fix other broken mixer behavior - like not handling its own
bindings within its own grab key down handler



SVN revision: 60403
2011-06-16 17:45:38 +00:00
Carsten Haitzler 584c232f00 mixer -. kbd controls while popup up didnt work. work now.
SVN revision: 60297
2011-06-14 04:51:50 +00:00
Boris Faure 6048d46024 remove .cvsignore files
SVN revision: 60246
2011-06-12 21:38:37 +00:00
Carsten Haitzler 817d807c10 slim down mixer popup
SVN revision: 60233
2011-06-12 01:57:26 +00:00
Carsten Haitzler 88dd45cd07 fmting
SVN revision: 59740
2011-05-27 16:28:38 +00:00
Hannes Janetzek 7f457f1911 e17: add option to have gadcon client settings menu in toplevel again.
added e_menu_item_new_relative(E_Menu, E_Menu_Item *rel) which appends 
 new item to rel or prepends it when rel is NULL.

changed e_gadcon_util_client_menu_append to to take only the gadget menu
 and returns the new toplevel menu that should be shown by gcc
 depending on the setting this is a new menu with gadget menu as submenu
 or the gadet_menu with gadget menu items appended

updated e-modules-extra comes in a minute


SVN revision: 57826
2011-03-17 17:08:36 +00:00
Massimo Maiurana 6159631c21 updating german and french translations
SVN revision: 57706
2011-03-12 17:16:27 +00:00
Massimo Maiurana 308534cc44 updating russian translations
SVN revision: 57124
2011-02-17 12:15:59 +00:00
Mike Blumenkrantz 15468f69f6 fix include paths for all these makefiles to add $top_builddir/src/bin instead of $top_srcdir/src/lib
SVN revision: 55884
2011-01-05 17:50:05 +00:00
Massimo Maiurana 4a57615505 updating portuguese translations
SVN revision: 55041
2010-11-28 14:34:04 +00:00
Miculcy Brian 1feca166c6 Added a config option for enabling/disabling the Popup on volume change via keybinding.
SVN revision: 53546
2010-10-17 19:01:50 +00:00
Christopher Michael b5ea082df6 Fix compiler warnings wrt mixer_popup_timer_new/cb.
SVN revision: 53374
2010-10-13 18:47:08 +00:00
Miculcy Brian da963d78d9 Show mixer popup when changing the volume via keybindings.
SVN revision: 53347
2010-10-13 10:36:04 +00:00
Mike Blumenkrantz 402b843f22 hackfix const warning
SVN revision: 52169
2010-09-12 18:31:50 +00:00
Miculcy Brian 2f8f31fbf5 This commit will change the shelf menu completly:
If you have a Gadget and open the menu over it, all gadget specific options are under a separate submenu. The menu items which the Gadget sets theirself can be put on the main menu tree or on the Gadget submenu.
If you don't see a reason for this, check the ibar menu _before_ and _after_. :)

This api change broke all modules but i already fixed them all. Hope everything works... I also shortend text strings, etc, etc.
Hope you like it! :)


SVN revision: 52041
2010-09-09 14:44:21 +00:00
Lucas De Marchi 63f07459a0 Convert (hopefully) all comparisons to NULL
Apply badzero.cocci, badnull.coci and badnull2.cocci

This should convert all cases where there's a comparison to NULL to simpler
forms. This patch applies the following transformations:

code before patch               ||code after patch
===============================================================

return a == NULL;                 return !a;

return a != NULL;                 return !!a;

func(a == NULL);                  func(!a);

func(a != NULL);                  func(!!a);

b = a == NULL;                    b = !a;

b = a != NULL;                    b = !!a;

b = a == NULL ? c : d;            b = !a ? c : d;

b = a != NULL ? c : d;            b = a ? c : d;


other cases:

a == NULL                         !a
a != NULL                         a




SVN revision: 51487
2010-08-21 13:52:25 +00:00
Cedric BAIL 9617253990 * edje: fix count that lead to memleak.
SVN revision: 51047
2010-08-12 15:07:26 +00:00
Cedric BAIL 288403f62b * edje: fix for updated edje file format.
SVN revision: 51037
2010-08-12 13:26:09 +00:00
Cedric BAIL 068d07757f * edje: converting edje file to make them compatible with old and new
loader. I didn't expect so many of them, maybe some one can take care
	of reducing their number (0 would be a good target).


SVN revision: 50938
2010-08-09 18:05:22 +00:00
Carsten Haitzler 7a7fa3937b fdh del before fd close
SVN revision: 50672
2010-07-30 02:55:06 +00:00
Christopher Michael 8a6ebe2463 Don't need these includes here...e.h already handles these.
SVN revision: 50327
2010-07-18 17:17:31 +00:00
Cedric BAIL c6a118d738 * e: remove warning due to Ecore API change.
SVN revision: 49833
2010-06-24 16:19:12 +00:00
Gustavo Sverzut Barbieri 936465b774 don't let stale pointers around.
This fixes the bug when one adds a mixer, it becomes the default, then
removes it and use one of the global volume modifiers, it would use
the stale pointer.

TODO: a way to configure the volume independently of a shelf gadget.



SVN revision: 48593
2010-05-03 21:14:33 +00:00
Chidambar Zinnoury 95692ff00e Put back the edje file, a little bit too much cleaning.
SVN revision: 48123
2010-04-19 06:49:07 +00:00
Chidambar Zinnoury f6bf5d32b9 Use FDO-icon for mixer module and remove useless edje file.
SVN revision: 48119
2010-04-19 05:35:19 +00:00
Gustavo Sverzut Barbieri 2a1229013a cleanups...
i did this module long ago, without a proper indentation settings in my emacs...



SVN revision: 47124
2010-03-10 21:54:23 +00:00
Miculcy Brian b80eca5ad3 remove the now useless title
SVN revision: 47002
2010-03-08 16:09:21 +00:00
Gustavo Sverzut Barbieri 271862f5c0 rename _Name to _e_mixer_Name, avoiding sym clash
SVN revision: 44993
2010-01-08 21:43:27 +00:00
Gustavo Sverzut Barbieri 9436c022bc avoid leak
SVN revision: 44833
2009-12-31 21:36:01 +00:00