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 use the Audio Devices ?

How to use the Audio Devices ?

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 2 Posters 3.1k 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.
  • X Offline
    X Offline
    xiangbo_x
    wrote on last edited by
    #1

    I use the object 'QAudioInput' and ‘QAudioOutput', on Symbian 5th, based on Qt4.6.3, it works. It can record and play sound.

    Now I want to play sound by earphone, NOT the speaker(which is the default output device).

    How could I do?

    1 Reply Last reply
    0
    • D Offline
      D Offline
      danilocesar
      wrote on last edited by
      #2

      According to "this post":http://labs.qt.nokia.com/2010/05/10/low-level-audio-processing-with-qtmultimedia/ the list returned by "availableDevices":http://doc.trolltech.com/4.6/qaudiodeviceinfo.html#availableDevices() should contain the headset device.

      But I never tried it =)

      <a href="http://www.danilocesar.com">Danilo Cesar Lemes de Paula</a>
      Software Engineer

      1 Reply Last reply
      0
      • X Offline
        X Offline
        xiangbo_x
        wrote on last edited by
        #3

        [quote author="danilocesar" date="1284646272"]According to "this post":http://labs.qt.nokia.com/2010/05/10/low-level-audio-processing-with-qtmultimedia/ the list returned by "availableDevices":http://doc.trolltech.com/4.6/qaudiodeviceinfo.html#availableDevices() should contain the headset device.

        But I never tried it =)[/quote]

        thanks, danilocesar. I try it with an example Qt program 'audioDevice' , it uses the API 'availableDevices' to get all the devices avilable. When I run this program on real device , a N97-mini, it get only one device: default.

        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