mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
Fix some -Wenum-conversion errors
Make pw_direction and spa_direction the same Explicitly cast some enums or use the right enums
This commit is contained in:
parent
6937ec5e63
commit
a5b0553328
6 changed files with 8 additions and 9 deletions
|
|
@ -559,7 +559,7 @@ static void source_callback(struct source_data *d)
|
|||
pa_source_info i;
|
||||
pa_format_info ii[1];
|
||||
pa_format_info *ip[1];
|
||||
enum pa_sink_flags flags;
|
||||
enum pa_source_flags flags;
|
||||
|
||||
flags = PA_SOURCE_LATENCY | PA_SOURCE_DYNAMIC_LATENCY |
|
||||
PA_SOURCE_DECIBEL_VOLUME;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue