alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* Use more than 1 .c file for a single codec driver
@ 2013-11-08  5:32 Bard Liao
  2013-11-08 11:37 ` Daniel Mack
  0 siblings, 1 reply; 2+ messages in thread
From: Bard Liao @ 2013-11-08  5:32 UTC (permalink / raw)
  To: Mark Brown (broonie@linaro.org); +Cc: alsa-devel@alsa-project.org

Can we use more than one .c file for a codec driver?
There are some codecs with DSP function.
I want to know if I can separate the DSP part from other functions.
For example, rt5670.c/.h rt5670-dsp.c/.h for RT5670 codec driver.

Thanks.

Bard Liao

Computer Peripherals Business Unit
Realtek Semiconductor Corp.
886-3-578-0211 ext. 3334
bardliao@realtek.com

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

* Re: Use more than 1 .c file for a single codec driver
  2013-11-08  5:32 Use more than 1 .c file for a single codec driver Bard Liao
@ 2013-11-08 11:37 ` Daniel Mack
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Mack @ 2013-11-08 11:37 UTC (permalink / raw)
  To: Bard Liao; +Cc: alsa-devel@alsa-project.org, Mark Brown (broonie@linaro.org)

On Fri, Nov 08, 2013 at 01:32:55PM +0800, Bard Liao wrote:
> Can we use more than one .c file for a codec driver?
> There are some codecs with DSP function.
> I want to know if I can separate the DSP part from other functions.
> For example, rt5670.c/.h rt5670-dsp.c/.h for RT5670 codec driver.

Have a look at adau1701.c and sigmadsp.c, and at the Makefile of course.


Daniel

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

end of thread, other threads:[~2013-11-08 11:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-08  5:32 Use more than 1 .c file for a single codec driver Bard Liao
2013-11-08 11:37 ` Daniel Mack

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).