mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-25 06:59:54 -05:00
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:
parent
582cc1f098
commit
e0d7bfcea6
9 changed files with 1436 additions and 33 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue