Results 1 to 7 of 7

Thread: Phonon and buffer of local file

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2008
    Location
    Poland
    Posts
    383
    Thanks
    52
    Thanked 42 Times in 42 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Phonon and buffer of local file

    AFAIK you could do something like this:

    1. download file and store data in buffer
    2. play buffer
    MediaObject m;
    QBuffer *someBuffer;
    m.setCurrentSource(someBuffer);
    3. save to file

    Sorry but I can't help You more then this simply because I didn't used it before.
    Last edited by Talei; 14th October 2010 at 23:03.
    In the near future - corporate networks reach out to the stars. Electrons and light flow throughout the universe.
    The advance of computerization however, has not yet wiped out nations and ethnic groups.

  2. #2
    Join Date
    Jul 2009
    Location
    Valladolid, Spain
    Posts
    125
    Thanks
    16
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Phonon and buffer of local file

    Thanks! Tomorrow morning I'll read docs about buffer and I'll try it out

  3. #3
    Join Date
    Nov 2012
    Posts
    2
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: Phonon and buffer of local file

    Hi,

    I'm facing the same problem while playing audio. Did you find out the solution? If so then please share your knowledge.

    Thanks in advance.

Similar Threads

  1. QDesktopServices open url & local file & pdf or doc
    By patrik08 in forum Qt Programming
    Replies: 9
    Last Post: 14th April 2012, 04:42
  2. Opening local flash(.swf) file in QtWebKit?
    By DanLT3 in forum Qt Programming
    Replies: 1
    Last Post: 24th March 2011, 15:22
  3. Phonon access to waveform/buffer
    By er453r in forum Qt Programming
    Replies: 1
    Last Post: 10th July 2010, 12:28
  4. Replies: 4
    Last Post: 22nd June 2010, 10:59
  5. Password on local file/folder
    By icebox25 in forum Qt Programming
    Replies: 3
    Last Post: 13th April 2007, 16:33

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.