mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-04-30 06:46:49 -04:00
module-avb: Introduce changes in the mechanisms how the stream are
built: * es_builder: create stream with state variables and counters * acmp: do not use the stream list, go through the descriptor to find the index * stream: do not store redundant information such as the index and descriptor * internal: removing the stream server and function associated to it module-avb: internal, stream: removing server_find_stream
This commit is contained in:
parent
546dafa0b0
commit
875dd91bc2
6 changed files with 120 additions and 55 deletions
|
|
@ -24,8 +24,6 @@ struct stream {
|
|||
struct server *server;
|
||||
|
||||
uint16_t direction;
|
||||
uint16_t index;
|
||||
const struct descriptor *desc;
|
||||
uint64_t id;
|
||||
uint64_t peer_id;
|
||||
|
||||
|
|
@ -73,12 +71,12 @@ struct stream {
|
|||
#include "mvrp.h"
|
||||
#include "maap.h"
|
||||
|
||||
struct stream *server_create_stream(struct server *server,
|
||||
struct stream *server_create_stream(struct server *server, struct stream *stream,
|
||||
enum spa_direction direction, uint16_t index);
|
||||
|
||||
void stream_destroy(struct stream *stream);
|
||||
|
||||
int stream_activate(struct stream *stream, uint64_t now);
|
||||
int stream_activate(struct stream *stream, uint16_t index, uint64_t now);
|
||||
int stream_deactivate(struct stream *stream, uint64_t now);
|
||||
|
||||
#endif /* AVB_STREAM_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue