Commit Graph

199 Commits

Author SHA1 Message Date
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