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

Commit 233354b2 authored by Tomoharu Kasahara's avatar Tomoharu Kasahara
Browse files

Add samplerate and bitspersample keys

Add samplerate and bitspersample to KeyMap.

Bug: 118999942
Test: put wav contents then check media db

Change-Id: I1f3fb6a155e147641f62314721a55ef95f84f682
parent b8fd364d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -135,6 +135,8 @@ MediaScanResult StagefrightMediaScanner::processFileInternal(
        { "colorstandard", METADATA_KEY_COLOR_STANDARD },
        { "colortransfer", METADATA_KEY_COLOR_TRANSFER },
        { "colorrange", METADATA_KEY_COLOR_RANGE },
        { "samplerate", METADATA_KEY_SAMPLERATE },
        { "bitspersample", METADATA_KEY_BITS_PER_SAMPLE },
    };
    static const size_t kNumEntries = sizeof(kKeyMap) / sizeof(kKeyMap[0]);