Версия для печати темы

Нажмите сюда для просмотра этой темы в обычном формате

Форум на CrossPlatform.RU _ Другие библиотеки _ как пищать системным динамиком в виндовозе?

Автор: Litkevich Yuriy 4.5.2010, 12:20

Собственно вопрос в заголовке. Нужно именно системным динамиком пикать.
как это сделать в виндовозе?





полезная тема по соседству: http://www.forum.crossplatform.ru/index.php?showtopic=5328

Автор: Влад 4.5.2010, 12:35

Beep Function

Generates simple tones on the speaker. The function is synchronous; it performs an alertable wait and does not return control to its caller until the sound finishes.

BOOL WINAPI Beep(
__in DWORD dwFreq,
__in DWORD dwDuration
);

Parameters

dwFreq
The frequency of the sound, in hertz. This parameter must be in the range 37 through 32,767 (0x25 through 0x7FFF).
Windows Me/98/95: The Beep function ignores this parameter.

dwDuration
The duration of the sound, in milliseconds.
Windows Me/98/95: The Beep function ignores this parameter.

Форум Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)