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. QSound -- is it possible to set the output to play on either the left or right channel on playback?
Forum Updated to NodeBB v4.3 + New Features

QSound -- is it possible to set the output to play on either the left or right channel on playback?

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 2.3k 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.
  • C Offline
    C Offline
    crubel
    wrote on last edited by
    #1

    Hello everyone,

    We have an application that we are porting from OpenAL on Linux and there is a requirement that
    we can send the sound output to either the left or right channel depending on certain parameters.

    I have been looking over the doc for the QSound and QAudioFormat etc... classes and while I can see
    that you can set the channel number to 1, I do not see where you can set the output to play on the
    channel that I would like it to play on.

    Is there a option or setting that will allow me to do this?

    Thanks.....

    crubel

    1 Reply Last reply
    0
    • M Offline
      M Offline
      Mr-Merlin
      wrote on last edited by
      #2

      Hi,

      I suggest you use Phonon instead of QSound. From what I understand, QSound is quite primitive, but Phonon is much more flexible and I would expect it to allow you to select channels

      Do a search for Phonon in Qt Assistant.

      Hope that helps,
      Simon ;O)

      1 Reply Last reply
      0
      • C Offline
        C Offline
        crubel
        wrote on last edited by
        #3

        OK thanks I will take a look at that and see whats available in those classes

        Curtis

        1 Reply Last reply
        0
        • C Offline
          C Offline
          crubel
          wrote on last edited by
          #4

          Just to let everyone know, yes you can specify this within the Phonon effects classes...

          Thanks...

          Curtis

          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