Commit Graph

30 Commits

Author SHA1 Message Date
Mike Blumenkrantz 471dcb24cb __UNUSED__ -> EINA_UNUSED
this has been bugging me forever. __UNUSED__ is no longer a valid macro here.
2015-03-18 18:09:09 -04: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 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 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
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 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 8c1d5a2146 e_mixer: extract mixer API into e_mod_mixer
SVN revision: 83907
2013-02-14 20:27:59 +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
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 65719dfb4d fix weird mixer crash that was annoying the dh
SVN revision: 76295
2012-09-07 10:46:46 +00:00
Mike Blumenkrantz f1c170da5a formatting
SVN revision: 75664
2012-08-24 13:57:22 +00:00
Mike Blumenkrantz 575bb23dfb shut up mixer warnings
SVN revision: 71842
2012-06-08 10:23:49 +00:00
Andreas Volz ea29023652 currently for e.g. ubuntu the mixer module won't work as it uses pulseaudio as mixer
-> this needs to be implemented
-> as short "solution" I changed the default text from "dummy" to "No ALSA mixer found!"
  -> this gives the user at least a useful error message


SVN revision: 40149
2009-04-17 20:16:56 +00:00
Andreas Volz c88ec0590b the mixer module was completly inconsistent formated!
-> used "astyle -s3" to format it
-> NO CODE CHANGES!


SVN revision: 40148
2009-04-17 20:13:17 +00:00
Cedric BAIL c979b3f9d5 * e_widget_ilist_add now expect a stringshare.
SVN revision: 39447
2009-03-11 15:13:42 +00:00
Cedric BAIL 1087de2397 Remove Evas list and replace them with Eina list.
No change for ->next and ->data access right now, as the patch is already
big enough.



SVN revision: 36962
2008-10-22 11:49:33 +00:00
Gustavo Sverzut Barbieri c28047e3a1 Add mixer module.
This is the mixer modules as in:

      git://staff.get-e.org/users/barbieri/e_module-mixer.git

it's being used with ALSA backend for some time without problems and
it's ready for inclusion. We still lack OSS4 engine.


SVN revision: 35282
2008-08-01 03:08:16 +00:00