Skip to content

Commit

Permalink
Updated README to reflect changes to src
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottMichaud committed Mar 13, 2015
1 parent 4f40d5e commit b2458a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ or

`loader.src = ['audio/file1.mp3', 'audio/file2.mp3', 'sounds/filec.mp3'];`

`ctx` (required) is your WebAudio context that will perform the actual decode.
Note: In the future, this might be made optional. If so, and if it is not
provided a valid WebAudio context, it will create one.
`ctx` (optional) is your WebAudio context that will perform the actual decode.
If it is not provided, one will be created on `send()`. If it exists but is not
an `AudioContext`, an error will be thrown and the function will terminate.

`loader.ctx = yourAudioContext;`

Expand Down

0 comments on commit b2458a4

Please sign in to comment.