![]() |
|
|
![]()
|
|
| wrvu |
|
|||
![]() Новичок Профиль Группа: Участник Сообщений: 22 Регистрация: 21.12.2009 Репутация: нет Всего: нет |
Подскажите, какой IP-функцией нужно воспользоваться, что бы программа воспроизвела аудио файл(звуковой файл)?
Если есть простая программа-пример, этот вариан будет очень полезен. С уважением. |
|||
|
||||
| Mikl_ |
|
|||
|
Опытный ![]() ![]() Профиль Группа: Участник Сообщений: 537 Регистрация: 9.11.2007 Репутация: нет Всего: 14 |
wrvu,
PlaySoundA
Это сообщение отредактировал(а) Mikl_ - 28.12.2009, 08:41 |
|||
|
||||
| wrvu |
|
|||
![]() Новичок Профиль Группа: Участник Сообщений: 22 Регистрация: 21.12.2009 Репутация: нет Всего: нет |
Mikl_ Благодарю за помощь! Пойду проверю эту функцию!!!
|
|||
|
||||
| Mikl_ |
|
|||
|
Опытный ![]() ![]() Профиль Группа: Участник Сообщений: 537 Регистрация: 9.11.2007 Репутация: нет Всего: 14 |
wrvu,
Проверять так уж по полной программе. А еще можно воспроизводить звуки через DirectSound (Google в помощь Programming element Description PlaySound Plays a sound specified by a file name, resource, or system event. sndPlaySound Plays a waveform sound. waveInAddBuffer Sends an input buffer to the specified waveform-audio input device. waveInClose Closes the specified waveform-audio input device. waveInGetDevCaps Retrieves the capabilities of a specified waveform-audio input device. waveInGetErrorText Retrieves a textual description of the error identified by the specified error number. waveInGetID Gets the device identifier for the specified waveform-audio input device. waveInGetNumDevs Retrieves the number of waveform input devices present in the system. waveInGetPosition Retrieves the current input position of the specified waveform input device. waveInGetProperty Queries the value of a specific property in a property set for waveform audio input. waveInMessage Sends messages to the waveform output device drivers. waveInOpen Opens a specified waveform input device for recording. waveInPrepareHeader Prepares a buffer for waveform input. waveInProc Callback function used with the waveform-audio input device. waveInReset Stops input on a specified waveform input device and resets the current position to 0. waveInSetProperty Sets the value of a specific property in a property set for waveform audio input. waveInStart Starts input on the specified waveform input device. waveInStop Stops waveform input. waveInUnprepareHeader Cleans up the preparation performed by waveInPrepareHeader. waveOutBreakLoop Breaks a loop on a specified waveform output device. waveOutClose Closes the specified waveform output device. waveOutGetDevCaps Queries a specified waveform device to determine its capabilities. waveOutGetErrorText Retrieves a textual description of the error identified by the specified error number. waveOutGetID Gets the device identifier for a waveform output device. waveOutGetNumDevs Retrieves the number of waveform output devices present in the system. waveOutGetPitch Queries the current pitch setting of a waveform output device. waveOutGetPlaybackRate Queries the current playback rate setting of a waveform output device. waveOutGetPosition Retrieves the current playback position of the specified waveform output device. waveOutGetProperty Queries the value of a specific property in a property set for waveform audio output. waveOutGetVolume Queries the current volume setting of a waveform output device. waveOutMessage Sends messages to the waveform output device drivers. waveOutOpen Opens a specified waveform output device for playback. waveOutPause Pauses playback on a specified waveform output device. waveOutProc Callback function used with the waveform-audio output device. waveOutPrepareHeader Prepares a waveform data block for playback. waveOutReset Stops playback on a specified waveform output device and resets the current position to 0. waveOutRestart Restarts a paused waveform output device. waveOutSetPitch Sets the pitch of a waveform output device. waveOutSetPlaybackRate Sets the playback rate of a waveform output device. waveOutSetProperty Sets the value of a specific property in a property set for waveform audio output. waveOutSetVolume Sets the volume of a waveform output device. waveOutUnprepareHeader Cleans up the preparation performed by waveOutPrepareHeader. waveOutWrite Sends a data block to the specified waveform output device. |
|||
|
||||
| dumb |
|
|||
![]() sceloglauxalbifacies ![]() ![]() ![]() ![]() Профиль Группа: Экс. модератор Сообщений: 2929 Регистрация: 16.6.2006 Репутация: 2 Всего: 158 |
||||
|
||||
| wrvu |
|
|||
![]() Новичок Профиль Группа: Участник Сообщений: 22 Регистрация: 21.12.2009 Репутация: нет Всего: нет |
Всех благодарю, тема закрыта, отдельное спасибо опытному участнику Mikl_.
Это сообщение отредактировал(а) wrvu - 30.12.2009, 21:11 |
|||
|
||||
![]()
|
| Правила форума "Asm для Windows/DOS" | |
|
|
Если Вам понравилась атмосфера форума, заходите к нам чаще! С уважением, MAKCim. |
| 0 Пользователей читают эту тему (0 Гостей и 0 Скрытых Пользователей) | |
| 0 Пользователей: | |
| « Предыдущая тема | Asm для Windows/Dos | Следующая тема » |
|
|
По вопросам размещения рекламы пишите на vladimir(sobaka)vingrad.ru
Отказ от ответственности Powered by Invision Power Board(R) 1.3 © 2003 IPS, Inc. |