Re: Is there any easy way to make sound in programming
From: Lew Pitcher (lpitcher_at_sympatico.ca)
Date: 04/17/05
- Next message: dsaklad_at_zurich.csail.mit.edu: "How to bring past messages from .Mac to another system."
- Previous message: Zheng Da: "Is there any easy way to make sound in programming"
- In reply to: Zheng Da: "Is there any easy way to make sound in programming"
- Next in thread: Larry I Smith: "Re: Is there any easy way to make sound in programming"
- Reply: Larry I Smith: "Re: Is there any easy way to make sound in programming"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 17 Apr 2005 01:30:19 -0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Zheng Da wrote:
> I want my program can make sound.
> The sound may be like the sound when a error dialog appears in the
> system.
> These sounds, in windows, is made by playing a small .wav file.
> What about Linux?
> Is there any easy way to make sound? or How?
> Thank you.
#include <stdlib.h>
system("/usr/bin/play /usr/local/share/sounds/Error.Dialog.wav");
- --
Lew Pitcher
Master Codewright & JOAT-in-training | GPG public key available on request
Registered Linux User #112576 (http://counter.li.org/)
Slackware - Because I know what I'm doing.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFCYfRragVFX4UWr64RAqb8AJwKG6STV00FuOAoahfGuiaMxt8BHQCgrX1L
4ltXNC/Ig+rs10YBplIYPJ8=
=wUoa
-----END PGP SIGNATURE-----
- Next message: dsaklad_at_zurich.csail.mit.edu: "How to bring past messages from .Mac to another system."
- Previous message: Zheng Da: "Is there any easy way to make sound in programming"
- In reply to: Zheng Da: "Is there any easy way to make sound in programming"
- Next in thread: Larry I Smith: "Re: Is there any easy way to make sound in programming"
- Reply: Larry I Smith: "Re: Is there any easy way to make sound in programming"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|