Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fc02f71b authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "AudioSystem: no error log for virtual source conversion to stream" am:...

Merge "AudioSystem: no error log for virtual source conversion to stream" am: 0287b5bf am: bc63ac79

Change-Id: I54708c8e104e41b2b37a653ee5d87046a29bc8ba
parents c0c259c8 bc63ac79
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -1491,7 +1491,14 @@ audio_stream_type_t AudioSystem::attributesToStreamType(const audio_attributes_t
            }
        }
    }
    switch (attr.usage) {
        case AUDIO_USAGE_VIRTUAL_SOURCE:
            // virtual source is not expected to have an associated product strategy
            break;
        default:
            ALOGE("invalid attributes %s when converting to stream",  toString(attr).c_str());
            break;
    }
    return AUDIO_STREAM_MUSIC;
}