Julian Bouzas
9b2d34c04b
audioadapter: store format on set_param and use it as a filter when negotiating
2019-10-29 22:44:24 +01:00
Wim Taymans
d94019ccd2
io: Add current video frame size to position
...
Add some padding, tweak some padding
Remove count in the clock, it's useless
For video frames we will want to use metadata to place
this on individual buffers.
2019-10-29 14:08:40 +01:00
Wim Taymans
f7d32e78f2
pod: remove SPA_POD_IS_OBJECT_TYPE
...
We have a safer version of that in iter.h
Use macros to get id and type of an object
Use safer checks in plugins.
2019-10-29 10:08:46 +01:00
Wim Taymans
241a6165d2
jack: also add rate to format
2019-10-28 22:02:10 +01:00
Wim Taymans
4f5a5fc917
vulkan: tag port as video DSP port
2019-10-28 13:20:42 +01:00
Wim Taymans
121586cfae
fix build
2019-10-25 15:56:20 +02:00
Wim Taymans
8d512822cf
fix the build
2019-10-25 15:54:42 +02:00
Wim Taymans
9ffec214b8
fix includes
2019-10-25 15:01:02 +02:00
Wim Taymans
af73585948
Increase max buffer size
2019-10-24 15:26:59 +02:00
Wim Taymans
81fc595e3d
add defines for max buffer size
2019-10-24 12:51:34 +02:00
Wim Taymans
f30b4bf506
alsa-seq; remove latency property
2019-10-24 12:48:28 +02:00
Wim Taymans
2fa97daa24
add some constants for max samples
2019-10-24 12:35:00 +02:00
Wim Taymans
605a0a6f97
jack: increase max buffer size
2019-10-24 12:21:17 +02:00
Wim Taymans
3c9aa2e96c
fmt: add sse2 optimized s32->f32d
2019-10-24 11:06:04 +02:00
Wim Taymans
38bc80a3b8
remote-node: implement suspend
2019-10-23 17:20:46 +02:00
Wim Taymans
9f4df5ee40
alsa: add some debug, tweak resync
2019-10-23 16:26:35 +02:00
Wim Taymans
5383782336
alsa: Disable rate matching for the same card
...
Add a clock name to the clock, remove the old api/clock_id. This makes
it easier to add descriptive names
Place the alsa card number in the clock name.
Check the clock name of the master clock and if it matches our own
clock, disable rate matching.
2019-10-23 16:04:03 +02:00
Wim Taymans
2ac8be4ac7
audioconvert: negotiate when starting
...
Don't try to negotiate from set_param and use_buffers, instead
negotiate when we Start and clear on Suspend.
2019-10-23 10:34:05 +02:00
Wim Taymans
0500454ac9
jack-device: improve device name
2019-10-23 10:33:42 +02:00
Wim Taymans
ff96165035
Improve debug
2019-10-22 13:06:20 +02:00
Wim Taymans
fa25900682
alsa-seq: fix for being a slave
2019-10-22 12:24:04 +02:00
Wim Taymans
e10a74785c
pcm: don't complain on Suspend
2019-10-22 12:20:29 +02:00
Wim Taymans
3aa19dd38a
node: send Suspend to the node
...
Send suspend to the node when suspending. This is usually the same
as puse for all nodes.
Implement negotiation when we Start audioadapter. This makes it
easier that to track the ports that are negotiated for now.
Use Suspend to clear the audioadapter negotiation.
2019-10-21 17:24:51 +02:00
Wim Taymans
b3d72fb82d
jack: improve properties
2019-10-21 16:37:52 +02:00
Wim Taymans
b284988755
jack: improve shutdown
2019-10-21 16:07:33 +02:00
Wim Taymans
116676e149
node: add active flag for rate match
...
Add flags to the rate match io area
Add flag to activate/deactivate rate match
Set active flag in rate match when slaved
Update rate before starting resample
2019-10-21 10:13:56 +02:00
Wim Taymans
f5b9862a89
alsa: tweak xrun recovery
...
Don't try to resync right after a xrun.
Init the dll after reslaving.
2019-10-18 22:53:02 +02:00
Wim Taymans
2e3608a34f
Improve some debug
2019-10-18 21:54:44 +02:00
Wim Taymans
92d5c179d6
tests: set the samplerate in the format
...
This works for now without a samplerate because we ignore it but
it might not in the future..
2019-10-18 21:51:07 +02:00
Wim Taymans
566640a21b
audioadapter: fix switch between master and slave
...
When we get worken up with a callback, mark ourselves as a master
because we then need to avoid running the converter again in the
process callback. After we perform the process callback, unmark
ourself as master and wait for the next cycle.
This fixes switch from master to slave for sources.
2019-10-18 21:47:37 +02:00
Wim Taymans
e2f6a7a34e
audiomixer: add AVX optimized mixer functions
2019-10-17 09:36:18 +02:00
Wim Taymans
d8eb7ce81f
audioconvert: fix avx flags
2019-10-17 09:35:24 +02:00
Wim Taymans
7798cf7364
core: improve alignment
...
Use the CPU alignment to align memory of allocated buffers. This makes
it more likely that all CPU optimizations can be done.
2019-10-17 09:34:27 +02:00
Wim Taymans
c8ffcaaefe
plugins: just check the data pointer
...
We don't need to look at the data type, we just just be happy when
the data pointer is filled in.
2019-10-16 12:23:42 +02:00
Wim Taymans
8899d00bfc
control: add control mixer plugin
...
Add a mixer plugin for control messages and plug it in ports with
control messages.
2019-10-16 11:13:23 +02:00
Wim Taymans
b37bf7e068
alsa-seq: ask for more data when consumed
2019-10-16 10:44:40 +02:00
Wim Taymans
9d842fb5eb
improve debug and error reporting
2019-10-08 22:33:31 +02:00
Wim Taymans
5693d72fcb
audioadapter: expose parameter in port_info
2019-10-03 16:23:23 +02:00
Wim Taymans
0ecbe4844e
mixer: Move floatmix to the audio mixer plugin
...
Move floatmix to the audiomixer plugin and change the name to
AUDIO_MIXER_DSP.
Add runtime selectable sse and sse2 optimizations.
Load the port mixer plugin dynamically based on the factory_name.
Add some more debug
2019-10-03 16:20:12 +02:00
Wim Taymans
27eabede35
volume: fix build
2019-10-03 09:38:41 +02:00
Wim Taymans
fb95e7660a
media-session: start the midi bridge from the session
2019-10-02 21:12:42 +02:00
Wim Taymans
0a6ad1adec
alsa: only emit PCM device when available
...
Only emit a PCM device if the device actually has one. Otherwise we
end up with a useless PCM device for a pure midi device.
2019-10-02 21:10:43 +02:00
Wim Taymans
93a2defbb8
alsa-seq: reset buffers
2019-10-02 18:02:40 +02:00
Wim Taymans
e04d58ee3a
Improve some debug
2019-10-02 18:02:07 +02: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
f59a43a4f0
v4l2: improve is_capture check
2019-10-01 10:13:42 +02:00
Wim Taymans
82ee139f65
spa: improve object properties
2019-10-01 10:04:22 +02:00
Wim Taymans
dc83c10c9a
media-session: add device reservation for alsa
...
Implement the device reservation DBus API.
When we acquire the device name, set our device profile to 'On'. This
adds our sources and sinks to the graph.
When we lose the name, switch back to 'Off' and remove our nodes
again.
Move the session mamager stuff in a directory.
Fixes #191
2019-09-30 21:51:46 +02:00
Wim Taymans
990ecd20c5
vulkan: handle older versions
...
Fixes #183
2019-09-27 10:53:36 +02:00
Wim Taymans
44840c4a55
alsa-seq: add some comments
2019-09-26 15:17:00 +02:00