Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QMediaPlayer and clean Qbuffer
Qt 6.11 is out! See what's new in the release blog

QMediaPlayer and clean Qbuffer

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 1.0k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Manang79
    wrote on last edited by
    #1

    Hi,
    I'm writing a program with QMediaPlayer component.
    I have to send as input a stream of QByteArray, so I'm using a QBuffer as input of the QMediaPlayer.

    My problem is that I have to clean the part of QByteArray that I have yet read.
    How Can I do it?
    Thank you very much

    Angelo

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      Hi! Welcome to the Qt forum! Can you please show some code, I don't fully understand what you're trying to do.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved