home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
General Development (no feature request here!)
MediaPortal Audio renderer - better video playback quality
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="tourettes" data-source="post: 637142" data-attributes="member: 10858"><p><span style="font-family: 'Arial Black'"><span style="font-size: 18px">WASAPI support test tool</span></span></p><p></p><p>Here's a small command line test utility for testing out the WASAPI driver / HW support. It will test all stream configurations and will output the results into the command promt</p><p></p><p><strong>Please note that some audio drivers might cause pop / boom etc noises to happen during the testing (even when we are rendering only empty samples with a silent flag turned on!). So make sure that the volume level is not too high.</strong></p><p></p><p><span style="font-family: 'Arial Black'"><span style="font-size: 12px">How to use</span></span></p><p></p><p>At first make sure the command promt history size is big enough (few thousand lines should be enough).</p><p></p><p>To list all available WASAPI devices use <strong>"WASAPI_test.exe --list-devices"</strong></p><p></p><p>To test all supported modes use <strong>"WASAPI_test.exe --device "device same from the previous command"</strong></p><p></p><p>To test all supported modes use and to gain errors for the failures <strong>"WASAPI_test.exe --device "device same from the previous command" --verbose</strong></p><p></p><p><span style="font-family: 'Arial Black'"><span style="font-size: 12px">How to read the results</span></span></p><p></p><p>[code]</p><p> 192000 16 2 768000 4 1 0 - Format works ok</p><p> 192000 16 2 768000 4 65534 22 16 3 - Format works ok</p><p> 192000 24 2 1152000 6 1 0 - not supported</p><p> 192000 24 2 1152000 6 65534 22 24 3 - not supported</p><p> 192000 32 2 1536000 8 65534 22 24 3 - Format works ok</p><p>[/code]</p><p></p><p>Here's the 1st line data "analysed":</p><p>Sample rate 192 KHz, 16 bits, 2 channels, 768000 average bytes per second, 4 bytes are needed for one frame, WAVE_FORMAT_PCM</p><p></p><p>Here's the 2nd line data "analysed":</p><p>Sample rate 192 KHz, 16 bits, 2 channels, 768000 average bytes per second, 4 bytes are needed for one frame, WAVEFORMATEXTENSIBLE, 22 bytes data, channel mask 3</p><p></p><p>Both formats were accepted by the driver / HW.</p><p></p><p></p><p><span style="font-family: 'Arial Black'"><span style="font-size: 12px">Version history</span></span></p><p></p><p><strong>Version 2</strong></p><p></p><ul> <li data-xf-list-type="ul"> Added support for alternative speaker mask testing for 5.1 and 7.1 formats</li> </ul><p></p><p><strong>Version 3</strong></p><p></p><ul> <li data-xf-list-type="ul"> Introduced <strong>--verbose</strong> command line swich (off by default) - only valid formats get logged by default</li> </ul></blockquote><p></p>
[QUOTE="tourettes, post: 637142, member: 10858"] [FONT="Arial Black"][SIZE="5"]WASAPI support test tool[/SIZE][/FONT] Here's a small command line test utility for testing out the WASAPI driver / HW support. It will test all stream configurations and will output the results into the command promt [b]Please note that some audio drivers might cause pop / boom etc noises to happen during the testing (even when we are rendering only empty samples with a silent flag turned on!). So make sure that the volume level is not too high.[/b] [FONT="Arial Black"][SIZE="3"]How to use[/SIZE][/FONT] At first make sure the command promt history size is big enough (few thousand lines should be enough). To list all available WASAPI devices use [b]"WASAPI_test.exe --list-devices"[/b] To test all supported modes use [b]"WASAPI_test.exe --device "device same from the previous command"[/b] To test all supported modes use and to gain errors for the failures [b]"WASAPI_test.exe --device "device same from the previous command" --verbose[/b] [FONT="Arial Black"][SIZE="3"]How to read the results[/SIZE][/FONT] [code] 192000 16 2 768000 4 1 0 - Format works ok 192000 16 2 768000 4 65534 22 16 3 - Format works ok 192000 24 2 1152000 6 1 0 - not supported 192000 24 2 1152000 6 65534 22 24 3 - not supported 192000 32 2 1536000 8 65534 22 24 3 - Format works ok [/code] Here's the 1st line data "analysed": Sample rate 192 KHz, 16 bits, 2 channels, 768000 average bytes per second, 4 bytes are needed for one frame, WAVE_FORMAT_PCM Here's the 2nd line data "analysed": Sample rate 192 KHz, 16 bits, 2 channels, 768000 average bytes per second, 4 bytes are needed for one frame, WAVEFORMATEXTENSIBLE, 22 bytes data, channel mask 3 Both formats were accepted by the driver / HW. [FONT="Arial Black"][SIZE="3"]Version history[/SIZE][/FONT] [b]Version 2[/b] [list] [*] Added support for alternative speaker mask testing for 5.1 and 7.1 formats [/list] [b]Version 3[/b] [list] [*] Introduced [b]--verbose[/b] command line swich (off by default) - only valid formats get logged by default [/list] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
MediaPortal Audio renderer - better video playback quality
Contact us
RSS
Top
Bottom