Results 1 to 2 of 2

Thread: How to send a sound file to the audio output from QProcess?

  1. #1
    Join Date
    Aug 2011
    Posts
    25
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Smile How to send a sound file to the audio output from QProcess?

    Hello,

    I want to use a GSM terminal to send voice mail from a Lubuntu PC. I use Qt to create a program.
    I also use the same program to send SMS. That works fine.
    In the Qt program I want to start a QProcess to start a sound file to send to a GSM terminal. To call a phone works well, but I am not able to send a sound file to the Audio output.
    The bash program that start and play the sound file works well from the terminal. Then the sound file is sent to the Audio output. But when I start the bash program via QProcess, the audio output is not used.
    How can I redirect the sound file to the Audio output using QProcess and the bash program?

  2. #2
    Join Date
    Aug 2011
    Posts
    25
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to send a sound file to the audio output from QProcess?

    That was my fault.
    The function that started the soundfile, was not started.
    No the soudio output works well

Similar Threads

  1. How to set volume of phonon audio output
    By athulms in forum Newbie
    Replies: 4
    Last Post: 9th November 2011, 09:38
  2. Replies: 0
    Last Post: 4th August 2011, 11:25
  3. Audio OutPut
    By Maluko_Da_Tola in forum Newbie
    Replies: 2
    Last Post: 13th September 2010, 21:55
  4. SDL - Audio and QT Creator Sound
    By hakermania in forum Qt Programming
    Replies: 0
    Last Post: 30th August 2010, 22:21
  5. Multiple sound files in Phonon Audio
    By brent99 in forum Qt Programming
    Replies: 0
    Last Post: 8th March 2010, 21:26

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.