Their is no direct API to provide equalization. What you have to do is write a DirectX filter and use it control treble/bass. Check the DirectX API for more information.
bearfx
Posts
-
API to control bass and treble -
An "I" product that doesn't come from AppleApple does get a bit testy about any i not from them. I wonder what they think of iGoogle.
-
Event ExceptionIs anything actually assigned to handle the OnImportFile? someObject.OnImportFile+= new OnImportFileEvent(someHandler); If not, you will get an exception Take this example code
class Program { static void Main(string[] args) { someClass obj = new someClass(); //Exception Here obj.RaiseEvent(); obj.someEvent += new someClass.SomeEvent(EventHandler); //No Exception obj.RaiseEvent(); } static void EventHandler(object sender, EventArgs e) { } } class someClass { public delegate void SomeEvent(object sender, EventArgs args); public SomeEvent someEvent; public void RaiseEvent() { someEvent(this,new EventArgs()); } }
You can resolve this by testing someEvent for nullpublic void RaiseEvent() { if(someEvent!=null) someEvent(this,new EventArgs()); }
or setting it to have at least one handler when you create the objectclass someClass { public delegate void SomeEvent(object sender, EventArgs args); public SomeEvent someEvent; someClass{ someEvent+=new SomeEvent(internalHandler); } private void internalHandler(object sender, EventArgs e) {} public void RaiseEvent() { someEvent(this,new EventArgs()); } }
I usually test for null, but either works. -
Problem with using ParameterField class in CrystalReport.Make sure you are using the right namespaces. I have the following using statements in my sample
using CrystalDecisions.CrystalReports.Engine ; using CrystalDecisions.Shared ; using CrystalDecisions.Windows.Forms ;
Also, make certain you are referencing the right assemblies. The following are ref's in my projectCrystalDecisions.CrystalReports.Engine CrystalDecisions.ReportSource CrystalDecisions.Shared CrystalDecisions.Windows.Forms
The full path/classes areCrystalDecisions.CrystalReports.Engine.ReportDocument CrystalDecisions.Shared.ParameterField
The sample I sent you works with Crystal Reports XI R2, but was the same in CR X. -
HowTo make a dll, which can be called by VBAFrom C#, you would have to create a COM DLL to call from VB. I do not think you can make native DLL's from c#, although you can in Visual C++.
-
how to deploy my app (vs2005) with crystalreport XI ?Business Objects has several Windows Installer packages you can include with your installation. Be aware, however, they are huge. The Crystal Reports XI Release 2 - .NET Merge Modules is around 150MB. Remember to set your Key in the MSM properties of whatever you use to build the installation package.
-
how to change values of Crystal Reports in vc# 2005?Create a parameter field for the date. When you create the report object, use the ParameterFields Collection of the ReportDocument to find your paramter. Set it using the .CurrentValues.Add property of the ParameterField. ReportDocument report = new ReportDocument(); report.Load(@"MyReportFile.rpt"); foreach(ParameterField field in report.ParameterFields) { if(field.ParameterFieldName == "MyName") { field.CurrentValues.Add(MyDateValue); } }
-
Is there anything to convert my .net 2.0 type files to .net 1.1?Partial class just tells the compiler to include that source with the rest of it. If you want to compile in .net 1.1 just combine all the partial classes into one class, in one file.
-
How can i access the usb port in VC#.net 2003 and framework1.1You really need to be more specific. Are you wanting to read and write data onto a USB flash drive, you merely have to address it as any other drive. Otherwise, you need to access it through the API of the driver, or write your own driver for the hardware. Check with the hardware manufacturer for a development kit.
-
Policy ManagerPolicy manager is hardly 'arcane'... Obtuse, yes. Frustrating, yes. Arcane no. I have never used XP Home Edition, only Professional, so cannot guarentee it is included in Home Edition. Start -> Run -> MMC.exe File -> Add/Remove Snap-In -> Add -> Group Policy Object Editor As I do not know what you are trying to do, I cannot offer you any alternatives.
-
Problems with primary keyThis is basically saying you can't autogenerate the command without primary key information. If you want to use the CommandBuilder, you need to be aware of it's limitations. The CommandBuilder classes can be used to build update commands for single-table select queries that include at least one unique column. Your SQL command doesn;t include a unique column, so it cannot be used. Include the primary key in your select query, and it should work, as long as it is a single-table query. If probably looks something like this Select col1, col2, col3 from table1 where col1 = somevalue change it to Select pkey, col1, col2, col3 from table1 where col1 = somevalue If it is not a single-table query, you will need to build your own insert, update, and delete queries using the InsertCommand, UpdateCommand, and DeleteCommand properties.
-
Debugging c# in VS2005 - Break When Value ChangesIn Visual Basic, their was an option to add a watch, and also break when the value of a variable changes. If their a similar option available to c# users in VS2005? I have been unable to find any information on this. Thanks in advance.