audio-play
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -77,2 +77,7 @@ /** @module audio-play, play audio buffer in node */ | ||
if (!buf) { | ||
pause() | ||
return | ||
} | ||
//track current time | ||
@@ -79,0 +84,0 @@ how.currentTime += buf.duration |
{ | ||
"name": "audio-play", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "Play audio buffer in node or browser", | ||
@@ -30,7 +30,6 @@ "main": "index.js", | ||
"devDependencies": { | ||
"audio-lena": "^1.1.0", | ||
"eslint": "^3.4.0" | ||
"audio-lena": "^1.1.0" | ||
}, | ||
"dependencies": { | ||
"audio-buffer": "^2.4.5", | ||
"audio-buffer": "^3.1.1", | ||
"audio-source": "^1.0.0", | ||
@@ -37,0 +36,0 @@ "audio-speaker": "^1.4.0", |
@@ -1,2 +0,2 @@ | ||
# audio-play [![Build Status](https://travis-ci.org/audiojs/audio-play.svg?branch=master)](https://travis-ci.org/audiojs/audio-play) [![unstable](http://badges.github.io/stability-badges/dist/unstable.svg)](http://github.com/badges/stability-badges) | ||
# audio-play [![Build Status](https://travis-ci.org/audiojs/audio-play.svg?branch=master)](https://travis-ci.org/audiojs/audio-play) [![unstable](https://img.shields.io/badge/stability-unstable-orange.svg?style=flat-square)](http://github.com/badges/stability-badges) [![Greenkeeper badge](https://badges.greenkeeper.io/audiojs/audio-play.svg)](https://greenkeeper.io/) | ||
@@ -3,0 +3,0 @@ Play [audio buffer](https://github.com/audiojs/audio-buffer), browser/node-wise. |
@@ -12,3 +12,3 @@ 'use strict'; | ||
start: 1.2, | ||
end: 1.45, | ||
end: 1.28, | ||
volume: .5, | ||
@@ -15,0 +15,0 @@ loop: true, |
Sorry, the diff of this file is not supported yet
10759
1
217
Updatedaudio-buffer@^3.1.1