I've switched all my sound effects to sound pools... it works now but I still don't understand why it didn't before... By the way... thanks a lot!!!
On May 20, 8:56 am, Bartinger <domiii.1...@gmail.com> wrote: > If you play more sounds at the same time i would recommend to use > soundpool > > I wrote here an class where you can add and play sounds hat the same > timehttp://code.google.com/p/candroidengine/source/browse/trunk/src/at/ba... > > On 19 Mai, 14:50, REvolver <luca.lupol...@gmail.com> wrote: > > > > > HI, > > > I'm playing some MediaPlayer instances at the same time (4 or 5) but > > sometimes when I try to start a new media player it doesn't work and > > an error is shown on the log: > > > E/AudioFlinger( 1073): no more track names availlable > > E/AudioTrack( 1073): AudioFlinger could not create track, status: -12 > > E/AudioSink( 1073): Unable to create audio track > > E/VorbisPlayer( 1073): mAudioSink open failed > > > It also happens when there're only 3 or 2 MediaPlayer playing at the > > same time. > > What does it mean this error? > > How can I workaround with it? > > Actually checking the isPlaying() after the start() call does not seem > > very helpful as every call returns true > > > I've to say that every MediaPlayer is created once via > > MediaPlayer.create. > > > Thanks a lot! > > > -- > > You received this message because you are subscribed to the Google > > Groups "Android Developers" group. > > To post to this group, send email to android-developers@googlegroups.com > > To unsubscribe from this group, send email to > > android-developers+unsubscr...@googlegroups.com > > For more options, visit this group > > athttp://groups.google.com/group/android-developers?hl=en > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group > athttp://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en