mirror of
https://github.com/clangen/musikcube.git
synced 2025-01-15 19:52:19 +00:00
musikdroid tooling updates.
This commit is contained in:
parent
f32dc96fba
commit
84b138e138
@ -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"
|
||||
|
@ -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
|
||||
}
|
||||
}
|
||||
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
@ -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
0
src/musikdroid/gradlew
vendored
Normal file → Executable 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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user