Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. How to set audio volume use Qt API on Symbian

How to set audio volume use Qt API on Symbian

Scheduled Pinned Locked Moved Mobile and Embedded
5 Posts 2 Posters 4.7k Views
  • 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
    Chuck Gao
    wrote on last edited by
    #1

    I just wanna to know How to set audio's volume on Symbian use Qt's API. Or it just can be done by Symbian native API use devSound?
    I have a look at the related API a few month ago, using MultiMediaKit APIs, but it doesn't support setVolume function at that time.

    Update:
    I want to use QAudioOutput for my voice record playback, and view the sound waves when recording. But i can not find a function that can setVolume in QAudioOutput. Specially for real-time record and play, so i can't use QMediaPlayer(which support set volume) for this case.

    Chuck

    1 Reply Last reply
    0
    • L Offline
      L Offline
      leon.anavi
      wrote on last edited by
      #2

      Hi,

      Please the following link as they might give you a hint: "Play Audio Files using Qt Mobility":http://wiki.forum.nokia.com/index.php/Play_Audio_Files_using_Qt_Mobility

      The volume of the sound that is played at the example is set by "setVolume ":http://doc.qt.nokia.com/qtmobility-1.2.0-beta1/qmediaplayer.html#volume-prop

      Best regards,
      Leon

      http://anavi.org/

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

        [quote author="leon.anavi" date="1305882521"]Hi,

        Please the following link as they might give you a hint: "Play Audio Files using Qt Mobility":http://wiki.forum.nokia.com/index.php/Play_Audio_Files_using_Qt_Mobility

        The volume of the sound that is played at the example is set by "setVolume ":http://doc.qt.nokia.com/qtmobility-1.2.0-beta1/qmediaplayer.html#volume-prop

        Best regards,
        Leon

        [/quote]

        Sorry, i don't want to use QMediaPlayer, for the case that i want to play buffers when recording. So i have to use QAudioOutput with audio input/record. Anyway, thanks! :)

        Chuck

        1 Reply Last reply
        0
        • L Offline
          L Offline
          leon.anavi
          wrote on last edited by
          #4

          [quote author="Chuck.Gao" date="1305884258"]
          Sorry, i don't want to use QMediaPlayer, for the case that i want to play buffers when recording. So i have to use QAudioOutput with audio input/record. Anyway, thanks! :)[/quote]

          OK. Have you tried the proposed work arounds for Symbian regarding "No way to make the volume louder with QAudioOutput in Symbian devices":http://bugreports.qt.nokia.com/browse/QTMOBILITY-830 ?

          http://anavi.org/

          1 Reply Last reply
          0
          • C Offline
            C Offline
            Chuck Gao
            wrote on last edited by
            #5

            @leon: thank you very much! I'll try it.

            Chuck

            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