mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
parent
43e2c64307
commit
4496c33751
6 changed files with 59 additions and 38 deletions
|
|
@ -35,6 +35,7 @@
|
|||
#include <pipewire/private.h>
|
||||
|
||||
#include "format.h"
|
||||
#include "volume.h"
|
||||
|
||||
struct defs {
|
||||
struct spa_fraction min_req;
|
||||
|
|
@ -123,15 +124,6 @@ struct buffer_attr {
|
|||
uint32_t fragsize;
|
||||
};
|
||||
|
||||
struct volume {
|
||||
uint8_t channels;
|
||||
float values[CHANNELS_MAX];
|
||||
};
|
||||
|
||||
#define VOLUME_INIT (struct volume) { \
|
||||
.channels = 0, \
|
||||
}
|
||||
|
||||
struct stream {
|
||||
uint32_t create_tag;
|
||||
uint32_t channel; /* index in map */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue