You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Non-MMAP streams don't have the idea of a sharing mode. We should check this only for exclusive streams
protected String whyShouldTestBeSkipped() {
String why = "";
StreamConfiguration requestedInConfig = mAudioInputTester.requestedConfiguration;
StreamConfiguration requestedOutConfig = mAudioOutTester.requestedConfiguration;
StreamConfiguration actualInConfig = mAudioInputTester.actualConfiguration;
StreamConfiguration actualOutConfig = mAudioOutTester.actualConfiguration;
// No point running the test if we don't get any of the sharing modes we requested.
if (actualInConfig.getSharingMode() != requestedInConfig.getSharingMode()
&& actualOutConfig.getSharingMode() != requestedOutConfig.getSharingMode()) {
log("Did not get requested sharing mode.");
why += "share,";
}