Commit Graph

429 Commits

Author SHA1 Message Date
Mike Blumenkrantz 290e2369d3 s/sumary/summary/g 2014-07-30 19:18:24 -04:00
Mike Blumenkrantz 30e4ed9439 block mixer crashes during init
fix T1305
2014-06-02 09:13:55 -04:00
Chris Michael 3441777965 fix formatting
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-05-17 17:54:26 +01:00
Chris Michael 05ecdaab79 add missing EINA_UNUSED for unused param
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-05-17 17:54:05 +01:00
Mike Blumenkrantz 9157ca8ca7 all dialogs are now resizable
any bug reports regarding issues resulting this will be ignored.
2014-05-14 13:00:35 -04:00
Jérémy Zurcher 7ff5a2a744 fix launch mixer from config panel, select card and channel 2014-05-07 14:44:10 +02:00
Mike Blumenkrantz e6e764cba9 check more pulse mixer returns
CID 1039959, 1039960
2014-04-04 15:04:28 -04:00
Mike Blumenkrantz ed4eb3b6e0 check pulse mixer fd dup return
CID 1040123
2014-04-04 15:04:28 -04:00
Mike Blumenkrantz 4b58fa9a4e replace ev->keyname with ev->key
see efl 5ae4cfd1923e502731f4d8fc2bf67b1f536a9216
2014-03-13 13:03:34 -04:00
Mike Blumenkrantz 94072211c3 fix mixer config leak on config failure
CID 1135539
2014-03-13 10:31:07 -04:00
Jean-Philippe Andre 7ffc096341 Mixer: Fix crash when closing mixer settings
app can already be NULL at this point, when called from _cb_win_del().
2014-01-15 12:37:59 +09:00
Mike Blumenkrantz 86656e4df9 compositor rewrite / charlie-foxtrot situation
huge fustercluck commit because there wasn't really a way to separate out the changes. better to just rip it all out at once.

* compositor and window management completely rewritten. this was the goal for E19, but it pretty much required everything existing to be scrapped since it wasn't optimized, streamlined, or sensible. now instead of having the compositor strapped to the window manager like an outboard motor, it's housed more like an automobile engine.

** various comp structs have been merged into other places (eg. E_Comp_Zone is now just part of E_Zone where applicable), leading to a large deduplication of attributes

** awful E_Comp_Win is totally dead, having been replaced with e_comp_object smart objects which work just like normal canvas objects

** protocol-specific window management and compositor functionality is now kept exclusively in backend files

** e_pixmap api provides generic client finding and rendering api

** screen/xinerama screens are now provided directly by compositor on startup and re-set on change

** e_comp_render_update finally replaced with eina_tiler

** wayland compositor no longer creates X windows

** compositor e_layout removed entirely

* e_container is gone. this was made unnecessary in E18, but I kept it to avoid having too much code churn in one release. its sole purpose was to catch some events and handle window stacking, both of which are now just done by the compositor infra

* e_manager is just for screensaver and keybind stuff now, possibly remove later?

* e_border is gone along with a lot of its api. e_client has replaced it, and e_client has been rewritten completely; some parts may be similar, but the design now relies upon having a functional compositor

** window configuration/focus functions are all removed. all windows are now managed solely with evas_object_X functions on the "frame" member of a client, just as any other canvas object can be managed.

*** do NOT set interceptors on a client's comp_object. seriously.

* startup order rewritten: compositor now starts much earlier, other things just use attrs and members of the compositor

* ecore_x_pointer_xy_get usage replaced with ecore_evas_pointer_xy_get

* e_popup is totally gone, existing usage replaced by e_comp_object_util_add where applicable, otherwise just placed normally on the canvas

* deskmirror is (more) broken for now

* illume is totally fucked

* Ecore_X_Window replaced with Ecore_Window in most cases

* edge binding XWindows replaced with regular canvas objects

* some E_Win functionality has changed such that delete callbacks are now correctly called in ALL cases. various dialogs have been updated to not crash as a result

comp files and descriptions:

e_comp.c - overall compositor functions, rendering/update loop, shape cutting

e_comp_x.c - X window management and compositor functionality

