mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
Remove some hardcoded channel number values
Mostly related to the number of channels.
This commit is contained in:
parent
5cfd461ba2
commit
722776cf65
5 changed files with 8 additions and 6 deletions
|
|
@ -17,6 +17,7 @@ extern "C" {
|
|||
#include <spa/support/plugin.h>
|
||||
#include <spa/monitor/device.h>
|
||||
#include <spa/utils/hook.h>
|
||||
#include <spa/param/audio/raw.h>
|
||||
|
||||
#include <dbus/dbus.h>
|
||||
|
||||
|
|
@ -655,7 +656,7 @@ struct spa_bt_transport {
|
|||
struct spa_list bap_transport_linked;
|
||||
|
||||
uint32_t n_channels;
|
||||
uint32_t channels[64];
|
||||
uint32_t channels[SPA_AUDIO_MAX_CHANNELS];
|
||||
|
||||
struct spa_bt_transport_volume volumes[SPA_BT_VOLUME_ID_TERM];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue