Michele
-
Content Count
4 -
Joined
-
Last visited
Posts posted by Michele
-
-
1 hour ago, Rollo62 said:I had the same thought when reading this.
In my app I can use TMediaPlayer to play files without blocking, even several TMediaPlayer could play in parallel
You could try to decouple the "Play" method, to ensure that the Memo is forced update first.
If that still delays the display, then probably something is blocking somewhere else.
memo.Lines.Add('blablabla'); MediaPlayer1.FileName := System.IOUtils.TPath.Combine(TPath.GetDocumentsPath, 'a.mp3'); //playing an internal resource TThread.ForceQueue( nil, procedure begin MediaPlayer1.Play; end );
Great!!!!!!!!!!!!!!
This works perfectly!
Many many thanks!!!!!!!!!!!!
-
Hi there!
I'm facing a quite off problem...
On a very easy Android/Delphi App i've a tmemo, a tbutton and a tmediaplayer.
On the OnClick of the button i do this:
memo.Lines.Add('blablabla');
MediaPlayer1.FileName := System.IOUtils.TPath.Combine(TPath.GetDocumentsPath, 'a.mp3'); //playing an internal resource
MediaPlayer1.Play;
The problem is that "blablabla" is written on the memo only after Mediaplayer finishes playing the file...very very odd!
Any ideas?
I'm using Delphi 10.3 Community Edition
-
Hi!
Can someone confirm that styles are not applyed on tlistview? (seems a bug to me...all other controls are styled ok using stylebook).
It remains white.
Any suggestion?
[Android] Odd problem with TMediaplayer
in FMX
Posted
Sure, as soon as i have a little bit more time to investigare!
Thank you!