e_comp_wl.c - Wayland surface management and compositor functionality

e_comp_canvas.c - general compositor canvas functions and utilities

e_comp_object.c - E_Client->frame member for managing clients as Evas_Objects, utility functions for adding objects to the compositor rendering systems

additional authors: ivan.briano@intel.com

feature: new compositor

removal: e_border, e_container, e_popup
2014-01-14 20:22:02 -05:00
Mike Blumenkrantz 4c9123c9b4 fix weird pulse crash when sink name is NULL (wtf?) 2014-01-14 20:22:01 -05:00
Mike Blumenkrantz 2a01f4b3cb bugfix: delete mixer's pulse exe handler after it's started so desklock doesn't break 2013-12-23 14:02:06 -05:00
Mike Blumenkrantz be6351f15e fix mixer regression which broke non-pulseaudio support 2013-12-21 09:26:57 -05:00
Mike Blumenkrantz 02e95afdf3 use regular ecore-exe for pulse start to not track launch 2013-12-16 08:16:36 -05:00
Mike Blumenkrantz c7a23ab5bd don't crash when pulse exec deletes itself during startup timer 2013-12-15 17:03:38 -05:00
Mike Blumenkrantz 39cf0a5a1b try connecting to pulse on a timer after it gets started in case it's a slow startup 2013-12-15 10:13:37 -05:00
Mike Blumenkrantz bccda8e7b3 try running start-pulseaudio-x11 from mixer 2013-12-15 08:56:52 -05:00
Carsten Haitzler 9da3c339ba mixer - address duplicate bindings for the same action with timeout
use time logging to not allow actions within a small window of time
from eachother. this fixes T620 - or should.
2013-12-10 18:48:20 +09:00
Jérémy Zurcher ac094ed72a mixer: add option disable_pulseaudio
- checkbox in module config
  - default to false
  - if set, do not start pulseaudio even if available
2013-12-06 09:52:15 +01:00
Jérémy Zurcher be68dc962e mixer: load module config in e_modapi_init(), same as others 2013-12-06 09:50:39 +01:00
Mike Blumenkrantz fc9e8865cf only try to start pulseaudio once 2013-11-30 16:37:27 -05:00
Mike Blumenkrantz dc63fb0a0c remove some eldbus stragglers from pulse mixer 2013-11-30 11:16:20 -05:00
Mike Blumenkrantz 8c1f521738 fix pulse mixer startup
dbus starting this is the wrong way to go I guess, e_exec is much simpler

fix T410 just in time for release!
2013-11-30 11:11:30 -05:00
Jérémy Zurcher 1a2865abec mixer: gadget conf set card name when none 2013-09-26 16:50:54 +02:00
Igor Murzov 519c4de7f6 Revert "updating desktop files"
This reverts commit 22f7a34e23.
2013-09-04 04:11:13 +04:00
maxerba 22f7a34e23 updating desktop files 2013-07-31 12:08:42 +02:00
maxerba b7ba1dea64 Adding serbian localization in desktop files 2013-07-08 13:33:29 +02:00
maxerba 26303bbe1f Fixed sorting in desktop files 2013-07-05 19:02:53 +02:00
maxerba 5deed35ac2 adding catalan translation and sorting lines alphabetically 2013-06-05 00:16:38 +02:00
Carsten Haitzler 6ce67eca01 ensure pa autho info is 0'd out so valgrind doesnt complain about reading uninitialized data. 2013-05-23 21:39:33 +09:00
discomfitor c34a28707f e_popup_autoclose() now also allows a delete function to replace normal popup deletion 2013-05-18 19:39:52 +01:00
Lucas De Marchi f8a2dd4d95 Rename edbus->eldbus 2013-04-23 12:37:43 -03:00
Jérémy Zurcher 21be5a7e61 mixer: factorize popup&gadget balance&volume code 2013-04-23 15:03:21 +02:00
Jérémy Zurcher c24bdf66df mixer: prevent mem leak and let default card setup on empty module
config
2013-04-23 10:57:28 +02:00
Carsten Haitzler 1bd06b4a8d oops - didnt fix pa RIGHT... now its fixed - detects pa native socket
properly if its an XDG_RUNTIME dir.
2013-04-22 00:31:22 +09:00
Carsten Haitzler 2a7a3a557f e17 mixer - use XDG_RUNTIME_DIR for finding pulse... and have more
generous fallbacks.
2013-04-21 00:42:34 +09:00
Carsten Haitzler 0985de0051 if inst->channel is null... dont segv at least in mixer. 2013-04-21 00:17:12 +09:00
Jérémy Zurcher 3f34680b7a reprotect _mixer_popup_key_down_cb
/me still asleep, it's better like this
2013-03-30 10:14:45 +01:00
Jérémy Zurcher cf2ef255c4 fix _e_popup_autoclose_key_down_cb
- uses autoclose_popup->key_data as autoclose_popup->key_cb data
  key_data is provided at cb registration through e_popup_autoclose(…)
