17 Dec
2010
17 Dec
'10
10:37 p.m.
On Fri, Dec 17, 2010 at 07:39:40PM +0200, Jarkko Nikula wrote:
This is targeted mostly to cross-device setups where single audio map defining routes around and between the codecs looks cleaner than defining and registering maps to each codec separately from machine init callbacks.
This could be also used to reduce simple machine init callbacks where only snd_soc_dapm_add_routes and snd_soc_dapm_sync are called. However, this does work only if the widgets names are unique in the system.
Idea of common audio map came from Peter Ujfalusi peter.ujfalusi@nokia.com.
Good idea. We should probably just do this for CODECs as well, they're often doing similar boiler plate type stuff.