mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05: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
|
|
@ -320,7 +320,7 @@ static void rtp_opus_process_capture(void *data)
|
|||
static int rtp_opus_init(struct impl *impl, enum spa_direction direction)
|
||||
{
|
||||
int err;
|
||||
unsigned char mapping[64];
|
||||
unsigned char mapping[SPA_AUDIO_MAX_CHANNELS];
|
||||
uint32_t i;
|
||||
|
||||
if (impl->psamples >= 2880)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue