In Reply to: RE: optimised WASAPI exclusive eventns c++ code posted by SBGK on June 17, 2013 at 12:55:35:
https://rapidshare.com/#users|459800...a4b6194c|11541
have uploaded the control version and updated the mqn.bat and mqnreadme.txt file. the new version uses mqncontrol.exe and mqnplay.exe. works with 16/44.1 up to 24/192, it is possible to crash the control by pressing the keys too quickly, but treat it with respect and it works.
only version 2.0 at the moment, shall release the others when I get time.
The control works by setting the page protection setting of the sound buffer to no access, the player immediately throws an exception and the control instructions are fed to the player by the controller writing bytes to a spare section of the sound buffer, the exception triggers an unhandled exception function and this function moves the pointer in the sound buffer and then sets the page protection back to the original setting and play recommences. pause is done by the controller setting the player into debug mode.
The sound quality is the best I have heard, it makes quite a difference having a small dedicated player exe, I though 16/44.1 was good, but the hirez SQ is much improved as well.
That's the end of this little experiment, I have proved to myself that the player is responsible for a large slice of the SQ pie and others seem to appreciate the efforts.
As it stands it could be developed further to be integrated with foobar etc, but I don't have the inclination as SQ was my main goal.
I am considering writing my own version of A_memcpy dedicated to copying 8192 bytes, so that may improve things further. Will also look at an ASIO implementation and maybe KS for WS 2012 use.
http://mqnplayer.blogspot.co.uk/
This post is made possible by the generous support of people like you and our sponsors:
Follow Ups
- RE: optimised WASAPI exclusive eventns c++ code - SBGK 08:18:14 07/14/13 (57)
- RE: optimised WASAPI exclusive eventns c++ code - internethandle 16:29:28 07/14/13 (56)
- RE: optimised WASAPI exclusive eventns c++ code - SBGK 16:40:30 07/14/13 (55)
- RE: optimised WASAPI exclusive eventns c++ code - SBGK 09:37:08 08/04/13 (0)
- RE: optimised WASAPI exclusive eventns c++ code - jupabe 00:39:32 07/19/13 (53)
- RE: optimised WASAPI exclusive eventns c++ code - SBGK 14:46:06 08/06/13 (52)
- RE: optimised WASAPI exclusive eventns c++ code - SBGK 13:00:52 08/08/13 (51)
- RE: optimised WASAPI exclusive eventns c++ code - SBGK 13:46:02 08/08/13 (50)
- RE: optimised WASAPI exclusive eventns c++ code - SBGK 05:31:11 08/12/13 (49)
- RE: optimised WASAPI exclusive eventns c++ code - SBGK 03:59:13 08/17/13 (48)
- RE: optimised WASAPI exclusive eventns c++ code - jpechloe 21:24:03 08/18/13 (47)
- RE: optimised WASAPI exclusive eventns c++ code - SBGK 08:16:38 09/01/13 (8)
- RE: optimised WASAPI exclusive eventns c++ code - SBGK 08:20:24 09/01/13 (7)
- RE: optimised WASAPI exclusive eventns c++ code - jpechloe 15:59:39 09/01/13 (6)
- RE: optimised WASAPI exclusive eventns c++ code - SBGK 21:01:58 09/01/13 (5)
- RE: optimised WASAPI exclusive eventns c++ code - jpechloe 18:02:06 09/02/13 (4)
- RE: optimised WASAPI exclusive eventns c++ code - SBGK 19:03:58 09/02/13 (2)
- RE: optimised WASAPI exclusive eventns c++ code - jpechloe 20:39:20 09/05/13 (1)
- RE: optimised WASAPI exclusive eventns c++ code - SBGK 01:06:42 09/06/13 (0)
- RE: optimised WASAPI exclusive eventns c++ code - jpechloe 18:07:39 09/02/13 (0)
- RE: optimised WASAPI exclusive eventns c++ code - SBGK 22:30:52 08/18/13 (37)
- RE: optimised WASAPI exclusive eventns c++ code - jpechloe 23:19:34 08/18/13 (0)
- RE: optimised WASAPI exclusive eventns c++ code - jpechloe 23:07:04 08/18/13 (35)
- RE: optimised WASAPI exclusive eventns c++ code - SBGK 23:28:33 08/18/13 (34)
- RE: optimised WASAPI exclusive eventns c++ code - jpechloe 09:54:38 08/19/13 (33)
- RE: optimised WASAPI exclusive eventns c++ code - SBGK 10:18:59 08/19/13 (32)
- RE: optimised WASAPI exclusive eventns c++ code - jpechloe 15:19:05 08/19/13 (31)
- RE: optimised WASAPI exclusive eventns c++ code - SBGK 15:27:28 08/19/13 (30)
- RE: optimised WASAPI exclusive eventns c++ code - jpechloe 17:26:51 08/19/13 (28)
- RE: optimised WASAPI exclusive eventns c++ code - SBGK 00:02:18 08/20/13 (27)
- RE: optimised WASAPI exclusive eventns c++ code - jpechloe 18:34:45 08/20/13 (26)
- RE: optimised WASAPI exclusive eventns c++ code - SBGK 00:33:42 08/21/13 (25)
- RE: optimised WASAPI exclusive eventns c++ code - SBGK 01:51:14 08/22/13 (23)
- RE: optimised WASAPI exclusive eventns c++ code - jpechloe 18:40:42 08/22/13 (22)
- RE: optimised WASAPI exclusive eventns c++ code - SBGK 00:14:17 08/23/13 (21)
- RE: optimised WASAPI exclusive eventns c++ code - jpechloe 19:19:15 08/23/13 (20)
- RE: optimised WASAPI exclusive eventns c++ code - SBGK 19:56:38 08/23/13 (19)
- RE: optimised WASAPI exclusive eventns c++ code - jpechloe 16:29:37 08/24/13 (18)
- RE: optimised WASAPI exclusive eventns c++ code - SBGK 16:42:32 08/24/13 (17)
- RE: optimised WASAPI exclusive eventns c++ code - jpechloe 17:18:32 08/24/13 (16)
- RE: optimised WASAPI exclusive eventns c++ code - SBGK 17:32:22 08/24/13 (15)
- RE: optimised WASAPI exclusive eventns c++ code - jpechloe 19:19:44 08/24/13 (14)
- RE: optimised WASAPI exclusive eventns c++ code - SBGK 00:51:48 08/25/13 (13)
- RE: optimised WASAPI exclusive eventns c++ code - jpechloe 16:25:40 08/25/13 (10)
- RE: optimised WASAPI exclusive eventns c++ code - SBGK 03:44:39 08/26/13 (9)
- RE: optimised WASAPI exclusive eventns c++ code - SBGK 15:30:11 08/26/13 (8)
- RE: optimised WASAPI exclusive eventns c++ code - jpechloe 17:47:24 08/27/13 (7)
- RE: optimised WASAPI exclusive eventns c++ code - SBGK 14:34:13 08/28/13 (5)
- RE: optimised WASAPI exclusive eventns c++ code - jpechloe 20:21:21 08/28/13 (4)
- RE: optimised WASAPI exclusive eventns c++ code - SBGK 23:53:49 08/28/13 (3)
- RE: optimised WASAPI exclusive eventns c++ code - SBGK 15:02:23 08/29/13 (2)
- RE: optimised WASAPI exclusive eventns c++ code - SBGK 00:11:26 08/30/13 (0)
- RE: optimised WASAPI exclusive eventns c++ code - SBGK 15:23:04 08/29/13 (0)
- RE: optimised WASAPI exclusive eventns c++ code - SBGK 00:55:54 08/28/13 (0)
- RE: optimised WASAPI exclusive eventns c++ code - jpechloe 16:18:46 08/25/13 (0)
- RE: optimised WASAPI exclusive eventns c++ code - jpechloe 15:13:03 08/25/13 (0)
- RE: optimised WASAPI exclusive eventns c++ code - jpechloe 18:35:53 08/21/13 (0)
- RE: optimised WASAPI exclusive eventns c++ code - jpechloe 17:05:57 08/19/13 (0)