Author Topic: [SoundSystemJPCT]Looping starting point  (Read 1508 times)

Offline P0jan

  • bit
  • Posts: 4
    • View Profile
[SoundSystemJPCT]Looping starting point
« on: September 18, 2013, 04:21:22 PM »
I am using Paul Lamp SoundSystemJPCT to play looping music. When the music ends, I want the change the starting position 0.0 seconds to something else.

Is it possible?

Offline Paul

  • Administrator
  • double
  • *****
  • Posts: 3487
  • Developer
    • View Profile
    • PaulsCode.Com
Re: [SoundSystemJPCT]Looping starting point
« Reply #1 on: September 18, 2013, 06:28:16 PM »
Not directly.  There is the queue you can use for lead-ins (which is presumably what you are trying to do, right?) You would create a streaming source set to loop, with the lead-in sample.  Then queue the main loopable sample.  When the leadin finishes, it will play the queued section and then continue to loop it.
Device: Samsung Galaxy Nexus i515
CPU: TI OMAP4460, 1.2 GHz (dual core, ARM Cortex-A9)
GPU: PowerVR SGX540, 307 MHz
RAM: 1 GB
Resolution: 720 x 1280
Rom: omni-4.4.4-20141014-toro-FML KitKat 4.4.4, rooted

Device: Eee PC 1015PEM
CPU: Intel Atom N550, 1.5 GHz (dual core, x86)
GPU: Intel GMA 3150, 200 MHz (dual core)
RAM: 2GB
Resolution: 1024 x 600
Rom: android-x86-4.3-20130725 Jelly Bean 4.3, rooted