07-25-2010 12:30 PM
Hello There,
I am trying to get the instance of StreamingBufferControl from a Player which is instantiated by using input stream , and content type as x-wav but NULL is being returned.
Could someone point me in which situations StreamingBufferControl's instance is returned non null
I am using below code fragment picked from Blackberry Media Guide:
StreamingBufferControl sbc = (StreamingBufferControl)sp.getControl("net.rim.dev
if(sbc != null) {
sbc.flush();
}
07-26-2010 12:28 PM
Do I need to provide my own implementation of Player to get the instance of StreamingBufferControl or Player doesn't have StreamingBufferControl when instantiated with InputDataStream ?