mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 21:21:12 +00:00
1865c87ec6
lc3enc: - encodes raw audio into lc3 format - uses the default bitrate property and frame duration from the caps to determine the byte count of the encoded frames if it is not specified in the downstream caps after negotiation - uses the same byte count value for all the channels - all the common session configuration parameters are passed in the src caps lc3dec: - decodes an lc3 encoded audio - sink caps should contain all the common session configuration params - uses frame_duration and frame_bytes (byte count) in the sink caps as parameters along with sample rate and channel count - byte count is same for all the channels Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4376>
20 lines
474 B
Meson
20 lines
474 B
Meson
lc3_sources = [
|
|
'lc3-plugin.c',
|
|
'gstlc3dec.c',
|
|
'gstlc3enc.c',
|
|
]
|
|
|
|
lc3_dep = dependency('liblc3', required:get_option ('lc3'))
|
|
|
|
if lc3_dep.found()
|
|
gstlc3 = library('gstlc3',
|
|
lc3_sources,
|
|
c_args: gst_plugins_bad_args,
|
|
include_directories: [configinc],
|
|
dependencies: [gstaudio_dep, lc3_dep],
|
|
install: true,
|
|
install_dir: plugins_install_dir,
|
|
)
|
|
pkgconfig.generate(gstlc3, install_dir: plugins_pkgconfig_install_dir)
|
|
plugins += [gstlc3]
|
|
endif
|