All of lore.kernel.org
 help / color / mirror / Atom feed
* BAT: why MAX_NUMBER_OF_CHANNELS and CHANNEL_MAX separate?
@ 2015-10-20 15:36 Caleb Crome
  2015-10-20 15:41 ` Liam Girdwood
  0 siblings, 1 reply; 6+ messages in thread
From: Caleb Crome @ 2015-10-20 15:36 UTC (permalink / raw)
  To: Lu, Han
  Cc: Takashi Iwai, Gautier, Bernard, alsa-devel@alsa-project.org,
	liam.r.girdwood

Hi,
   I'm starting to bring up BAT on my board to see if it's going to work for me.

I'm starting from https://github.com/hanlui/bat, is that the correct
place to start from?

I'm bringing up a 16 channel board, so need BAT to support more
channels (currently it supports only 2).

bat/include/common.h has the following defines:

#define MAX_NUMBER_OF_CHANNELS          2
#define CHANNEL_MAX                     2
#define CHANNEL_MIN                     1

Is there any reason we need both MAX_NUMBER_OF_CHANNELS and
CHANNEL_MAX?  They sure seem like they can be merged to me.

Once I get the program up and running, I'll add the ramp test, and
start thinking about the other tests we talked about.

Thanks,
 -Caleb

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-10-20 18:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-20 15:36 BAT: why MAX_NUMBER_OF_CHANNELS and CHANNEL_MAX separate? Caleb Crome
2015-10-20 15:41 ` Liam Girdwood
2015-10-20 15:48   ` Takashi Iwai
2015-10-20 17:39     ` Caleb Crome
2015-10-20 18:01       ` Takashi Iwai
2015-10-20 18:41         ` Caleb Crome

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.