Add preload() to interface.
This commit is contained in:
parent
b7a8bbe1d1
commit
8cf6d04cd2
1 changed files with 4 additions and 0 deletions
|
@ -131,6 +131,10 @@ class AudioPlayerInterface
|
||||||
detachListener(AudioPlayerEventListener* eventListener)
|
detachListener(AudioPlayerEventListener* eventListener)
|
||||||
throw (std::invalid_argument) = 0;
|
throw (std::invalid_argument) = 0;
|
||||||
|
|
||||||
|
virtual void
|
||||||
|
preload(const std::string fileUrl) throw (std::invalid_argument,
|
||||||
|
std::runtime_error)
|
||||||
|
= 0;
|
||||||
/**
|
/**
|
||||||
* Specify which audio resource to play.
|
* Specify which audio resource to play.
|
||||||
* The file may be a playlist, referencing other files, which
|
* The file may be a playlist, referencing other files, which
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue