PageRenderTime 20ms CodeModel.GetById 15ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/flash/flash-audio/src/com/ryanberdeen/audio/SampleRange.as

http://echo-nest-remix.googlecode.com/
ActionScript | 23 lines | 19 code | 4 blank | 0 comment | 0 complexity | 7fb18016e4dce277726d6b81f0a3ba4a MD5 | raw file
 1package com.ryanberdeen.audio {
 2  public class SampleRange {
 3    private var _start:Number;
 4    private var _end:Number;
 5
 6    public function SampleRange(start:Number, end:Number):void {
 7      _start = start;
 8      _end = end;
 9    }
10
11    public function get start():Number {
12      return _start;
13    }
14
15    public function get end():Number {
16      return _end;
17    }
18
19    public function get length():Number {
20      return _end - _start;
21    }
22  }
23}