Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7634937
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T07:18:40+00:00 2026-05-31T07:18:40+00:00

I have this functions: public WaveIn(WaveCallbackInfo callbackInfo) { this.DeviceNumber = 0; this.WaveFormat = new

  • 0

I have this functions:

 public WaveIn(WaveCallbackInfo callbackInfo)
        {
            this.DeviceNumber = 0;
            this.WaveFormat = new WaveFormat(8000, 16, 1);
            this.BufferMilliseconds = 100;
            this.NumberOfBuffers = 3;
            this.callback = new WaveInterop.WaveCallback(Callback);
            this.callbackInfo = callbackInfo;
            callbackInfo.Connect(this.callback);
        }

How do I call it?

WaveIn(callbackInfo: ????);

And I whant to change for example this parameters in here:

this.WaveFormat = new WaveFormat(8000, 16, 1);

If I can’t change those parameters in callback can I override it?

Thank you

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T07:18:42+00:00Added an answer on May 31, 2026 at 7:18 am

    I recommend you ignore that constructor and call the default one

    var waveIn = new WaveIn();
    

    if you want to specify a different recording WaveFormat, just set the WaveFormat property (before you start recording)

    waveIn.WaveFormat = new WaveFormat(44100, 16, 2);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Suppose I have two functions which look like this: public static void myFunction1(int a,
I have 2 functions/methods in the same controller in CodeIgniter like this: public function
In my CouponsController.php, I have the following 2 functions: public function index() { $this->set('coupons',
I have the following functions: public static V AddIfNotPresent<K, V>( this Dictionary<K, V> store,
I have this function: public bool IsValidProduct(int productTypeId) { bool isValid = false; if
In the main view i have this function public function lang($file, $language){ require 'languages/'.$language.'/'.
I have this function: Program A public ICollection<ReportLocationInfo> GetAllReportsInstalled() { return _Reports; } I
How would I create a nested list, I currently have this public function getNav($cat,$subcat){
I have this function which returns a datatype InetAddress[] public InetAddress [] lookupAllHostAddr(String host)
I have a situation where i want to return List<> from this function public

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.