Commit graph

17 commits

Author SHA1 Message Date
Linus Svensson
7d8e2d53f7 daemon-conf: Add conf file parsing
Support to parse configuration files. By default, the default conf file
is parsed ({sysconfdir}/pinos/pinos.conf), but that can be changed with
an environment variable (PINOS_CONFIG_FILE). The file can contain
commands and assignments (no assignment supported this far).

Support for command module-load is added.
2016-08-29 18:31:08 +02:00
Wim Taymans
4cf6860752 cleanups
Remove old files
Use set/unset macros to change properties
2016-08-29 10:54:43 +02:00
Wim Taymans
a03352353f work on sink 2016-08-18 12:43:25 +02:00
Wim Taymans
ac5d22ec79 Work on negotiation
Add helpers to convert between pinos and gstreamer formats.
Use pinos formats in the API.
Work on removing some hardcoded stuff and instead use the real format
from the pinos server.
Use memfd and sealing.
2016-08-05 16:39:26 +02:00
Wim Taymans
3c029cba53 more hacking
Move plugin API to separate directory for now
Add ringbuffer and way to get ringbuffer from a port
2016-07-25 10:50:05 +02:00
Wim Taymans
b8f6e99537 Add plugin API
Add plugin api, define a factory and methods for introspecting
interfaces.
2016-07-25 10:47:22 +02:00
Wim Taymans
6377b9bd12 event: add PULL_INPUT event
Rename some events, add an explicit event to pull input
2016-07-25 10:47:22 +02:00
Wim Taymans
82420e483d cleanups: doc updates 2016-07-25 10:47:22 +02:00
Wim Taymans
613216613e remove some printf, add some more debug 2016-07-25 10:47:22 +02:00
Wim Taymans
4b2520d173 Split out header files
Use separate header files
Add pull-based alsasink
Add audiotestsrc
Implement negotiation and scheduling of audiotestsrc ! alsasink
2016-07-25 10:47:22 +02:00
Wim Taymans
03046301bf spi: implement processing
Implement processing with writing to provided buffer or in-place
Fix types.
Add more PortInfo flags
Remove release-id, we now use a callback, which is more practical and
still allows deallocation out of the rt-threads if needed as well as
recycling the buffers into an atomic pool
Add more comments
Allow NULL in set_params to reset params
2016-07-25 10:47:22 +02:00
Wim Taymans
b44d2d86b6 pinos: add new plugin API
Experiment with new plugin API that is designed for speed, minimal
allocations and locking, for use with real-time scheduling.
2016-07-25 10:47:22 +02:00
David Svensson Fors
5ae6da69e6 test-client: don't unref format in on_state_notify
possible_formats is transfer full for pinos_stream_connect().
2016-05-26 13:26:19 +02:00
Wim Taymans
89f8f41045 remove READY state on context
Now that we don't need to register anymore to the daemon we can just
remove this state.
2016-05-19 11:29:11 +02:00
Wim Taymans
ba4ef9b5d9 Introduce the concept of a Port
A port is an input or output on a Node.
Channels are created from the ports and inherit the direction of the
port.
do automatic port selection based on the direction and caps and
node/port name.
Simplify stream_connect by passing the direction.
Fix pinossink to connect in setcaps so that we know the format and can
select a good sink to connect to.
2016-05-06 13:01:52 +02:00
Wim Taymans
7597e48e02 source-output -> channel
Rename the source-output object to channel because it is used for both
input and output.
Start the beginnings of sink support. This will make it possible to make
pinos consume data as well as provide data.
2016-05-03 18:00:56 +02:00
Wim Taymans
cdb2028f9b src -> pinos and fix include paths
Rename src to pinos and fix all the include paths so that they contain
pinos/ to avoid conflicts
2016-02-01 15:40:48 +01:00