BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TMediaPlay and Streams

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Multimedia
View previous topic :: View next topic  
Author Message
Mark A. Andrews
Guest





PostPosted: Thu Oct 26, 2006 2:08 am    Post subject: TMediaPlay and Streams Reply with quote



Is there anyway to get TMediaPlayer to play from and record to a TStream
(or descendent)?

Thanks,

Mark
Back to top
Thomas F. Gruenwald
Guest





PostPosted: Sat Oct 28, 2006 8:11 am    Post subject: Re: TMediaPlay and Streams Reply with quote



Quote:
Is there anyway to get TMediaPlayer to play from and record to a TStream
(or descendent)?


Hi Mark

Possible, using mmioInstallIOProc.
Apparently not many people do this.

I'm using this to play compressed/encryped media files from a database
via memorystreams - without any disk access or temp files.

Basicly mmioInstallIOProc gives you access to the MCI player's block
reading/writing which you can redirect to a stream. There are Delphi
examples out there somewhere. It's a little bit tricky...

Thomas F. Gruenwald
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.