mixer simple basic abstraction - added python binding

reasons:
- rapid development
- class-like code structure
- more readable code
features:
- hcontrol binding is managed from python (opportunity to create
  virtual mixer without driver or join multiple cards to behave as one)
This commit is contained in:
Jaroslav Kysela 2007-07-11 10:10:12 +02:00
parent 582cc1f098
commit e0d7bfcea6
9 changed files with 1436 additions and 33 deletions

View file

@ -1,4 +1,5 @@
pkglibdir = @ALSA_PLUGIN_DIR@/smixer
pythonlibs = @PYTHON_LIBS@
AM_CFLAGS = -g -O2 -W -Wall
@ -8,6 +9,10 @@ pkglib_LTLIBRARIES = smixer-sbase.la \
smixer-ac97.la \
smixer-hda.la
if BUILD_PYTHON
pkglib_LTLIBRARIES += smixer-python.la
endif
noinst_HEADERS = sbase.h
smixer_sbase_la_SOURCES = sbase.c
@ -21,3 +26,9 @@ smixer_ac97_la_LIBADD = ../../../src/libasound.la
smixer_hda_la_SOURCES = hda.c sbasedl.c
smixer_hda_la_LDFLAGS = -module -avoid-version
smixer_hda_la_LIBADD = ../../../src/libasound.la
if BUILD_PYTHON
smixer_python_la_SOURCES = python.c
smixer_python_la_LDFLAGS = -module -avoid-version $(pythonlibs)
smixer_python_la_LIBADD = ../../../src/libasound.la
endif