Commit Graph

44 Commits

Author SHA1 Message Date
Julian Winkler
542e6222b7 MediaCodec: add VP8 and VP9 codecs 2025-06-04 22:48:23 +02:00
Julian Winkler
e011092025 api-impl: misc APIs for WhatsApp media chooser Activities 2025-04-26 11:07:31 +02:00
Julian Winkler
7985381b60 implement MediaMetadataRetriever on top of MediaPlayer
also add MediaPlayer.getDuration() and MediaPlayer.getCurrentPosition()
2025-04-23 18:16:37 +02:00
Julian Winkler
8e40c13480 api-impl: add APIs for libGDX games 2025-04-09 13:01:13 +02:00
Mis012
74f2e9f308 MediaPlayer: implement using GtkMediaStream 2025-03-04 18:10:32 +01:00
Julian Winkler
1cf48085ff api-impl: add misc APIs needed for AntennaPod 2025-02-10 21:55:27 +01:00
Mis012
ab5b600bf1 run whitespace_format.py --add-new-line-marker-at-end-of-file --remove-trailing-whitespace --remove-trailing-empty-lines --new-line-marker=linux --normalize-non-standard-whitespace=remove on src/ 2025-02-05 16:27:17 +01:00
Julian Winkler
68e32eab45 MediaCodec: add mp3 and opus codecs 2025-01-26 22:27:19 +01:00
Julian Winkler
e9cf5e7002 API stubs and fixes for composeUI 2024-12-01 14:15:00 +00:00
Kilian "CaféHaine" Guillaume
44d922baea api-impl: stubs and fixes for Open Sudoku 2024-11-20 23:09:53 +01:00
Julian Winkler
da36ebea9a MadiaCodec: allow application to specify input buffer size
This is required for high resolution video playback
2024-11-06 23:32:40 +01:00
Julian Winkler
7c9a32d041 MediaCodec: release all output buffers on release
This prevents leaking video memory
2024-11-06 23:32:39 +01:00
Julian Winkler
bcdf3eb3ce add missing null pointer check in MediaCodec.release()
When the MediaCodec failed to initialize, the native_codec pointer can
be null and releasing it would cause a SEGFAULT in native code.
2024-10-22 18:05:09 +02:00
Julian Winkler
3d38ec9755 add Java APIs needed for WhatsApp settings 2024-10-03 15:57:44 +02:00
Julian Winkler
e3c0931714 prevent reference cycles between Java and native objects 2024-08-02 17:02:53 +02:00
Julian Winkler
29e5298178 MediaCodec: handle end-of-file properly 2024-07-31 18:21:14 +02:00
Julian Winkler
b54bed4784 implementing MediaSession using MPRIS
NotificationManager will now ignore MediaStyle notifications
2024-07-17 22:35:55 +02:00
Julian Winkler
bb50bbfa91 add lots of java APIs needed for Whatsapp 2024-06-16 08:45:31 +02:00
Julian Winkler
5454d9ed3c MediaCodec: throw IOException for unimplemented codecs
fixes SEGFAULT when libavcodec is built without aac decoder
2024-06-13 20:07:01 +02:00
Julian Winkler
ff3c103377 SoundPool: explicitly extract soundfile asset
With the recent changes assets are no longer extracted by default
2024-05-26 16:20:48 +02:00
Julian Winkler
415547a90d add ProgressBar.incrementProgressBy() and AudioManager.setStreamVolume() 2024-05-20 08:12:02 +02:00
Mis012
a99dfd80cc AudioTrack: fix getPlaybackHeadPosition and write
this fixes audio sync in exoplayer
2024-04-28 23:39:07 +02:00
Mis012
2802aaa28d api-impl: add stubs / simple stuff for OsmAnd
without native libs present, launches and renders white square
in map view; with native libs present, segfaults in bundled skia
2024-04-13 15:22:38 +02:00
Markuss Broks
4b2c1835f7 AudioManager: add a stub for isWiredHeadsetOn 2024-04-01 19:41:06 +00:00
Mis012
6443e3977c api-impl: quick&dirty implementations and stubing 2024-03-16 15:03:06 +01:00