Pauli Virtanen
978dbff32f
doc: fix some doxygen warnings
2024-01-29 08:50:32 +00:00
Thomas Weißschuh
4034e8f3c5
spa: mark constant parameters as such
...
The info parameter is never modified, communicate this to users.
This align format-utils.h with latency-utils.h.
2024-01-20 19:12:03 +01:00
Ashok Sidipotu
dcec2e785e
audioconvert: add a invalid value for scale
...
The invalid value here is zero, this will help avoid inadvertant parameter
updates and brings this on par with rest of the volume ramp parameters
2023-04-03 19:04:55 +00:00
Ashok Sidipotu
8bfafaeca2
audioconvert: add support of volume ramp scale parameter
...
- Add support for Linear and Cubic volume scales
- Also start treating a "zero" value of volume ramp parameters as invalid
2023-04-03 19:04:55 +00:00
Wim Taymans
345582dd15
module-rtp: add opus encoding
2023-03-12 18:40:36 +01:00
Barnabás Pőcze
934ab3036e
treewide: use SPDX tags to specify copyright information
...
SPDX tags make the licensing information easy to understand and clear,
and they are machine parseable.
See https://spdx.dev for more information.
2023-02-16 10:54:48 +00:00
Sanchayan Maity
6a034cc398
Add support for ALSA compressed offload
...
See
https://docs.kernel.org/sound/designs/compress-offload.html
https://github.com/alsa-project/tinycompress
2023-01-24 08:44:14 +00:00
Carlos Rafael Giani
f3914e494c
spa: Add ENCODED audio format to compressed format builder results
...
WirePlumber checks for the ENCODED audio format to determine if the
format is compressed/encoded. Without this info, it is not able
to automatically link compressed audio nodes.
2023-01-24 08:44:14 +00:00
Wim Taymans
b66b9f70c4
spa: add APE format
2023-01-24 08:44:14 +00:00
Wim Taymans
e535d4c6c4
spa: add FLAC format
2023-01-24 08:44:14 +00:00
Wim Taymans
efbce802e4
spa: add ALAC format
2023-01-24 08:44:14 +00:00
Wim Taymans
603c28223b
spa: add AMR type
2023-01-24 08:44:14 +00:00
Wim Taymans
de5015c77b
spa: add Real Audio format
2023-01-24 08:44:14 +00:00
Wim Taymans
6c962d8258
spa: add WMA type
2023-01-24 08:44:14 +00:00
Wim Taymans
d24b3f29b2
spa: add vorbis type
2023-01-24 08:44:14 +00:00
Wim Taymans
2ac8a3f4e2
spa: add AAC format
2023-01-24 08:44:14 +00:00
Wim Taymans
844a3d8534
spa: add mp3 type
2023-01-24 08:44:14 +00:00
Arun Raghavan
134a20c3c5
spa: Minor documentation copy-pasto fix
2023-01-18 16:59:05 +00:00
Wim Taymans
7072f2b78a
spa: fix switch on media_subtype
2023-01-13 17:39:33 +01:00
Wim Taymans
9a580362a7
spa: fix includes
2023-01-13 11:41:38 +01:00
Wim Taymans
00ae289a14
spa: reorganize params
...
Split files into separate files.
Move type annotations to a matching -types.h files.
Move helpers to matching -utils.h files.
Add helpers to parse generic audio and video info.
2023-01-13 11:02:51 +01:00
Wim Taymans
44d743ed95
spa: make all format parsing fields optional
...
Just like the optional build, make all field parsing optional. This
will leave the fields with their default values if they are not parsed
from the param.
We can then remove our custom functions and use the generic ones in
various places.
2022-11-03 13:13:07 +01:00
Demi Marie Obenour
671a7102ff
Fix some badly-behaved macros
...
Some macros evaluated their arguments more than once when it was not
needed, or were missing parentheses.
2022-09-23 11:39:33 -04:00
Lucas Holt
6a15a02ec2
Add support for MidnightBSD
...
Fix build issue
Fix build issue
2022-06-19 18:22:47 +00:00
Wim Taymans
67dc97fa43
alsa: add audio.allowed-rates param
...
Add a construct and runtime param to limit the amount of allowed
samplerates used by the node.
Fixes #1932
2022-01-03 16:03:23 +01:00
Björn Daase
cf38b7bdc4
fix codespell issues
2021-10-07 15:26:18 +00:00
Wim Taymans
d1484a6556
spa: fix layout defines
...
Fixes #1637
2021-09-23 09:58:36 +02:00
Wim Taymans
0ec77ab09c
dsd: show rate in bytes per seconds.
2021-09-21 12:25:42 +02:00
Wim Taymans
af6e887077
spa: add interleave DSD param
...
And make alsa report the interleaving.
2021-09-21 10:50:45 +02:00
Wim Taymans
43b27002eb
tools: add beginnings of DSD player
2021-09-21 10:50:44 +02:00
Wim Taymans
c0d3349849
spa: add DSD format definitions
2021-09-21 10:50:44 +02:00
Wim Taymans
5feb88575c
spa: add helpers to parse and create iec958 formats
2021-08-23 11:31:52 +02:00
Wim Taymans
8147772cf5
spa: add definitions for IEC958 (S/PDIF)
...
Add Format subtype and codec property.
Add codecs to include in the format codec property.
Add property to configure elements with supported codecs.
Add type info.
2021-08-23 11:31:52 +02:00
Wim Taymans
49c1c0386f
pw-cat: fix raw read
...
raw read needs bytes, so use the stride to calculate it from frames.
Move ulaw/alaw to packed formats.
2021-08-17 17:56:31 +02:00
Wim Taymans
d0d7f2f20b
spa: add alaw and ulaw defines
...
Add alaw and ulaw as raw formats.
2021-08-17 17:31:03 +02:00
Wim Taymans
1ad54e8a26
spa: add 64 AUX channels
...
Make 64 AUX channels instead of using the CUSTOM range for them.
2021-07-21 11:25:43 +02:00
Peter Hutterer
07533cb708
spa: group the spa headers into doxygen modules
...
Subdirectories buffer, control, debug, monitor, pod, support and utils, others
are still missing. Headers are grouped either per subdirectory (e.g. buffer/
gets added to group spa_buffer) or per-file (e.g. spa_json is a separate
group), whatever seemed like the most sensible approach.
2021-05-26 07:44:55 +00:00
George Kiagiadakis
bc1f9d304f
audioconvert: handle S8/S8P raw audio formats
2021-05-05 08:56:59 +03:00
Wim Taymans
8251dc11cc
spa: add type mappings for F32 and F32OE
...
so that we can refer to the native float32 format with F32 and the
other endian one with F32OE.
2021-04-09 11:38:54 +02:00
Wim Taymans
339927ac76
spa: allow variable format, rate, channels, size, framerate
...
Use 0 values to skip adding the values to the format param, which
leaves them variable.
2021-04-01 09:58:08 +02:00
Wim Taymans
7768a87a0b
alsa: make it possible to fix format
2020-12-09 20:33:57 +01:00
Wim Taymans
57886c1198
spa: add audio.position support in null sink
2020-12-02 12:59:50 +01:00
Wim Taymans
1bf6dead10
alsa: add option to force a samplerate
2020-09-16 15:14:26 +02:00
Wim Taymans
8168dfdbc1
alsa-pcm: allow setting number of channels
...
Allow passing the number of channels when creating a device to
restrict the negotiated channels.
2020-07-01 12:54:27 +02:00
Martin Koch
cee1a26be6
build: skip unsupported compiler option
...
-Wimplicit-fallthrough for gcc version before 7.x
Signed-off-by: Martin Koch <martin.koch@ese.de>
2020-05-13 08:11:30 +00:00
Wim Taymans
8abbf653e6
pw-cat: Use default channel layout when nothing given
...
Make channel layout definitions a little more useful. We can now
assign them to a layout_info struct or in the raw_info.
Make some default channel layouts for use in pw-cat
2020-02-04 15:54:57 +01:00
Wim Taymans
852ac043d3
Use the DSP format for dsp formats
...
Use the DSP media subtype to describe DSP formats. DSP formats
don't include the rate, channels and channel position in the
format and must use the rate and duration from the position io. This
makes it possible to later change the samplerate dynamically without
having to renegotiate the graph.
The same goes for the video DSP format, which uses the io_video_size
from the io_position to get the size/stride. Set this up in the node
based on the defaults from the context.
Make it possible to define defaults in the daemon config file, such
as samplerate, quantum, video size and framerate. This is stored in
the context and used for the DSP formats.
2020-01-09 15:18:59 +01:00
Gleb Popov
aec64336fe
Do not try to include endian.h on FreeBSD.
2019-11-19 13:41:40 +01:00
Wim Taymans
6e0ffb0c47
flags: change flag macros
...
SPA_FLAG_CHECK -> SPA_FLAG_IS_SET
SPA_FLAG_UNSET -> SPA_FLAG_CLEAR
Add SPA_FLAG_UPDATE
2019-10-02 18:00:42 +02:00
Wim Taymans
a1ec7f5fa7
pod: add helper function to copy array values
2019-08-12 15:14:39 +02:00