mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-07 13:30:09 -05:00
channelmix: implement per channel volume
Implement per channel volume on channelmix. Extend control on stream to take an array of values when possible. Remove name argument from pw_node_new and pw_device_new. We can pass this as a property instead. Improve properties on nodes to more closely match what pulseaudio does. Don't let the monitor do too much with the udev properties but let the session manager set the description and icon-names. Remove some change_mask flags for things that don't change in introspect. Use the flags to mark changes in -cli and -monitor.
This commit is contained in:
parent
1c27f48992
commit
c6a7b3eedb
45 changed files with 737 additions and 367 deletions
|
|
@ -301,6 +301,8 @@ struct pw_device {
|
|||
struct pw_device_info info; /**< introspectable device info */
|
||||
struct spa_param_info params[MAX_PARAMS];
|
||||
|
||||
char *name; /**< device name for debug */
|
||||
|
||||
struct spa_device *device; /**< device implementation */
|
||||
struct spa_hook listener;
|
||||
struct spa_hook_list listener_list;
|
||||
|
|
@ -395,6 +397,8 @@ struct pw_node {
|
|||
struct pw_node_info info; /**< introspectable node info */
|
||||
struct spa_param_info params[MAX_PARAMS];
|
||||
|
||||
char *name; /** for debug */
|
||||
|
||||
uint32_t spa_flags;
|
||||
|
||||
unsigned int registered:1;
|
||||
|
|
@ -701,7 +705,7 @@ struct pw_remote {
|
|||
#define pw_stream_emit_remove_buffer(s,b) pw_stream_emit(s, remove_buffer, 0, b)
|
||||
#define pw_stream_emit_process(s) pw_stream_emit(s, process, 0)
|
||||
#define pw_stream_emit_drained(s) pw_stream_emit(s, drained,0)
|
||||
#define pw_stream_emit_control_changed(s,i,v) pw_stream_emit(s, control_changed, 0, i, v)
|
||||
#define pw_stream_emit_control_info(s,i,c) pw_stream_emit(s, control_info, 0, i, c)
|
||||
|
||||
|
||||
struct pw_stream {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue