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

Commit 97aedf37 authored by Arne Coucheron's avatar Arne Coucheron Committed by Steve Kondik
Browse files

libmedia: Add ICS AudioStreamType constructor

Needed for Samsung legacy camera libs.

Change-Id: If03d8525b55181ea20dc934dbcbfef85402c42c7
parent a7fe73be
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -952,4 +952,11 @@ status_t MediaPlayer::resume() {
    return OK;
}

#ifdef SAMSUNG_CAMERA_LEGACY
extern "C" int _ZN7android11MediaPlayer18setAudioStreamTypeE19audio_stream_type_t();
extern "C" int _ZN7android11MediaPlayer18setAudioStreamTypeEi() {
    return _ZN7android11MediaPlayer18setAudioStreamTypeE19audio_stream_type_t();
}
#endif

}; // namespace android