Stuck with the basics..

Hi!
this is not a programming problem, but it seems that i am stuck with the basic , i am trying to implement my custom  PushBufferDataSource and a PushBufferStream, but i am not able to understand that how the      read(Buffer buffer) method and the transferHandler thing work..(i.e. when they are called and by whom)
i would be thankful if someone can briefly explain me these things..

There are 2 functions on a processor, setMediaTime (start time) and setStopTime(end time) that you can use to make a processor play only a portion of a file and then stop. So, if you use those to make a processor only play part of a file, you can make the datasink attached to the processor only save a portion of the file. No special implementations needed.
Take a look at the API, and play around with it.
http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/apidocs/
That should be enough to get you going...

Similar Messages

  • HT1212 My ipad mini has been crashing a lot recently so I started a system reset. However, it's now stuck with the progress bar less than a quarter gone: this has been the case for several days now. I have tried resetting from itunes but it needs the pass

    Now it's stuck with the progress bar less than a quarter full. I have also tried resetting through itunes which works right up to the point where itunes states that it needs the passcode to be inputted into the ipad to connect to it. At which point it then sticks at the same progress bar point. HELP!! please, this ipad is really important to my work.

    Well the term "hotlined" I have never heard before. In any case many states (like NY) just passed regulatory powers to the State Public Service Commission of which it may be called something different in your state. You could file a complaint with them. Or file a complaint with your state attorney generals office, they also take on wireless providers.
    The problem here is the staff you speak to are poorly trained, in days gone by it took one call to them and they pulled up your account and see the error and had the authority to remove any errors. They did not remove legitimate account actions, but used their heads instead of putting a customer off or worse lying to the customer.
    Its a shame you have to go through what you going through.
    Good Luck

  • I wanted to restore my iphone 4s from 6.1 to 6.1.1 and itunes showed me (error -1) and i cant do nothing because its stuck with the itunes logo and the cable what should i do to fix it helppp please...

    i just wanted to restore from 6.1 to 6.1.1 on my iphone 4s and itunes gave me an error -1 and know it doesnt work i dont know if the warranty from 1 year of apple can fix it or what i can do to solve the problem... as i said i just wanted to update and know im stuck with the restore logo ( the itunes logo and the cable) need some help please!!!!

    no so i dont know what happened

  • When i first got my ipod touch 4th generation i connected it to itunes but on my computer said new device found but on itunes there are no devices found so im stuck with the connect to itunes symbol on my ipod

    i got my ipod touch 4th generation and when i first connected it to itunes it would say device found on my computer but on itunes it would say no device found so im stuck with the connect to itunes symbol on my ipod touch like when u first turn it on

    Try here.  Start with the one the best fits your symptoms.
    iPhone, iPad, or iPod touch: Device not recognized in iTunes for Windows
    iPod not recognized in 'My Computer' and in iTunes for Windows
    iPod: Does not appear in Windows or iTunes and Device Manager is empty

  • My Iphone 4 will not show up in Itunes, and it wont turn on, it is stuck with the apple logo on the screen

    One day my Iphone would not turn back on after I turned it off, now it is stuck with the apple logo on it. Also I have tried plugging it into 3 different computers now, and Itunes will not recognize it. Please help.

    Brunolucy wrote:
    One day my Iphone would not turn back on after I turned it off, now it is stuck with the apple logo on it. Also I have tried plugging it into 3 different computers now, and Itunes will not recognize it. Please help.
    Try this:
    http://www.youtube.com/watch?v=fiTcKMZfyfk

  • When trying to install os x mavericks to my macbook pro as it started to install the computer now is stuck with the OS X Mavericks intall showing and I can't get out of it or force quit?

    When trying to upgrade and install OS X Mmavericks to my Macbook Pro as it started to install the computer stopped the install and now is stuck with the OS X Mavericks intall window showing and I can't get out of it or force quit? I can not do anything else because this is stuck with this window/install screen showing. I have tried everything to get back to my regular desktop. I do not want to wipe the drive because I have photos on it that I want to save. So if there is any way to bypass this installer and get back to my regular desktop I would greatly appreciate the help.

    UPDATE*  Macbook7,1
    Mavericks 10.9.4
    8GB ram

  • TS3992 my ipad mini is stuck with the message on the screen 'this ipad hasn't been backed up in 5 weeks.  Backups happen when this ipad is plugged in, locked, and connected to Wi-Fi' with OK button.  If you click button nothing happens and I can't move an

    Ipad mini is stuck with the message 'this ipad hasn't been backed up in 5 weeks....' if you click the OK button nothing happens, cannot get rid of the message and cannot even power off b/c the message is on the screen.
    The ipad had not been backed up b/c it kept saying not enough storage available

    A reset may help. Tap and hold the Home button and the On/Off buttons for approximately 15-20 seconds, until the Apple logo reappears. When the logo appears, release both buttons.
    No content is affected by this procedure.

  • Stuck with the apple and the scrolling gear while booting

    Hi there
    i am using my mac for more than 2 years , i did not format it or even fix any thing into it but now something bad happend...
    accdentaly my genius friend preesed the power putton for more than 5 seconds to start up the computer and i heared a sound and a the normal flashing light under the track pad and suddenly i was stuck with the apple gray booting screen and the scrooling gear and the computer does not go further .. i left for 2 hours and it still stuck with the same screen ... try to restart do any thing no results also ...
    NOTE: THE BIG PROPLEM IS THAT I PUT A PASSWORD FOR THE FRIMWARE AND I FORGOOT IT SO I CAN NOT USE THE FOLLWOING:
    1-the ability to use the "C" key to start up from an optical disc.
    2-the ability to use the "N" key to start up from a NetBoot server.
    3-the ability to use the "T" key to start up in Target Disk Mode (on computers that offer this feature).
    4-Diagnostic volume of the Install DVD.
    5-mode by pressing the Command-S key combination during startup.
    6- a reset of Parameter RAM (PRAM) by pressing the Command-Option-P-R key combination during startup.
    Requires the password to use the Startup Manager, accessed by pressing the Option key during startup (see below).
    7- Safe mood.
    8-Single mode acsses and the other one i forrgot its name.
    SO I FIGURED THERE IS NO WAY BETER THAN THE PRIVIOUS WAYS TO SOLVE THE PROPLEM
    IF YOU HAVE ANY IDEAS OR ANY THING SO I CAN FIX THIS THING ?
    Thanks in advance >>>
    iBook G4 Mid 2005   Mac OS X (10.4.8)  

    I was mistaken about the PMU..with a little more digging I found that Open Firmware password can be removed if you change the amount of memory installed.
    I found this info here: http://archive.macosxlabs.org/documentation/firmwaresecurity/faqs/faqs.html#remove_passwordprotection
    The following is a link from Apple's site to download the user's manual for your iBook:
    http://manuals.info.apple.com/en/iBookG4(Mid2005)_UsersGuide.pdf
    It provides the instructions to add or remove memory from the machine. If you do have additional memory installed then you'll be able to remove the memory, and reset the PRAM, that way your password is gone. Hopefully from there we can figure out and fix your startup issue.
    Ben

  • Stuck with the Apple and nothing else

    It seems many are having problems with the recent software update. Me too - can anyone help?
    Following the update I am now stuck with the Apple sign. When I do a restore (Menu/Play) the apple sign dissaperars, then comes back and I am back where I started.
    My computer no longer recognises my iPod either!
    Any ideas?

    The most likely solution, Angel, is to restore your iPod then re-sync with iTunes to load your songs on. See this:
    Restoring iPod to Factory Settings

  • Stuck with the apple logo screen

    So my iPhone is stuck with the apple logo. I've restarted my iPhone several times and reinstalled itunes. It just stays with the apple logo and when I plug it into itunes it freezes itunes. I can't restore my iPhone, because it's not coming up in iTunes. It's been stuck at the screen with the apple logo for more then an hour. I can reset, but it never finishes loading.
    I'm hours away from an ATT or apple store.

    This problem happened to me. You have a "bricked" phone. The problem was addressed in the thread "Bricked iphone after the 10th sync". Sorry I don't know how to link to it, but it's in this forum, just another topic. I was able to resolve my problem following the fix given by "jsanders74". Good luck.

  • Lightroom 5.2 my clone tool is stuck with the scissors and won't clone a spot. How do I get rid of the scissors?   HELP!!!!!

    My clone tool in Lr is stuck in the scissors mode. How do I get it back to normal clone function.
    Spending hours with this FRUSTRATION.
    CAN SOMEONE HELP ME?

    DOWNLOADED 5.7 CAN'T POST CLIP BECAUSE WHEN i LET GO OF THE ALT KEY THEY DISAPPEAR.
          Fr5.7om: Bob Somrak <[email protected]>
    To: Cat Anders <[email protected]>
    Sent: Sunday, February 15, 2015 5:22 PM
    Subject:  lightroom 5.2 my clone tool is stuck with the scissors and won't clone a spot. How do I get rid of the scissors?   HELP!!!!!
    lightroom 5.2 my clone tool is stuck with the scissors and won't clone a spot. How do I get rid of the scissors?   HELP!!!!!
    created by Bob Somrak in Photoshop Lightroom - View the full discussionFirst thing to do is update to LR 5.7.1.     No use trying to solve a problem on an outdated version. BTW, could you post a screen clip of these SCISSORS? If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7197183#7197183 and clicking ‘Correct’ below the answer Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7197183#7197183 To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"  Start a new discussion in Photoshop Lightroom by email or at Adobe Community For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

  • Iphone display stuck with the itunes icon and picture of usb drive

    My iphone display is stuck with the itunes icon and picture of usb drive. I've tried resetting the phone but it comes back each time. When connected to PC nothing happens. When I open itunes the phone is not recognized.

    see if this link helps http://support.apple.com/kb/HT1808

  • Problems with the basics

    Hi, I recently purchased a copy of Photoshop so that I could creat custom artworks for a few of my new websites:
    <links removed>
    Unfortunately I'm not very good at using this software, so can anyone suggest a good basics guide to use for this software as i'm just getting confused by the help files that come with it.
    Cheers
    John A

    You have a lot of company.  The learning curve for photoshop is quite steep, but the program has huge potential.
    The Adobe Classroom in a Book is good to start with the basics and move forward.  Adobe also sends out a DVD with numerous tutorial on in.
    Another book that is good is Adobe Photoshop by Martin Evening.
    There are also many free tutorials on Adobes' website and and the web.
    If you really want to learn the nuts and bolts with video tutorials Lynda.com is probably the best.  It is a paid service, but you can view as many tutorials as you want while subscirbed.  So if you subscribe pick a month where you have extra time to spend learning.
    Hope this helps, and good luck.
    Welcome to the photoshop community.

  • Help I just get stuck with the blank screen and the white circle

    help I just get stuck with the blank screen and the white circle after i erase all content and setting
    i dont know how to do pls help.

    Try connecting the device to your iTunes library and restoring it.  If necessary place the iPod into recovery mode using the instructions in this Apple support document.
    iOS: Unable to update or restore
    B-rock

  • Try updating my ipad  2 ,came back with error 1602, and now my ipad is stuck with the itune and usb icon on the screen

    Try updating my ipad 2, pop up with error 1602 and now my ipad is stuck with the itune and USB icon on the screen. I tried to restart it, but screen still comes up the same.

    See if this page helps http://support.apple.com/kb/TS3694#error1602

Maybe you are looking for

  • Issue with mount_udf

    Hello, guys. A daughter of a friend of my works with design software. This week she burned a DVD with a major work she did, but she burned in UDF format. When she tried to open the dvd, no file was shown, so she asked for his dad (he knows a little o

  • Change PO user exit

    I have added a custom field zz-ref1( 60) in ekko table and also added this field on the screen. I am creating a collective PO using WF10 transaction and want to update this field with all my STO’s ( smaller PO’s) numbers. So for example if I create a

  • Change Canvas size on one dimension

    I want to change the canvas size to account for a 2 in. leader.  E.G.  an 8.5 x 11 image to 8.5 x 13 in.  But the 2 ins want to be at the lead end of the image, that which enters the printer first. Thanks in advance for your help.

  • My iPhoto is gone

    I get a message saying "You cant use this version of the application "iphoto" with this version of OS X

  • Re: iPhone leaks electrical current when plugged into sound systems.

      The above problem is one that I just ran into recently. I've plugged my iPhone 4 (iOS 5.1.1) into two different sound systems, Samsung and Philips, with two different connecting sound cables, and it always leaks electrical current when I pick it up