mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-02-05 04:06:37 -05:00
spa: make it possible to change SPA_AUDIO_MAX_CHANNELS
Only define the symbol if not already defined. Avoids a warning becauswe wireplumber now recompiles with a custom MAX_CHANNELS.
This commit is contained in:
parent
fc171c8f35
commit
afdb3beff8
1 changed files with 4 additions and 0 deletions
|
|
@ -18,7 +18,11 @@ extern "C" {
|
|||
* \{
|
||||
*/
|
||||
|
||||
/* This is the max number of channels, changing this will change the
|
||||
* size of some helper structures. This value should be at least 64 */
|
||||
#ifndef SPA_AUDIO_MAX_CHANNELS
|
||||
#define SPA_AUDIO_MAX_CHANNELS 64u
|
||||
#endif
|
||||
|
||||
enum spa_audio_format {
|
||||
SPA_AUDIO_FORMAT_UNKNOWN,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue