Rockbox mail archiveSubject: Question about audiohw_set_xxx_vol
Question about audiohw_set_xxx_vol
From: Christian Gmeiner <christian.gmeiner_at_gmail.com>
Date: Wed, 2 Jul 2008 07:52:52 +0000
as the term at university is over I have some time to work more on
#if CONFIG_CODEC == MAS3507D
#elif defined(HAVE_TLV320) || defined(HAVE_WM8978) || defined(HAVE_WM8985)
My goal is it to get rid of it... but there are - I think - two ways to do it.
1) Introduce an #define in each audio driver header... something like
Then I would use audiohw_set_volume in sound.c
2) Extend the current audiohw api with methods like
and use master for setting volume for headphones and lineout for
How do we want to handle lineout? Do we really need it?
I would go for 2), as it seems for me the cleanest solution.
Page was last modified "Jan 10 2012" The Rockbox Crew