- re-enable _mixer_popup_key_down_cb
2013-03-30 10:07:05 +01:00
Carsten Haitzler 8fc839e9c8 mixer key control broken .. to the point it segs now. :) patch over
seg. :)
2013-03-29 19:24:22 +09:00
Jérémy Zurcher 46230e204c mixer: cleanup card and channel selection code path
_populate_channel_editor:
   use app->sys_card_name instead of
e_mod_mixer_card_name_get _populate_channels:
   select default channel or first one
_create_cards:
   do not reselect card and channel
e_mixer_app_dialog_select:
   cleanup, remove unused _find_card_by_name and _find_channel_by_name
_mixer_popup_cb_mixer:
   do not modifiy current selection on popup
2013-03-06 16:05:20 +01:00
Jérémy Zurcher 01e98a4534 mixer: remove unused mixer functions
remove e_mod_mixer_channel_name_get, e_mixer_xxxx_get_channel_name e_mixer_xxxx_set_state
2013-03-06 16:05:20 +01:00
Jérémy Zurcher 6ef3c743ef mixer: use channel capabilities in alsa subsystem
use capabilities bitmap to more precisely target the right alsa calls
2013-03-06 16:05:20 +01:00
Jérémy Zurcher cadd6ca38f mixer: remove e_mod_mixer_mutable_get and e_mod_mixer_capture_get
it's handled by channel capabilities
2013-03-06 16:05:20 +01:00
Jérémy Zurcher 00681f3ada mixer: take advantage of Channel capabilities bitmap
split channels list into 4 groups:
   Playback, Capture, Switch, Boost
nicely disable volume sliders and mute check when appropriate
2013-03-06 16:05:20 +01:00
Jérémy Zurcher b34e7b440d mixer: replace E_Mixer_Channel_Info has_capture with capabilities
capabilities is a bitmap with the following defined bits:
   E_MIXER_CHANNEL_CAN_MUTE       0x01
   E_MIXER_CHANNEL_IS_MONO        0x02
   E_MIXER_CHANNEL_HAS_CAPTURE    0x04
   E_MIXER_CHANNEL_HAS_PLAYBACK   0x08
