IPB

Welcome Guest ( Log In | Register )

> foobar2000 General Forum Rules

This is NOT a tech support forum.
Tech support questions go to foobar2000 Tech Support forum instead.

See also: Hydrogenaudio Terms of Service.

 
Reply to this topicStart new topic
WASAPI, PlayPcmWin and foobar2000, which format should I use?
Steve Forte Rio
post Feb 1 2013, 11:19
Post #1





Group: Members
Posts: 443
Joined: 4-October 08
From: Ukraine
Member No.: 59301



Hi! I use PlayPcmWin (64-bit) to determine what sample formats does my soundcard support.

Here is what I've got:
CODE
PlayPcmWin 4.0.37.0 64bit
wasapi.Init() 00000000
wasapi.DoDeviceEnumeration(Play) 00000000
wasapi.InspectDevice()
DeviceFriendlyName=Динамики (Creative SB X-Fi)
DeviceIdString={0.0.0.00000000}.{4e1c4df9-ab0e-4083-b353-c12d0c0f20aa}
++-------------++-------------++-------------++-------------++-------------++-------------++-------------++-------------++
|| 44kHz i16V16|| 48kHz i16V16|| 88kHz i16V16|| 96kHz i16V16||176kHz i16V16||192kHz i16V16||352kHz i16V16||384kHz i16V16||
|| OK 00000000 || OK 00000000 || OK 00000000 || OK 00000000 || OK 00000000 || OK 00000000 || NA 88890008 || NA 88890008 ||
++-------------++-------------++-------------++-------------++-------------++-------------++-------------++-------------++
|| 44kHz i24V24|| 48kHz i24V24|| 88kHz i24V24|| 96kHz i24V24||176kHz i24V24||192kHz i24V24||352kHz i24V24||384kHz i24V24||
|| NA 88890008 || NA 88890008 || NA 88890008 || NA 88890008 || NA 88890008 || NA 88890008 || NA 88890008 || NA 88890008 ||
++-------------++-------------++-------------++-------------++-------------++-------------++-------------++-------------++
|| 44kHz i32V24|| 48kHz i32V24|| 88kHz i32V24|| 96kHz i32V24||176kHz i32V24||192kHz i32V24||352kHz i32V24||384kHz i32V24||
|| OK 00000000 || OK 00000000 || OK 00000000 || OK 00000000 || OK 00000000 || OK 00000000 || NA 88890008 || NA 88890008 ||
++-------------++-------------++-------------++-------------++-------------++-------------++-------------++-------------++
|| 44kHz i32V32|| 48kHz i32V32|| 88kHz i32V32|| 96kHz i32V32||176kHz i32V32||192kHz i32V32||352kHz i32V32||384kHz i32V32||
|| OK 00000000 || OK 00000000 || OK 00000000 || OK 00000000 || OK 00000000 || OK 00000000 || NA 88890008 || NA 88890008 ||
++-------------++-------------++-------------++-------------++-------------++-------------++-------------++-------------++
|| 44kHz f32V32|| 48kHz f32V32|| 88kHz f32V32|| 96kHz f32V32||176kHz f32V32||192kHz f32V32||352kHz f32V32||384kHz f32V32||
|| NA 88890008 || NA 88890008 || NA 88890008 || NA 88890008 || NA 88890008 || NA 88890008 || NA 88890008 || NA 88890008 ||
++-------------++-------------++-------------++-------------++-------------++-------------++-------------++-------------++


Does it mean that my soundcard doesn't support playback of 24-bit integer through WASAPI Exclusive and I should use i32V24 or i32v32? And what means 32-bit output in foobar2000 (WASAPI Exclusive) - 32 bit integer or 24 bit padded to 32?

Thanks!

This post has been edited by Steve Forte Rio: Feb 1 2013, 11:31
Go to the top of the page
+Quote Post
Steve Forte Rio
post Jun 25 2013, 12:17
Post #2





Group: Members
Posts: 443
Joined: 4-October 08
From: Ukraine
Member No.: 59301



Does anyone know something about it???
Go to the top of the page
+Quote Post
Case
post Jun 25 2013, 17:38
Post #3





Group: Developer (Donating)
Posts: 2182
Joined: 19-October 01
From: Finland
Member No.: 322



It means your soundcard supports 24-bit and 32-bit PCM playback when driver gets data in 32 bits. It just doesn't like the odd 24-bit data format. Nothing is lost there as 32-bit data is more efficient anyway. The 24-bit mode with WASAPI is 24-bit or 24-bit padded to 32, depending on what sound card drivers accept (source). The 32-bit mode is float and it reverts to 32-bit PCM if driver doesn't support it (source).
Go to the top of the page
+Quote Post
Steve Forte Rio
post Jun 25 2013, 20:13
Post #4





Group: Members
Posts: 443
Joined: 4-October 08
From: Ukraine
Member No.: 59301



Many thanks!
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 30th July 2014 - 23:15