Skip to contentSkip to conversation

dma buffer format

DISCUSSION York Sun 2 participants 4 messages Feb 16, 2009

lore
Share & tools
lore

York Sun

author
#0 lore raw

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

#1 lore raw

At Mon, 16 Feb 2009 16:21:59 -0600,

Quoted 7 lines · York Sun

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

Quoted 5 lines

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

author
#2 lore raw
Quoted 11 lines · Takashi Iwai

At Mon, 16 Feb 2009 16:21:59 -0600,

Quoted 9 lines · York Sun

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

Quoted 8 lines
Quoted 3 lines

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

#3 lore raw

At Mon, 16 Feb 2009 16:57:10 -0600,

Quoted 15 lines · York Sun
Quoted 13 lines · Takashi Iwai

At Mon, 16 Feb 2009 16:21:59 -0600,

Quoted 11 lines · York Sun

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

Quoted 8 lines
Quoted 6 lines
Quoted 1 line

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