pulse-server: move sample playing into pending-sample.c

This commit is contained in:
Barnabás Pőcze 2023-05-06 01:23:11 +02:00 committed by Wim Taymans
parent 20d00e1092
commit e37da42632
3 changed files with 92 additions and 83 deletions

View file

@ -11,6 +11,8 @@
#include <spa/utils/hook.h>
struct client;
struct pw_properties;
struct sample;
struct sample_play;
struct pending_sample {
@ -23,6 +25,7 @@ struct pending_sample {
unsigned done:1;
};
int pending_sample_new(struct client *client, struct sample *sample, struct pw_properties *props, uint32_t tag);
void pending_sample_free(struct pending_sample *ps);
#endif /* PULSE_SERVER_PENDING_SAMPLE_H */