Music servers and other computer based digital audio technologies.
Return to Computer Audio Asylum
Message Sort: Post Order or Asylum Reverse Threaded
Page: | [ 1 ] [ 2 ] |
optimised WASAPI exclusive event c++ code
86.140.246.157 |
||
Posted on January 26, 2013 at 09:33:11 | ||
Posts: 444
Joined: March 22, 2012 |
Having just been involved in the JPLAY v5 beta testing and tried numerous different players I was still disappointed with the sound. This prompted me to start investigating why they sound so different, I still don't know not being a c++ developer, but with access to VS2010 I have been able to modify the play.cpp file in the project below and compile it to what I think is a big step forward in SQ. There are only so many ways a file can be rendered to an audio device so I tried optimising the steps that were already there. Now a good c++ developer will put all sorts of checks and error trapping in the code, I have effectively removed as much as possible of these so the code is doing the minimum in the render loop, of course not being a c++ developer I can do this. I guess the lesson is that the render loop is very important to the SQ and i would think in many cases could be optimised further. The original project is linked below http://blogs.msdn.com/b/matthew_van_eerde/archive/2009/04/03/sample-wasapi-exclusive-mode-event-driven-playback-app-including-the-hd-audio-alignment-dance.aspx My code is in the link below, compiled for MS win 7 64 bit, it uses the default playback device, just copy the files into a folder called for example MusicPlayer, then just copy a 16/44.1 wav file or folder name containing 16/44.1 wav files and double click on sp.bat to play. have included the unoptimised file as well called playerextreme.exe.bak so a comparison can be made with the original. There is no pause or stop or gapless mode, just close the cmd window to stop. It only plays 16/44.1 wav files. I can honestly say it is the best SQ I have heard from my system. http://rapidshare.com/users/playerextreme/3363 http://mqnplayer.blogspot.co.uk/ |
RE: A revolution in audio rendering , posted on February 12, 2013 at 11:40:45 | |
Posts: 82
Location: London Joined: September 16, 2011 |
Fantastic. I will give it a run soon. |
RE: Linux Build?, posted on February 18, 2013 at 13:41:01 | |
Posts: 444
Joined: March 22, 2012 |
you should have pm
http://mqnplayer.blogspot.co.uk/ |
Repost, posted on March 24, 2013 at 10:56:32 | |
Posts: 82
Location: London Joined: September 16, 2011 |
No I don't, as I am enjoying the fruits of your labour enormously. |
RE: optimised WASAPI exclusive event c++ code, posted on April 17, 2013 at 16:43:09 | |
Posts: 444
Joined: March 22, 2012 |
don't be sorry, at least you know what you like
http://mqnplayer.blogspot.co.uk/ |
RE: MQn v 79, posted on May 29, 2013 at 23:55:00 | |
Posts: 9
Joined: March 4, 2013 |
Hi SBGK: I get File no found on the link!!!! I need your latest effort, please correct. Best regards Juan |
RE: MQn v 80, posted on May 30, 2013 at 15:14:03 | |
Posts: 444
Joined: March 22, 2012 |
try this one the latest version is v80
|
RE: optimised WASAPI exclusive eventns c++ code, posted on June 17, 2013 at 12:07:29 | |
Posts: 9
Joined: March 4, 2013 |
Hi SBGK: Waiting anxiously. Very much thanks for your efforts. Juan |
Page: | [ 1 ] [ 2 ] |