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

Commit 38e89953 authored by Mikhail Naganov's avatar Mikhail Naganov
Browse files

Add HwModule::getRoutes method

This complements an existing setter, and is needed
for testing.

Bug: 205808571
Test: atest HalAudioV6_0GeneratorTest
Test: atest HalAudioV7_0GeneratorTest
Test: atest VtsHalAudioV6_0TargetTest
Test: atest VtsHalAudioV7_0TargetTest
Change-Id: Iabe9d02be93dfee329e2a12f125fbe4d8b934105
parent 1f63950e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -80,6 +80,7 @@ public:

    sp<DeviceDescriptor> getRouteSinkDevice(const sp<AudioRoute> &route) const;
    DeviceVector getRouteSourceDevices(const sp<AudioRoute> &route) const;
    const AudioRouteVector& getRoutes() const { return mRoutes; }
    void setRoutes(const AudioRouteVector &routes);

    status_t addOutputProfile(const sp<IOProfile> &profile);