Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Hello I am looking to try and use QAudioOuput within my QT program. I am reading some data from a file which I can convert either to a vector of dou
Forum Updated to NodeBB v4.3 + New Features

Hello I am looking to try and use QAudioOuput within my QT program. I am reading some data from a file which I can convert either to a vector of dou

Scheduled Pinned Locked Moved QML and Qt Quick
2 Posts 2 Posters 595 Views 1 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.
  • P Offline
    P Offline
    prabhatjha
    wrote on last edited by
    #1

    Hello

    I am looking to try and use QAudioOuput within my QT program.

    I am reading some data from a file which I can convert either to a vector of doubles or floats and would like to output this to an audio device. I read in a seconds worth of data every second and would like to get an audio device to play this as it iterates through the data.

    I have seen that this may be achievable through QIODevice and Qbuffer to buffer the data into a QByteArray. Although I am not sure what this would entail or if indeed I am overcomplicating the issue.

    If anyone could help or if they have a small example it would be greatly appreciated!

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Please don't post the same question multiple times

      "Duplicate":http://qt-project.org/forums/viewthread/37546/

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      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