开发者

Audio playback from in-memory data for Blackberry

开发者 https://www.devze.com 2023-01-23 00:03 出处:网络
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-mem

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消