soundpool
What is the best way to get an audio file duration in Android?
I\'m using a SoundP开发者_如何学Coolto play audio clips in my app. All is fine but I need to know when the clip playback has finished.[详细]
2023-02-05 13:00 分类:问答Knowing if the loading of a sound with SoundPool has been successful on Android 1.6/2.0/2.1
On Android 2.2+ there is something called SoundPool.OnLoadCompleteListener allowing to know whether a sound has been loaded successfully or not.[详细]
2023-02-04 01:30 分类:问答Playing sound of a particular frequency in android
I want to play a sound of a particular frequency in android based on user input, somewhat similar to guitar application. Can an开发者_JAVA技巧yone tell me how to do that? Do i need to have all freq so[详细]
2023-01-30 01:06 分类:问答How to Sync Sounds using SoundPool
I have been trying to get a few sounds to play at the same time; currently i\'m using a shared instance of SoundPool.I would like 1, 2 or 3 sounds to be played at the exact same time with no lag.[详细]
2023-01-28 11:50 分类:问答How do I know if a sound is finished playing in android?
How do I know if a sound has finished playing? I want to play 2 sounds but I want one sound to play and then wait until the 1st sou开发者_运维问答nd is done before the 2nd starts.[详细]
2023-01-28 11:34 分类:问答Android SoundPool cutting sound file short
I\'m fairly new to Android so be gentle开发者_运维知识库! I have the following code, which should (I think) just play \"developersshort\".[详细]
2023-01-27 16:08 分类:问答How can I load a sound from the SD Card insted of the raw folder in my Android app useing Soundpool?
I am useing this example to load and play sounds in my Androidapp. I am adding new sounds with mSoundManager.addSound(2, R.raw.sound1);. How can I load a sound from t开发者_如何学Che SD Card insted of[详细]
2023-01-27 09:43 分类:问答stream volume in SoundPool vs volume in AudioManager
I am so confused... SoundPool.play(int soundID, float leftVolume, float rightVolume, int priority, int loop, float rate)[详细]
2023-01-24 21:11 分类:问答and again about memory issues with SoundPool
I am aware that SoundPool was intended to handle small f开发者_Go百科x like sounds and I made sure my 4 sound clips which I want to play one by one in some sequence are small enough.[详细]
2023-01-24 01:25 分类:问答Playing default ringtone
I\'ve been trying to use SoundPool to play the default ringtone without success. In the code below String ringtone = Settings.System.DEFAULT_RINGTONE_URI.getPath();[详细]
2023-01-23 02:12 分类:问答