reactos/dll
Oleg Dubinskiy d1b8feb690
[AUDIO] Implement retreiving audio playback position (#6817)
Implement GetWavePosition API for both Legacy and MMixer modes.
[WDMAUD.DRV]
- Fix wrong I/O control code passed to DeviceIoControl for Legacy mode. Use IOCTL_GETPOS instead of IOCTL_OPEN_WDMAUD, to use the correct routine.
- Implement WdmAudGetWavePosition for MMixer mode, as it was completely unimplemented there. Call an appropiate MMixer routine and return back resulting wave position.
[WDMAUD]
- Implement WdmAudGetPostion routine, which is used by Legacy mode, and call the same MMixer routine from it too.
- Handle it in IOCTL_GETPOS I/O control request of dispatch routine.
[MMIXER]
- Implement MMixerGetWavePosition internal routine, which is called by both Legacy and MMixer modes, and does the actual work of retrieving playback position.
- Call an apporpriate KSPROPERTY_AUDIO_POSITION property from it, and return in the output resulting KSAUDIO_POSITION.PlayOffset member, which contains the current playback position offset, to be returned to the caller.
This fixes a failure retreiving the current audio playback position snd subsequent playing the audio data by several 3rd-party applications which are using this API (for example, some Gecko based browsers by @roytam1: Basilisk (Serpent) 52.9.0 IA-32 build, NewMoon 28.10.7 IA-32 build and KMeleon 76.5.3 Goanna engine).
CORE-19542
2024-05-06 20:07:47 +02:00
..
3rdparty [LIBPNG] Update to version 1.6.39. CORE-18670 2022-11-27 10:10:53 -05:00
appcompat [APPHELP] Stop shimeng being initialized multiple times 2022-10-26 20:19:31 +02:00
cpl [TRANSLATION] Update Spanish (es-ES) translation (#6449) 2024-03-24 12:30:56 +03:00
directx [DSOUND_NEW][HDAUDBUS] Replace meaningless YDEBUG (#5857) 2023-11-01 13:39:05 +01:00
ime [MSCTFIME] Use QISearch for QueryInterface (#6630) 2024-03-17 12:44:03 +09:00
keyboard
nls
np
ntdll [CRT][NTDLL][MSVCRT] Add _swprintf implementation 2024-05-06 14:08:31 +02:00
opengl [MESA] Change reported OpenGL version to 1.1.0 (#5675) 2023-09-09 22:30:44 +03:00
shellext [ZIPFLDR] Don't handle DFM_INVOKECOMMANDEX if you need DFM_INVOKECOMMAND (#6766) 2024-05-02 19:01:38 +02:00
win32 [AUDIO] Implement retreiving audio playback position (#6817) 2024-05-06 20:07:47 +02:00
CMakeLists.txt Rework apisets to use a table 2024-04-27 22:51:34 +02:00