Stores selected audio output mixer name and channels (mono/stereo) to

system properties so settings are loaded on startup.
This commit is contained in:
denny
2016-01-23 14:28:21 -05:00
parent c922029233
commit f5fadc5004
2 changed files with 69 additions and 10 deletions

View File

@@ -23,6 +23,14 @@ public class MixerChannelConfiguration
return mMixerChannel;
}
public boolean matches( String mixer, String channels )
{
return mixer != null &&
channels != null &&
mMixer.getMixerInfo().getName().contentEquals( mixer ) &&
mMixerChannel.name().contentEquals( channels );
}
public String toString()
{
StringBuilder sb = new StringBuilder();