sneeuw
asked on
MediaPlayer, playing from memory rather than via FileName ... ??
Hi,
I use Borland C++ Builder 4.
I want to play a MediaFile with NO filename.
E.g. Now, the component runs when a Filename is delivered via a String object.
I'd like (if possible) to play from memory ???
Is that possible ??
If yes ... How ???
I use Borland C++ Builder 4.
I want to play a MediaFile with NO filename.
E.g. Now, the component runs when a Filename is delivered via a String object.
I'd like (if possible) to play from memory ???
Is that possible ??
If yes ... How ???
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Isn't there then any other possibility to do this ?? Maybe inherit from the TMediaPlayer Component and change functionality of some sort ... not that I know how to do that.
>>Isn't there then any other possibility to do this ??
I don't found it. May be someone
else knows it, but you Q. was opened
2 days without reply...
I don't found it. May be someone
else knows it, but you Q. was opened
2 days without reply...
ASKER
Ok ...
Let's give it 1 or 2 more days !
When nobody else comes up with an answer ... You get the points !
Fair ?
Let's give it 1 or 2 more days !
When nobody else comes up with an answer ... You get the points !
Fair ?
Ok, make deal!
sneeuw, sorry, but now is 20 in November, and , as i predicted, no
comments!
comments!
ASKER
Hi,
Sorry, have been on a weekend (all weekend ... far far away from my PC).
Before I close this up I was wondering if following couldn't be done (haven't tried it yet myself) :
Inherit from TMediaPlayer.
IF TMediaPlayer uses the TFileStream component, I possibly could re-write it with a TMemoryStream object ????
Any thoughts on this ??
Also ... Can I access the TMediaPlayer source code ?? (How ??)
Is it in C or Pascal ???
(I use Borland C++ Builder 4, Enterprise edition)
Peter
Sorry, have been on a weekend (all weekend ... far far away from my PC).
Before I close this up I was wondering if following couldn't be done (haven't tried it yet myself) :
Inherit from TMediaPlayer.
IF TMediaPlayer uses the TFileStream component, I possibly could re-write it with a TMemoryStream object ????
Any thoughts on this ??
Also ... Can I access the TMediaPlayer source code ?? (How ??)
Is it in C or Pascal ???
(I use Borland C++ Builder 4, Enterprise edition)
Peter
Peter, text of MPlayer.pas i can send you(write you Email). From text you can easy see, that MPlayer.pas uses
MCI Api interface! But MCI functions
may works only with files/drives/..
but not with memory.
>> I am sorry, but answer is "No".
Alex
MCI Api interface! But MCI functions
may works only with files/drives/..
but not with memory.
>> I am sorry, but answer is "No".
Alex
ASKER
Ok !
Then we're stuck I guess.
Thanks for the effort.
Peter
Then we're stuck I guess.
Thanks for the effort.
Peter
ASKER
I'd like to use the TMediaPlayer component.