[PATCH] Up max channels to 64 for MADI cards etc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2017-01-17 at 19:53 -0800, Klaus Badelt wrote:
> ---
>  src/pulse/sample.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/pulse/sample.h b/src/pulse/sample.h
> index 4299eec..613c3e8 100644
> --- a/src/pulse/sample.h
> +++ b/src/pulse/sample.h
> @@ -125,7 +125,7 @@ PA_C_DECL_BEGIN
>  #endif
>  
>  /** Maximum number of allowed channels */
> -#define PA_CHANNELS_MAX 32U
> +#define PA_CHANNELS_MAX 64U

Unfortunately, we can't change the PA_CHANNEL_MAX value. It affects the
size of the pa_channel_map and pa_cvolume structs, and applications
break if the size of those structs changes. If 32 channels is not
enough, some other approach is needed. Without knowing the details of
your problem I'm not able to suggest anything. Adding new APIs that
support 64 channels would be one possibility, but that would require
quite a lot of work.

-- 
Tanu

https://www.patreon.com/tanuk


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux