Hi,

I am working on a plugin to upmix two channel stereo to 5.1. In order
for it to be usable, I would like to add proper multichannel support
to the core, but I have some questions about how it should be done.
First, it seems that when effects are added to the chain they are not
checked against the goal formats. For example, the alsa plugin only
reports support for one and two channel output, but my plugin has no
problem outputting six channels. A check should be added to ensure
that the last effect outputs a compatible format. Second, the alsa
plugin, and perhaps others, expects to receive a multiple of the frame
size at each write. Currently, the output thread writes a fixed 4096
bytes, which gives noise with 6 channel output. It works fine if I
change it to 6144 bytes, but this is not a clean solution in my
opinion. Maybe the output thread should calculate the size of some
number of frames depending on the output format and use that? What do
you think? Any other ideas or things I've missed?

Frank

--
_______________________________________________
Xmms2-devel mailing list
[email protected]
http://lists.xmms.se/cgi-bin/mailman/listinfo/xmms2-devel

Reply via email to