Commit graph

3050 commits

Author SHA1 Message Date
Wim Taymans
9805c2f413 stream: add DONT_RECONNECT flag 2018-12-05 16:01:42 +01:00
Wim Taymans
4d780e87aa client-stream: activate peaks resampler when monitoring 2018-12-05 16:00:52 +01:00
Wim Taymans
5fcbbb4d6b media-session: keep track of profile format
Also keep track of the profile format of a node, this is the profile we
choose for it and what we should use as a profile for the peer node.
2018-12-05 15:59:45 +01:00
Wim Taymans
11a3370f12 merger: add some more debug 2018-12-05 15:59:22 +01:00
Wim Taymans
5fa7e0f3eb resample: add peaks resampler 2018-12-05 15:58:55 +01:00
Wim Taymans
e7462c470e channelmix: handle more conversion to mono 2018-12-05 15:54:07 +01:00
Wim Taymans
bf1c927087 alsa: reset queued and free buffers on start
When we are out of buffers, drop the available samples.
2018-12-05 11:23:30 +01:00
Wim Taymans
f0244f659c submodule update 2018-12-04 16:37:24 +01:00
Wim Taymans
ece9cff495 introspect: implement kill operations 2018-12-04 16:36:49 +01:00
Wim Taymans
bb101afa0c introspect: merge client properties in sink_input/source_output
sink_input and source_output must contain the merged properties of
the client.
2018-12-04 16:34:58 +01:00
Wim Taymans
e0970386f0 context: add properties 2018-12-04 16:33:59 +01:00
Wim Taymans
bdc97ae140 client-stream: fix cleanup
first let the client-stream node cleanup and then destroy our
client-node.
2018-12-04 16:20:57 +01:00
Wim Taymans
2d4ecaf85d introspect: use right client property 2018-12-04 13:38:58 +01:00
Wim Taymans
1efd5f185c proplist: implement merge mode 2018-12-04 13:38:46 +01:00
Wim Taymans
53c2eb2625 stream: clear queued items when clearing buffers 2018-12-04 13:36:37 +01:00
Wim Taymans
84a7bf671c stream: connect to source and sink
Stream: also connect to the right source, try to convert the name to
index when lookup fails, just like what pulseaudio does.
Implement more proplist functions, add some more info to the stream.
stream: handle NULL format
Improve introspection of the sink_input and source_output name, this
should be the media.name when possible.
2018-12-04 11:50:23 +01:00
Wim Taymans
dd28116f12 stream: set node name to stream name 2018-12-04 11:35:21 +01:00
Wim Taymans
3cdd52832e properties: add _clear function 2018-12-04 11:34:59 +01:00
Wim Taymans
e6c023cd34 properties: don't add NULL values 2018-12-04 11:34:30 +01:00
Wim Taymans
26958eabaa pipewire: add DISPLAY 2018-12-04 11:33:43 +01:00
Wim Taymans
ee307e9c48 port: also set buffers when 0 2018-12-03 17:59:57 +01:00
Wim Taymans
4e7af5644b alsa: set period size to something larger
Setting a small period size will also result in a small buffer, on some
cards smaller than what we can deal with right now.
2018-12-03 15:56:53 +01:00
Wim Taymans
ad723e3793 context: log more info on errors 2018-12-03 15:12:27 +01:00
Wim Taymans
d6836d89ee alsa: stop try writing samples when no progress 2018-11-30 17:52:48 +01:00
Wim Taymans
c5f5f1d94b alsa-device: remember current profile 2018-11-30 17:52:23 +01:00
Wim Taymans
7091ad340d video-play: check valid metadata 2018-11-30 15:53:31 +01:00
Wim Taymans
39078f2abc meta: use spa_point and spa_rectangle
Change Cursor and Bitmap to what the work branch uses
2018-11-30 15:49:58 +01:00
Wim Taymans
537399bbe5 video-play: handle arbitrary cursor sizes
video-play: only allocate the texture when we know the size and
format of the cursor bitmap.
video-src: make cursor size defined with constants.
2018-11-30 15:31:55 +01:00
Wim Taymans
ac5f0b851d meta: add cursor metadata and examples
Add a moving and flashing circle cursor to video-src
Render the cursor in video-play
Alsa add VideoCrop metadata
2018-11-30 15:12:46 +01:00
Wim Taymans
8205486554 video-play: handle arbitrary cursor sizes
video-play: only allocate the texture when we know the size and
format of the cursor bitmap.
video-src: make cursor size defined with constants.
2018-11-30 12:09:31 +01:00
Wim Taymans
218fd081df meta: define invalid cursor metadata 2018-11-30 12:08:53 +01:00
Wim Taymans
cd53eca92b meta: add cursor metadata and examples
Add a moving and flashing circle cursor to video-src
Render the cursor in video-play
2018-11-30 11:07:45 +01:00
Wim Taymans
c982f73779 remote: send start command before adding the source 2018-11-29 17:48:26 +01:00
Wim Taymans
67e6a66429 remote: pause with invoke 2018-11-29 17:31:47 +01:00
Wim Taymans
2864e7ec75 introspect: improve introspection
Update introspection structures when we get the info from pipewire.
2018-11-29 17:30:24 +01:00
Wim Taymans
bf344a86e5 alsa: add on and off profiles 2018-11-29 15:24:13 +01:00
Wim Taymans
354bb042e2 alsa: retry _avail after xrun
..or else we pretend all is fine and end up with no available samples
to read in an infinite loop.
2018-11-29 15:19:33 +01:00
Wim Taymans
a195700eac node: also suspend node on destroy 2018-11-29 15:16:00 +01:00
Wim Taymans
cb2b1fb3ff handle enum_param errors on port, node and device 2018-11-29 15:15:06 +01:00
Wim Taymans
dfc464413b stream: set proxy to NULL in disconnect
The proxy is NULL while disconnected, handle this case.
2018-11-28 17:34:53 +01:00
Wim Taymans
20bcbbde78 node: handle errors from enum_param 2018-11-28 17:34:34 +01:00
Wim Taymans
6e66456381 device: implement param introspection 2018-11-28 17:34:16 +01:00
Wim Taymans
4810d91c58 media-session: use direction to derive CATEGORY
Try to use the stream direction to figure out the CATEGORY when missing.
Add some more debug
2018-11-28 17:32:35 +01:00
Wim Taymans
54f527ac02 introspect: remove ENUM_PARAM change
Remove the ENUM_PARAM change bit, we want to do this with a specific
event later that would allow us to specify which params changed etc.
2018-11-28 17:31:00 +01:00
Wim Taymans
d02a8375c3 introspect: implement more introspect 2018-11-28 13:38:37 +01:00
Wim Taymans
7c54b4b89c audio-dsp: improve properties 2018-11-28 13:24:33 +01:00
Wim Taymans
0c9dc75cb3 alsa: cleanup 2018-11-28 12:27:17 +01:00
Wim Taymans
5d30b31cec properties: add _update method and use it
Remove old unused _merge method
2018-11-28 12:22:41 +01:00
Wim Taymans
59d77818d6 device: improve properties and info 2018-11-28 12:21:58 +01:00
Wim Taymans
cff8ce8e99 media-session: set device name 2018-11-28 12:21:19 +01:00