nosound
raw OCR
Turns PC speaker off.
Defined in header <dos.h>
Syntax
#include <dos.h>
void nosound(void);
Portability
| DOS | UNIX | Windows | ANSI C | C++ only |
|---|---|---|---|---|
| ■ |
Remarks
Turns the speaker off after it has been turned on by a call to sound.
Return value
None.
See also
Example
/* Emits a 7-Hz tone for 10 seconds. Your PC may not be able to emit a 7-Hz
tone. */
#include <dos.h>
int main(void)
{
sound(7);
delay(lOOOO);
nosound0 ;
Differences from modern implementations
Nothing recorded yet.
Modern references
These are search links, not yet checked by hand.
Stable link: /3.1/dos.h/nosound/
· short form /3.1/nosound/