musikdroid tooling updates.

This commit is contained in:
casey langen 2018-11-07 19:54:17 -08:00
parent f32dc96fba
commit 84b138e138
6 changed files with 8 additions and 9 deletions

View File

@ -16,13 +16,12 @@ apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'
android {
compileSdkVersion 27
buildToolsVersion '27.0.3'
compileSdkVersion 28
defaultConfig {
applicationId "io.casey.musikcube.remote"
minSdkVersion 21
targetSdkVersion 27
targetSdkVersion 28
versionCode 32
versionName "0.30.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

View File

@ -438,7 +438,7 @@ class RemotePlaybackService : IPlaybackService {
}
companion object {
private val NANOSECONDS_PER_SECOND = 1000000000.0
private val SYNC_TIME_INTERVAL_MS = 5000L
private const val NANOSECONDS_PER_SECOND = 1000000000.0
private const val SYNC_TIME_INTERVAL_MS = 5000L
}
}

View File

@ -1,5 +1,5 @@
buildscript {
ext.kotlin_version = '1.2.41'
ext.kotlin_version = '1.2.71'
repositories {
google()
@ -7,7 +7,7 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.4'
classpath 'com.android.tools.build:gradle:3.2.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}

View File

@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip

0
src/musikdroid/gradlew vendored Normal file → Executable file
View File

View File

@ -373,7 +373,7 @@ int PulseOut::Play(IBuffer *buffer, IBufferProvider* provider) {
double PulseOut::Latency() {
Lock lock(this->stateMutex);
if (!this->audioConnection) {
return 0.0;
}