Re: [FSO] How to make a beep in C++/Qt

2008-12-19 Thread Michael Tansella
Am Freitag, 19. Dezember 2008 00:51:55 schrieb Michael 'Mickey' Lauer:
 Beep-commands only work on terminals that support this feature.

Ok then I don't need to play around with my audio settings.

Then I will let DBUS do the work for me.
Thanks.
Michael




___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [FSO] How to make a beep in C++/Qt

2008-12-18 Thread Michael 'Mickey' Lauer
Beep-commands only work on terminals that support this feature. In FSO,
you can easily play a sound with the 
org.freesmartphone.Device.Audio.PlaySound() interface.

:M:



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [FSO] How to make a beep in C++/Qt

2008-12-17 Thread Michael Tansella
Am Mittwoch, 17. Dezember 2008 16:27:43 schrieb Sargun Dhillon:
 Please don't send HTML e-mail to list.
I'm sorry it's default at kmail. I hope it's turned off now.

 Just add a sound with an
 annoying enough beep and use the proper FSO calls to play it.
I think it's too much to create a dbus connection just for making a beep.

Any other idea?

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [FSO] How to make a beep in C++/Qt

2008-12-17 Thread Sargun Dhillon
Please don't send HTML e-mail to list. Just add a sound with an
annoying enough beep and use the proper FSO calls to play it.

On Wed, Dec 17, 2008 at 5:15 AM, Michael Tansella
michael-tanse...@gmx.de wrote:
 Hi,

 how can I make a simple beep in C++/Qt?

 neither the

 Ascii commands printf(\a) or cout  \a

 nor the

 Qt command QApplication::beep ()

 seem to work.

 Do I have to change the volume settings for that?

 Greets

 Michael

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [FSO] How to make a beep in C++/Qt

2008-12-17 Thread Al Johnson
On Wednesday 17 December 2008, Michael Tansella wrote:
 Am Mittwoch, 17. Dezember 2008 16:27:43 schrieb Sargun Dhillon:
  Please don't send HTML e-mail to list.

 I'm sorry it's default at kmail. I hope it's turned off now.

  Just add a sound with an
  annoying enough beep and use the proper FSO calls to play it.

 I think it's too much to create a dbus connection just for making a beep.

If you're interested in the beep going through a particular output, say the 
speaker rather than the earpiece, you'll be wanting to use the FSO interface 
for manipulating the alsa state too. 

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[FSO] How to make a beep in C++/Qt

2008-12-17 Thread Michael Tansella
Hi,

how can I make a simple beep in C++/Qt?

neither the
Ascii commands printf(\a) or cout  \a
nor the
Qt command QApplication::beep ()
seem to work.
Do I have to change the volume settings for that?

Greets
Michael

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community