W3C home > Mailing lists > Public > public-audio@w3.org > July to September 2011

WebAudio API : AudioNode Interface connect() method input parameter usage

From: Amitanand Chikorde <amit99rs@gmail.com>
Date: Mon, 19 Sep 2011 11:46:12 +0530
Message-ID: <CALGj55H7Jaddnj2Ykx-YOOjwDU_LwA-fZG2qmLHSK+2wwRz=uQ@mail.gmail.com>
To: public-audio@w3.org
hi WebAudio API developers,

         I have a query about the AudioNode Interface connect()
method parameter.
link : https://dvcs.w3.org/hg/*audio*
/raw-file/tip/webaudio/specification.html...<https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioNode-section>

    The connect method's input parameter is defined as : The input
parameter is an index describing which input of the destination
AudioNode to connect to.
  In the following example code,

  node_.connect(context_.destination, 0,0);

          Is the input parameter is meant to specify the *audio* output
device on which the sound should be played? (eg. input parameter = 0
for system speaker, input param = 2 for headphone etc?)

Thanks,

Ampy
Received on Monday, 19 September 2011 06:17:37 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:49:56 UTC