C++/VB - Antialiasing with DirectSound
Asked By karstenasch
21-Nov-08 03:38 AM
Hi @ all,
is there a method in DirectSound for Antialiasing captured sound?
Best Regards
Karsten
Vista
(1)
XP
(1)
DirectSound
(1)
DirectShow
(1)
Karsten
(1)
Karstenasche
(1)
WASAPI
(1)
ASIO
(1)
Chris P. replied...
Capture at the native device rate where possible to prevent aliasing.
--
http://www.chrisnet.net/code.htm
[MS MVP for DirectShow / MediaFoundation]
karstenasch replied...
Chris P. replied...
On Wed, 19 Nov 2008 08:02:38 -0800 (PST), karstenasche@googlemail.com
DirectSound has no such methods. You have to communicate directly with the
driver and query for the hardware output rates as the kernel streaming
sample does. It's not exactly easy. Even still the DirectSound system can
already have the device open at a higher rate causing unexpected
resampling. The only 100% way is to not use DirectSound but instead to use
Kernel Streaming (XP only?), ASIO (limited hardware support), or WASAPI
(Vista only).
--
http://www.chrisnet.net/code.htm
[MS MVP for DirectShow / MediaFoundation]
MSVCRT differnet in Vista C++ / VB I am upgrading to Vista but still support some VB6 application. If I Package (Visual Studio package and deploy) my applications in XP they work across 2000, XP, Vista and 7. But if I Package them under Vista I get an "unable to find entry point " in the MSVCRT.dll when installing on 2000 or XP machines. Under windows 2000 and XP it appears this DLL only had handlers 1 and 2 but in Vista it has
in wincore.cpp This line appears higher up the call stack - I am using windows vista, that may be relevant. HRESULT hr = (static_cast<IFileDialog*> (m_pIFileDialog))-> Show(m_ofn.hwndOwner); I have also wrong or what I can try to stop the crash? Liam VC MFC Discussions Windows Vista (1) Vista (1) XP (1) CFileExceptionDialog (1) LFSoftDev (1) FileNameMaxLength (1) NumberOfFileNames (1) CallWindowProc (1) Please post some code with a previous version of VS, I think that MFC does not support the new Vista-style dialogs; e.g. consulting MSDN documentation for CFileDialog constructor in VS2005, shows that the 80).aspx Moreover, if you are using VS2008, make sure that you enabled the new Vista features, properly #define'ing preprocessor macros like WINVER to 0x0600 (Windows Vista is "Windows 6" in their internal numbering system) in HTH, Giovanni Thank you for your I do this though, will I still be able to run the compiled application using XP? Liam OK I believe that the VS2008 wizard for MFC dialog-based apps writes out
Microsoft Windows Vista includes a two-way firewall. TO THE TOP C++ / VB Some of us want to a good free easy to use two-way FireWall like ZoneAlarm that's compatible with Vista? Thanks. http: / / www.vistastic.com / 2007 / 03 / 09 / windows-firewall-enable-outbound-filtering / I bet you didn't know that Microsoft Windows Vista includes a two-way firewall. Unfortunately, the outbound filtering has been disabled. I'm not Microsoft not wanting to frustrate customers when their internet dependent applications suddenly stopped working. Windows Vista Firewall: How To Turn On Outbound Filtering * Click the Start Button (Windows Orb) * In the properties you can also configure additional rules for incoming as well as outbound connections. VB Vista Compatibility Discussions ZzzzzZZZZZZZZZZZ (1) SQL Server (1) MySQL (1) Windows XP (1) Windows Vista (1) Adobe (1) SMTP (1) RFCs (1) You are not going to find anything better than the Vista FW and Vista in itself due to the advanced features the FW and Vista are
out the OS is the wrong version, the GetwinVersion( ) is available for this purpose. However, XP includes various "compatability modes" and older windows versions included the WINVER.EXE application. There might is running on the correct OS version? dos-man VB WinAPI Discussions Windows 7 (1) Vista (1) Linux (1) XP (1) VB (1) GetCompatModeInfo (1) GetLocaleInfoEx (1) WindowsSystemDirectory (1) GetWinVersion? That's some sort of window to the foreground as of Win98SE / 2000. :) In any case, compat. mode started with XP did not it? Or was it Vista? I do not see any reason that MS could not have added a flag of choose how to run under each version. The name of the function is With Win7 XP support it is an actual VM copy of XP that is running. Compat. mode is not that. I do not know exactly what it And that is the problem. If Windows is going to tell me I am on XP when I am really on Vista, then it needs to run exactly as it would
VB6 + ADODB.Recordset + Vista = Automation error -2147024769 C++ / VB Hello everybody! WEEKS have passed now and it won't The problem is simple: I've got a VB6 program that runs wonderful under Windows XP but Vista always hangs up, when it tries to execute the following command: Set rs = New ADODB made everything as simple as possible. It seems that no ADO-Components work under Windows Vista. A try to get the ADODC-Control to work also failed (worked under XP, but not under Vista). _ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ ¯¯¯¯¯¯¯¯¯¯¯¯¯ www.dbforums.com / showthread.php?t = 1635645 VB DataBase ADO Discussions ADODB.Recordset (1) Windows XP (1) Windows Vista (1) Vista (1) ADODB (1) MDAC (1) VB (1) Database (1) I want to add