2013-03-06 16:05:19 +01:00
Jérémy Zurcher 330490ad85 mixer: add const to immutable params of mixer api
strengthen mixer's api
2013-03-06 16:05:19 +01:00
Jérémy Zurcher d75622c33c mixer: use E_Mixer_Channel_Info as subsystem fct param
E_Mixer_Channel is only used within audio subsystems
e_mod_mixer_channel_info_get_by_name returns a E_Mixer_Channel_Info
use e_mod_mixer_channel_info_free to free a single channel_info
2013-03-06 16:05:19 +01:00
Jérémy Zurcher ab7edf7ff6 mixer: fix grammar
a farm of pigs is a pig farm, says my irish wife;
info should stay singular but for better understanding, use plural
2013-03-06 16:05:19 +01:00
Jérémy Zurcher 146e3d3643 mixer: add missing _e_mixer_dummy_set calls to sys_dummy 2013-03-06 16:05:19 +01:00
Jérémy Zurcher 488904c95d mixer: factorise get/free card names
e_mod_mixer_card_names_free in e_mod_mixer.c is used
to free Eina_List build by e_mod_mixer_card_names_get
2013-03-06 16:05:19 +01:00
Jérémy Zurcher 640b339a80 mixer: factorise get/free channels info and names
E_Mixer_Channel_Info allocated in subsystems,
then freed in generic functions in e_mod_mixer.c
2013-03-06 16:05:19 +01:00
Jérémy Zurcher 03b9522b04 mixer: replace struct channel_info with E_Mixer_Channel_Info
E_Mixer_Channel_Info is defined in e_mod_mixer.h
subsystems will allocte it returning Eina_List
generic functions in e_mod_mixer will free the structs
2013-03-06 16:05:19 +01:00
Jérémy Zurcher a67cc20580 mixer: replace e_mod_system.h with e_mod_mixer.hc
provide a neat mixer api, easier to upgrade
2013-03-06 16:05:19 +01:00
Jérémy Zurcher 55ef1af90a mixer: pulse use const eina_stringshare as channel name
neat as done in sys_dummy
2013-03-06 16:05:19 +01:00
Mike Blumenkrantz f36ecd9d3d giant comp rejiggering commit #2: popups are now objects drawn directly onto the compositor canvas with no xwindows of their own
* added a number of new e_comp functions and macros

* options for disabling effects on objects: this option does not currently have any effect

* all modules which used gadcon popups have been adjusted

* all modules which used input windows to detect close events for gadcon popups have been adjusted to use new popup autoclose functionality

