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
Lucas De Marchi
f8a2dd4d95
Rename edbus->eldbus
2013-04-23 12:37:43 -03: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
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
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
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
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
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
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
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
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
301b7915bd
e_mixer: pulse use static stringshare for channel name
...
SVN revision: 83905
2013-02-14 20:27:54 +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
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
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
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
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
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
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
a7cea557ee
fix some pulse shutdown magic fails
...
SVN revision: 79874
2012-11-30 08:49:31 +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
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
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
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
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
f1c170da5a
formatting
...
SVN revision: 75664
2012-08-24 13:57:22 +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
0cdcee490e
add poller for pulseaudio init
...
SVN revision: 67484
2012-01-24 08:31:23 +00:00
Mike Blumenkrantz
697ecb9e59
add debug message for throttling
...
SVN revision: 65362
2011-11-18 05:05:40 +00:00
Mike Blumenkrantz
4173f556d6
add timestamp printf for pulse disconnection debugging
...
SVN revision: 65273
2011-11-15 16:26:21 +00:00
Mike Blumenkrantz
986ff1bdd5
another unused var
...
SVN revision: 64910
2011-11-07 23:35:57 +00:00
Mike Blumenkrantz
eb623c407e
actually start dbus stuff c/o cedric
...
SVN revision: 64870
2011-11-07 15:56:48 +00:00
Mike Blumenkrantz
aaf189f7fc
fix typo in debug output
...
SVN revision: 64645
2011-11-02 14:15:40 +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