×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Mar 2012
    Posts
    24

    How about QAudioOutput with volume control?

    In Qt4.7.4, QAudioOutput also doesn't have method to control audio volume. Is it right?

    I try CMdaAudioPlayerUtility in symbian, but it seems need multimediaDD capacity. It cannot pass NOKIA signed.

    And then I also try QMediaPlayer to control volume, but it must in the play(). Also cannot use.

    Have a method (use QAudioOutput) to control volume sound in Qt4.7.4?

  2. #2
    Registered User
    Join Date
    Mar 2012
    Posts
    24

    Re: How about QAudioOutput with volume control?

    PS: If QMediaPlayer play() running, the QAudioOutput's suspend() and resume() funcion is very quickly.
    But if QMediaPlayer is stop(), the QAudioOutput's suspend() and resume() funcion need takes more long time.
    A little strange.

  3. #3
    Registered User
    Join Date
    Mar 2011
    Posts
    60

    Re: How about QAudioOutput with volume control?

    CMdaAudioOutputStream have a method named SetVolume(TInt) to set output volume.

  4. #4
    Regular Contributor
    Join Date
    Oct 2008
    Location
    Oslo, Norway
    Posts
    329

    Re: How about QAudioOutput with volume control?

    Hi,

    There is a Qt Multimedia Developers Guide available here:
    http://www.developer.nokia.com/dp?ur...dia_Developers

    Chapter 7.10.2 describes a workaround for controlling QAudioOutput volume in Symbian. I'm not sure if the hack still works (it relies on internals that might have changed), but it's worth a try.

  5. #5
    Registered User
    Join Date
    Mar 2012
    Posts
    24

    Re: How about QAudioOutput with volume control?

    I try to use workaround method (Chapter 7.10.2). But it failed because thread crash. ( message==> Thread has crashed: A data abort exception has occurred accessing 0x1a. )

    And a web link descript the workaround method is not work for all ROM version.
    https://bugreports.qt-project.org/browse/QTMOBILITY-830

Similar Threads

  1. Volume Control on N9
    By cameronsmith63 in forum General Development Questions
    Replies: 2
    Last Post: 2012-02-21, 12:00
  2. volume control
    By Masuk in forum VoIP
    Replies: 2
    Last Post: 2011-02-05, 09:37
  3. Control the volume
    By Danko22 in forum Symbian
    Replies: 1
    Last Post: 2009-07-08, 18:01
  4. Control the volume
    By Danko22 in forum Audio
    Replies: 1
    Last Post: 2009-07-08, 14:11
  5. control volume APS 2.3
    By alexpr in forum VoIP
    Replies: 3
    Last Post: 2007-10-11, 16:51

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×