Results 1 to 4 of 4

Thread: Playing a small notification sound on my embedded device

  1. #1
    Join Date
    Mar 2012
    Location
    India
    Posts
    102
    Thanks
    4
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Playing a small notification sound on my embedded device

    Hi,

    I want to play a small key notification sound in Qt. Till now i was doing it with system command using my alsa utils. It worked fine otherwise but only made my captured video hanged when live preview started and somebody pressed some key for very long. I dont have any other back end. Please help out with steps.

    Thanks
    Charvi.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Playing a small notification sound on my embedded device

    Can you use Phonon or QSound?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Mar 2012
    Location
    India
    Posts
    102
    Thanks
    4
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Playing a small notification sound on my embedded device

    QSound isn't working on it. What do I need as backend?
    For Phonon I would require to port gstreamer right ?

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Playing a small notification sound on my embedded device

    Quote Originally Posted by Charvi View Post
    QSound isn't working on it. What do I need as backend?
    NAS (Network Audio Server).

    For Phonon I would require to port gstreamer right ?
    Possibly, yes. Qt doesn't wrap pure alsa access to sound. You could use ALSA API directly though.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. How to design a small device application.
    By Niamita in forum Qt Programming
    Replies: 1
    Last Post: 24th October 2011, 13:56
  2. Playing sound as by QSound on Maemo on N900 device using Qt
    By freely in forum Qt for Embedded and Mobile
    Replies: 2
    Last Post: 4th April 2011, 08:12
  3. Sound not playing when using executable file
    By Zotop in forum Qt Programming
    Replies: 0
    Last Post: 25th November 2010, 23:47
  4. Asynchronously playing a sound (.wav) on windows mobile
    By TMan in forum Qt for Embedded and Mobile
    Replies: 10
    Last Post: 20th October 2008, 19:16
  5. No sound on embedded devices
    By winarko in forum Qt for Embedded and Mobile
    Replies: 5
    Last Post: 25th June 2008, 22:08

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.