* shelves are now always drawn on the compositor canvas, meaning objects will never get clipped by the shelf (ticket #1810)

* shelves no longer have an event object

SVN revision: 84060
2013-02-18 13:43:47 +00:00
Carsten Haitzler cb2b350872 revert mixer back to a working state -> rev 83903
SVN revision: 84013
2013-02-17 03:31:45 +00:00
Jérémy Zurcher 8425ee72ef e_mixer: cleanup mixer card and channel selection code path
SVN revision: 83959
2013-02-15 16:53:04 +00:00
Jérémy Zurcher 37ea5886c1 e_mixer: remove unused e_mod_mixer_channel_name_get from mixer API and comment subsys code
SVN revision: 83921
2013-02-14 20:28:40 +00:00
Jérémy Zurcher 577019db54 e_mixer: volume,mute,state set/get use channel info and capabilities
SVN revision: 83920
2013-02-14 20:28:37 +00:00
Jérémy Zurcher f71970173d e_mixer: simplify alsa:_mixer_channel_capabilities
SVN revision: 83919
2013-02-14 20:28:34 +00:00
Jérémy Zurcher e648742e2d e_mixer: ui uses e_mod_mixer_channel_is_mono
SVN revision: 83918
2013-02-14 20:28:31 +00:00
Jérémy Zurcher 0c42626d89 e_mixer: use macro for capabilities queries
SVN revision: 83917
2013-02-14 20:28:28 +00:00
Jérémy Zurcher 856cbf6aea e_mixer: add E_MIXER_CHANNEL_IS_MONO capability
SVN revision: 83916
2013-02-14 20:28:26 +00:00
Jérémy Zurcher 3ea4b1c083 e_mixer: use channel capabilities to group them
groups in order : Playback Capture Switch Boost

SVN revision: 83915
2013-02-14 20:28:23 +00:00
Jérémy Zurcher d80eb52a35 e_mixer: replace has_capture with capabilities bit map
xx_can_mute and xx_has_capture fuctions can disapear
 !?! e_slider_disabled_set does not work !?!

SVN revision: 83914
2013-02-14 20:28:20 +00:00
Jérémy Zurcher 4085613b1d e_mixer: channel_get_by_name returns a E_Mixer_Channel_Info
this opens the gates to capabilities bit map stored in E_Mixer_Channel_Info

SVN revision: 83913
2013-02-14 20:28:17 +00:00
Jérémy Zurcher e6a3b56bda e_mixer: fix grammar
a farm of pigs is a pig farm, says my irish wife;
info should stay singular but for better understanding I use plural

SVN revision: 83912
2013-02-14 20:28:14 +00:00
Jérémy Zurcher 9605b2e435 e_mixer: factorise get/free card names
SVN revision: 83911
2013-02-14 20:28:10 +00:00
Jérémy Zurcher 1986e5ea3f e_mixer: add missing _e_mixer_dummy_set() calls to sys_dummy
SVN revision: 83910
2013-02-14 20:28:08 +00:00
Jérémy Zurcher 12598ab50c e_mixer: factorise get/free channels info and names
SVN revision: 83909
2013-02-14 20:28:05 +00:00
Jérémy Zurcher 1bb5a7b531 e_mixer: set pulse ready and update callbacks through e_mixer_pulse_init parameters
SVN revision: 83908
2013-02-14 20:28:02 +00:00
Jérémy Zurcher 8c1d5a2146 e_mixer: extract mixer API into e_mod_mixer
SVN revision: 83907
2013-02-14 20:27:59 +00:00
Jérémy Zurcher 8d86519b5e e_mixer: rename alsa functions e_mixer_system_ to e_mixer_alsa_
SVN revision: 83906
2013-02-14 20:27:56 +00:00
Jérémy Zurcher 301b7915bd e_mixer: pulse use static stringshare for channel name
SVN revision: 83905
2013-02-14 20:27:54 +00:00
Jérémy Zurcher 5507123053 e_mixer: struct channel_info becomes E_Mixer_Channel_Info defined in e_mod_system.h
SVN revision: 83904
2013-02-14 20:27:51 +00:00
Jérémy Zurcher fbf6de511a e_mixer: remove spaces
SVN revision: 83903
2013-02-14 20:27:46 +00:00
Mike Blumenkrantz c48fd0b06d giant commit that wipes all bindi^W^W^Wsplits out binding configs into a separate config domain so they can be more easily copied and so they won't be wiped in the event that primary config is wiped
also splits all binding lists out of e_config: they are now conveniently located in the global "e_bindings" struct


SVN revision: 83544
2013-02-01 10:21:54 +00:00
Carsten Haitzler a7049f3c0f how about we dont make pulse stop working? yes - the unlikely leak
fix.. made it stop :(



SVN revision: 83201
2013-01-24 06:31:08 +00:00
Mike Blumenkrantz 8d018a4375 fix extremely unlikely pulse mixer leak
SVN revision: 83145
2013-01-23 10:12:05 +00:00
Chidambar Zinnoury f0eb778f50 e mixer and battery modules: reuse notifications.
SVN revision: 82931
2013-01-17 10:47:53 +00:00
Lucas De Marchi a37c6ca20f e: follow edbus change about unref'ing messages after send
Don't unref the messages after calling edbus_*_send() since edbus
automatically unrefs them. It was also impressive the number of places
that were not unrefing the message when they should.



SVN revision: 82808
2013-01-15 14:34:50 +00:00
Jérémy Zurcher 61ec906486 e: e_mixer_system_has_capture checks for capture switch||volume
SVN revision: 82697
2013-01-12 13:12:58 +00:00
José Roberto de Souza d9955d5739 e: Use internal client notification API
Modules:
 - notification
 - battery
 - mixer

Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 82122
2013-01-03 22:08:24 +00:00
José Roberto de Souza 2f5703e370 e: Port mixer to edbus
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 82015
2013-01-02 20:38:30 +00:00
Carsten Haitzler d1e6b587f8 mixer settings -> resizable++
SVN revision: 81776
2012-12-28 02:41:53 +00:00
Mike Blumenkrantz 0f01a6b279 in a move which will make me tremendously unpopular, config versioning has been changed from hex to dec across the whole tree, including helper functions and modules
PS. HAHAHAHAHAHAHAHA


SVN revision: 81624
2012-12-21 23:57:05 +00:00
Jérémy Zurcher 016b953ce5 From: Jérémy Zurcher <jeremy@asynk.ch>
Subject: [E-devel] mixer module segv patch

- prevent segv while playing with controls when a card with empty
channel list is selected (ie webcam)



SVN revision: 81506
2012-12-21 04:48:18 +00:00
Carsten Haitzler fec11b1b7d sorry jeremy - back out your patch. mier more broken than before.
SVN revision: 81382
2012-12-19 15:57:56 +00:00
Mike Blumenkrantz b49ee6c857 I suppose we probably shouldn't leak pulse mixer sources after getting them
SVN revision: 81337
2012-12-19 09:41:59 +00:00
Jérémy Zurcher 4ad440dd44 From: Jérémy Zurcher <jeremy@asynk.ch>
Subject: [E-devel] mixer module alsa input and mono patch

- fixes the input channel detection
- if channel is mono force right to 0, disable right slider and lock
- add missing dummy implementation of e_mixer_system_is_mono
 


SVN revision: 81317
2012-12-19 01:30:15 +00:00
Massimo Maiurana 2a774dd533 updating esperanto translations
SVN revision: 81195
2012-12-17 23:42:23 +00:00
Massimo Maiurana 9f1d6e067e Store and handle action names correctly. (patch from Igor Murzov)
SVN revision: 81049
2012-12-16 16:58:17 +00:00
Mike Blumenkrantz 926ee6f360 pulse_recv() no longer has the most confusing return of any function, also only prevent event list from building, not sinks (we need them!)
SVN revision: 80925
2012-12-14 09:38:59 +00:00
Mike Blumenkrantz 6c68615ca3 better fix for mixer buffer overflow, copy to epulse
SVN revision: 80919
2012-12-14 09:03:34 +00:00
Mike Blumenkrantz cc694477f6 better fix for mixer pointer
SVN revision: 80918
2012-12-14 08:39:15 +00:00
Cedric BAIL dda71fa2ff e: revert r80871.
This commit make E go crazy and use 100% all time. Reading the code,
we do check the returned value, but discard it without looking at it
in many case. A proper review of that piece of code to fix potential
memory leak and avoid reusing dead pointer would be a must.


SVN revision: 80915
2012-12-14 06:59:29 +00:00
Mike Blumenkrantz 8c4457aed4 don't leak event infos when no cb is set for pulse events
SVN revision: 80873
2012-12-13 14:51:00 +00:00
Mike Blumenkrantz f243a81f94 another leak on failure
SVN revision: 80872
2012-12-13 14:46:15 +00:00
Mike Blumenkrantz 6f981cc6a5 NULL variable after freeing
SVN revision: 80871
2012-12-13 14:44:55 +00:00
Mike Blumenkrantz 1eb2f32879 buffer overflow in pulse
SVN revision: 80870
2012-12-13 14:44:11 +00:00
Mike Blumenkrantz 8e45282ad3 fix mixer crash on disconnect
SVN revision: 80590
2012-12-10 10:20:47 +00:00
Massimo Maiurana 96fac26f2f Mark some strings for translation. (patch from Igor Murzov)
SVN revision: 80551
2012-12-09 14:39:30 +00:00
Mike Blumenkrantz 083aa780a9 yet another pulse overhaul:
* remove BAD_CH_MAPPING nonsense (fixes volume setting bugs since whoever added it broke them in doing so)
* queue successive volume state changes to avoid overloading the server; apply queue periodically
* update mixer gadget on timer after update events so we don't get insane amounts of mixer slider updates


SVN revision: 80438
2012-12-07 11:28:24 +00:00
Cedric BAIL 267e1a5234 e: another leaked fd after exec that will be correctly killed.
SVN revision: 80430
2012-12-07 10:32:49 +00:00
Carsten Haitzler 74a7442e32 lets try null out alsa mixer to avoid bad freed internal self usage.
SVN revision: 80425
2012-12-07 09:41:29 +00:00
Mike Blumenkrantz f0326c5a5c only set volume for pulse channel if volume is actually different from current channel value
SVN revision: 80422
2012-12-07 09:16:26 +00:00
Mike Blumenkrantz 492149b388 don't update popup if popup doesn't exist
SVN revision: 80421
2012-12-07 09:16:01 +00:00
Mike Blumenkrantz 94d451f1ac when using pulseaudio, mixer gadget doesn't need to manually update
SVN revision: 80419
2012-12-07 08:59:42 +00:00
Cedric BAIL d8b8ba3be4 e: fix build on Solaris 11.
Patch by Robert David <robert.david.public@gmail.com>.


SVN revision: 80204
2012-12-05 02:23:00 +00:00
Mike Blumenkrantz 1b76509002 muting volume no longer causes volume to change
SVN revision: 80151
2012-12-04 12:56:08 +00:00
Mike Blumenkrantz 64371a3aed fix error with pulse volume calculations which prevented volume from reaching 100%
SVN revision: 80150
2012-12-04 12:55:48 +00:00
Mike Blumenkrantz 40acb52ead after 5 pulse disconnects, delete and retry to see if socket changed
SVN revision: 80137
2012-12-04 09:05:13 +00:00
Mike Blumenkrantz 68e6b07cd7 all dialogs are no longer resizable
SVN revision: 80032
2012-12-03 09:24:12 +00:00
Vincent Torri 688aa066a1 E17: define htonl correctly
SVN revision: 79960
2012-12-01 07:19:18 +00:00
Mike Blumenkrantz c6a9c34e7f giant header overhaul which removes all the stupid one line function prototype headers and e_mod_main.h headers that contain nothing but unnecessary module api prototypes
SVN revision: 79908
2012-11-30 14:38:34 +00:00
Mike Blumenkrantz 5b0d598091 only set mixer volume if we've truly saved mixer volume, prvents mixer being muted every time wizard is run
SVN revision: 79889
2012-11-30 12:55:47 +00:00
Mike Blumenkrantz a7cea557ee fix some pulse shutdown magic fails
SVN revision: 79874
2012-11-30 08:49:31 +00:00
Massimo Maiurana 8314c3b95c updating various translations
SVN revision: 79519
2012-11-21 19:45:32 +00:00
Mike Blumenkrantz a3a8cc827c ensure pulse mixer always disconnects when requested
SVN revision: 79292
2012-11-14 12:33:52 +00:00
Mike Blumenkrantz ea545a4eda probably fix bug where mixer bindings would fail to be added again after refreshing a gadget
ticket #1774


SVN revision: 79271
2012-11-14 09:05:00 +00:00
Mike Blumenkrantz 37e893bc15 change pulse reconnect mechanism to always just try and reconnect on a timer
ticket #1742


SVN revision: 79151
2012-11-12 11:44:59 +00:00
Carsten Haitzler f534e30089 put lucas's makefiles back.. but what do you do to make it not break
between builds from older vs newer makefile setup?



SVN revision: 79024
2012-11-09 14:49:05 +00:00
Carsten Haitzler 5fa813e1cc lucas... u're going to hate me... but i'm reverting this whole lot of
module build chnages because its fundamentally broken. it DOES NOT
PRODUCE .SO FILES. just .la and .a files. the only reason u dont
notice is.. you ALREADY had .so's installed. i just got in from the
airport... synced and updated.. rebuilt and was met with all modules
not loading... literally - no .so's are installed int he module dirs.
try rm -rf the instaleld module tree.

regardless... this has to be reverted be3cause it's a major break. the
idea is right/nice. the implementation is causing... problems.



SVN revision: 79015
2012-11-09 10:45:35 +00:00
Lucas De Marchi 0000e87ffc e/modules: delete old Makefile.am's
SVN revision: 78983
2012-11-07 21:50:53 +00:00
Lucas De Marchi 92eee9068a e: use AM_CPPFLAGS instead of INCLUDES
Get rid of warnings like below with recent automake (1.11 and newer):
src/bin/Makefile.am:6: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
src/bin/Makefile.am: installing './depcomp'
src/modules/access/Makefile.am:11: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')



SVN revision: 78720
2012-10-31 20:40:40 +00:00
Mike Blumenkrantz 2914212ff2 pulse mixer no longer runs its init function constantly and should allow the slider to become much more responsive/accurate. also implement volume saving per gadget
ticket #1697


SVN revision: 78702
2012-10-31 11:23:26 +00:00
Mike Blumenkrantz d31a31eb6f don't need to update pulse mixer gadgets when we're just checking default sink, also ensure that pulse_ready is always called
SVN revision: 78701
2012-10-31 11:21:42 +00:00
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