[alsa-devel] dma buffer format
Takashi,
I am now working on a surround sound driver for the first time. I am confused by the packed format of dma buffer. If the channel number is 6, is the buffer filled with data as
front left, front right, rear left, rear right, center, LFE
or
front left, rear left, center, front right, rear left, LFE?
Thanks,
York
At Mon, 16 Feb 2009 16:21:59 -0600, York Sun wrote:
Takashi,
I am now working on a surround sound driver for the first time. I am confused by the packed format of dma buffer. If the channel number is 6, is the buffer filled with data as
front left, front right, rear left, rear right, center, LFE
or
front left, rear left, center, front right, rear left, LFE?
It's supposed to be FL/FR/RL/RR/C/LFE. That's so to be consitent with 4 channels (just cut the last two channels).
Takashi
On Mon, 2009-02-16 at 23:26 +0100, Takashi Iwai wrote:
At Mon, 16 Feb 2009 16:21:59 -0600, York Sun wrote:
Takashi,
I am now working on a surround sound driver for the first time. I am confused by the packed format of dma buffer. If the channel number is 6, is the buffer filled with data as
front left, front right, rear left, rear right, center, LFE
or
front left, rear left, center, front right, rear left, LFE?
It's supposed to be FL/FR/RL/RR/C/LFE. That's so to be consitent with 4 channels (just cut the last two channels).
Thanks for the quick reply. I am curious if it is the only format supported, or can it be customized?
York
At Mon, 16 Feb 2009 16:57:10 -0600, York Sun wrote:
On Mon, 2009-02-16 at 23:26 +0100, Takashi Iwai wrote:
At Mon, 16 Feb 2009 16:21:59 -0600, York Sun wrote:
Takashi,
I am now working on a surround sound driver for the first time. I am confused by the packed format of dma buffer. If the channel number is 6, is the buffer filled with data as
front left, front right, rear left, rear right, center, LFE
or
front left, rear left, center, front right, rear left, LFE?
It's supposed to be FL/FR/RL/RR/C/LFE. That's so to be consitent with 4 channels (just cut the last two channels).
Thanks for the quick reply. I am curious if it is the only format supported, or can it be customized?
As of now, it's fixed. API to inform / change the channel mapping is under consideration...
Takashi
participants (2)
-
Takashi Iwai
-
York Sun