Mercurial > hg > ugly-duckling
comparison src/app/playback-control/playback-control.component.ts @ 256:6d128e43f4d5
Merge remote-tracking branch 'lucas/feature/determinate-spinner'
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Fri, 28 Apr 2017 09:23:57 +0100 |
parents | 53ea6406d601 |
children |
comparison
equal
deleted
inserted
replaced
222:990b0fc68653 | 256:6d128e43f4d5 |
---|---|
1 import {Component, OnInit} from '@angular/core'; | 1 import {Component, OnInit} from '@angular/core'; |
2 import {AudioPlayerService} from "../services/audio-player/audio-player.service"; | 2 import {AudioPlayerService} from '../services/audio-player/audio-player.service'; |
3 import {FeatureExtractionService} from "../services/feature-extraction/feature-extraction.service"; | |
4 | 3 |
5 @Component({ | 4 @Component({ |
6 selector: 'app-playback-control', | 5 selector: 'ugly-playback-control', |
7 templateUrl: './playback-control.component.html', | 6 templateUrl: './playback-control.component.html', |
8 styleUrls: ['./playback-control.component.css'] | 7 styleUrls: ['./playback-control.component.css'] |
9 }) | 8 }) |
10 export class PlaybackControlComponent implements OnInit { | 9 export class PlaybackControlComponent implements OnInit { |
11 | 10 |
12 constructor(private audioService: AudioPlayerService, | 11 constructor(private audioService: AudioPlayerService) { |
13 private featureExtractionService: FeatureExtractionService) { | |
14 } | 12 } |
15 | 13 |
16 ngOnInit() {} | 14 ngOnInit() {} |
17 | 15 |
18 emitPlayPause() { | 16 emitPlayPause() { |