Audio playback from in-memory data for Blackberry
Is there a BlackBerry API that provides low-level audio access? Preferably for Blackberry OS 4.6.0 but 6.0.0 is OK too. The Audio class plays from files, whereas I need to be able to create audio in-memor开发者_Python百科y, as an array of integers, and pass it to the API for playback.
You could probably create your own DataSource/SourceStream and create the sound data in WAV format in-memory, then use Manager to create a Player and play it.
精彩评论