2016-08-12 15:26:31 +00:00
|
|
|
alsa_sources = [
|
|
|
|
'gstalsa.c',
|
2018-08-31 21:33:43 +00:00
|
|
|
'gstalsadeviceprovider.c',
|
2016-08-12 15:26:31 +00:00
|
|
|
'gstalsamidisrc.c',
|
2020-10-16 12:35:04 +00:00
|
|
|
'gstalsaelement.c',
|
2016-08-12 15:26:31 +00:00
|
|
|
'gstalsaplugin.c',
|
|
|
|
'gstalsasink.c',
|
|
|
|
'gstalsasrc.c',
|
|
|
|
]
|
|
|
|
|
2018-07-25 02:05:05 +00:00
|
|
|
alsa_dep = dependency('alsa', version : '>=0.9.1', required : get_option('alsa'))
|
2016-08-12 15:26:31 +00:00
|
|
|
|
|
|
|
if alsa_dep.found()
|
|
|
|
gstalsa = library('gstalsa',
|
|
|
|
alsa_sources,
|
|
|
|
c_args : gst_plugins_base_args,
|
|
|
|
include_directories: [configinc, libsinc],
|
2022-03-25 19:00:20 +00:00
|
|
|
dependencies : [alsa_dep, audio_dep, tag_dep, gst_dep, gst_base_dep],
|
2016-08-12 15:26:31 +00:00
|
|
|
install : true,
|
|
|
|
install_dir : plugins_install_dir,
|
|
|
|
)
|
2018-04-24 18:05:57 +00:00
|
|
|
pkgconfig.generate(gstalsa, install_dir : plugins_pkgconfig_install_dir)
|
2018-10-22 06:17:24 +00:00
|
|
|
plugins += [gstalsa]
|
2016-08-12 15:26:31 +00:00
|
|
|
endif
|