audiotrack
AudioTrack: how to detect end of sound?
I\'m using AudioTrack to play a PCM WAV sound file on Android (see also here). Streaming mode, worker thread. I\'m wondering how do I detect the end of sound so that I can release and free the AudioTr[详细]
2023-04-10 16:43 分类:问答uninitialized AudioTrack exception when I try to generate tone on 22nd time
I have a requirement that I need to display a dial pad like screen and I have to generate 1khz tone (not DTMF tone) whenever user presses on a dial pad buttons.[详细]
2023-04-06 03:55 分类:问答How to tell when AudioTrack object has finished playing?
I\'m trying to play a PCM file in Android using the AudioTrack class. I can get the file to play just fine, but I cannot reliably tell when playback has finished. AudioTrack.getPlayState says playback[详细]
2023-01-14 05:37 分类:问答Android:Playing bigger size audio wav sound file produces crash
I am trying to p开发者_JS百科lay the bigger size audio wav file(which is >20 mb) using the following code(AudioTrack) on my Android 1.6 HTC device which basically has less memory. But i found device c[详细]
2022-12-25 03:16 分类:问答Best way to order menu items injected by an IoC/plugin Framework
One of the common things I\'ve seen done in applications built on IoC/plugin frameworks is to add commands to menus or toolbars from the dynamically loaded plugins.For example, the application\'s defa[详细]
2022-12-16 15:04 分类:问答