HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux ip-172-31-42-149 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 07:00:04 UTC 2025 aarch64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //usr/share/doc/libasound2-plugins/upmix.txt
UPMIX PLUGIN
============

The upmix plugin is an easy-to-use plugin for upmixing to 4 or
6-channel stream.  The number of channels to be expanded is determined
by the slave PCM or explicitly via channel option.  For example, the
following PCM defines upmixing to 5.1 from 1-6 channels input:

	pcm.upmix51 {
		type upmix
		slave.pcm "surround51"
	}

You can use this PCM as a default one by defining below:

	pcm.!default "plug:upmix51"

The upmix plugin copies left and right channels to rear left and right
with a certain delay.  The delay size can be specified by "delay" PCM
option in msec.  For example, to set 10ms delay in the above case:

	pcm.upmix51 {
		type upmix
		slave.pcm "surround51"
		delay 10
	}

As default, 15ms delay is used.

The channel option specifies the number of channels of output.  Either
4 or 6 channels are supported.  When 0 is passed, the plugin tries 4
or 6 channels appropriately suitable for the slave pcm.  The channel
option is useful if the slave PCM has no strict input condition (like
plug or route plugin).

	pcm.myupmix {
		type upmix
		slave.pcm "something"
		channels 6
	}

The center and LFE channels are the average of sum of left and right
signals.

The accepted format is currently only S16.