Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Comments in test.js

  • Loading branch information...
commit b680e1a6ab20571702260d045698fc572a432221 1 parent 765a8e8
Djordje Lukic authored

Showing 1 changed file with 6 additions and 4 deletions. Show diff stats Hide diff stats

  1. 10  test.js
10  test.js
@@ -2,12 +2,14 @@ var Naudio = require('./build/default/naudio').Naudio;
2 2
 
3 3
 var naudio = new Naudio();
4 4
 
  5
+/*
  6
+// You can plays streams
5 7
 naudio.play('http://72.13.81.178:8020', function () {
6  
-    console.log('first ended');
  8
+    console.log('stream ended');
7 9
 });
  10
+*/
8 11
 
9  
-setTimeout(function() {
10  
-    naudio.play('test.wav', function() { console.log('done')});
11  
-}, 1000);
  12
+// Or odrinary files.
  13
+naudio.play('test.wav', function() { console.log('done')});
12 14
 
13 15
 console.log('end');

0 notes on commit b680e1a

Please sign in to comment.
Something went wrong with that request. Please try again.