diff --git a/metronome/src/androidMain/kotlin/DefaultMetronomeMediaPlayer.kt b/metronome/src/androidMain/kotlin/DefaultMetronomeMediaPlayer.kt index 55418850b..faec70b5e 100644 --- a/metronome/src/androidMain/kotlin/DefaultMetronomeMediaPlayer.kt +++ b/metronome/src/androidMain/kotlin/DefaultMetronomeMediaPlayer.kt @@ -1,3 +1,20 @@ +/* + Copyright 2024 Splendo Consulting B.V. The Netherlands + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + */ + package com.splendo.kaluga.metronome import android.media.AudioAttributes diff --git a/metronome/src/commonMain/kotlin/DefaultMetronome.kt b/metronome/src/commonMain/kotlin/DefaultMetronome.kt index 86793ff81..294a85f68 100644 --- a/metronome/src/commonMain/kotlin/DefaultMetronome.kt +++ b/metronome/src/commonMain/kotlin/DefaultMetronome.kt @@ -1,3 +1,20 @@ +/* + Copyright 2024 Splendo Consulting B.V. The Netherlands + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + */ + package com.splendo.kaluga.metronome import com.splendo.kaluga.logging.error diff --git a/metronome/src/commonMain/kotlin/DefaultMetronomeMediaPlayer.kt b/metronome/src/commonMain/kotlin/DefaultMetronomeMediaPlayer.kt index 07cc9df14..7d0990c00 100644 --- a/metronome/src/commonMain/kotlin/DefaultMetronomeMediaPlayer.kt +++ b/metronome/src/commonMain/kotlin/DefaultMetronomeMediaPlayer.kt @@ -1,3 +1,20 @@ +/* + Copyright 2024 Splendo Consulting B.V. The Netherlands + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + */ + package com.splendo.kaluga.metronome import com.splendo.kaluga.media.MediaSource diff --git a/metronome/src/commonMain/kotlin/Metronome.kt b/metronome/src/commonMain/kotlin/Metronome.kt index 556f5a0d6..1958db139 100644 --- a/metronome/src/commonMain/kotlin/Metronome.kt +++ b/metronome/src/commonMain/kotlin/Metronome.kt @@ -1,3 +1,20 @@ +/* + Copyright 2024 Splendo Consulting B.V. The Netherlands + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + */ + package com.splendo.kaluga.metronome import kotlinx.coroutines.flow.Flow diff --git a/metronome/src/commonMain/kotlin/MetronomeError.kt b/metronome/src/commonMain/kotlin/MetronomeError.kt index 9392aa6fb..3b8d24e0a 100644 --- a/metronome/src/commonMain/kotlin/MetronomeError.kt +++ b/metronome/src/commonMain/kotlin/MetronomeError.kt @@ -1,3 +1,20 @@ +/* + Copyright 2024 Splendo Consulting B.V. The Netherlands + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + */ + package com.splendo.kaluga.metronome sealed class MetronomeError(message: String) : Error(message) { diff --git a/metronome/src/commonMain/kotlin/MetronomeMediaPlayer.kt b/metronome/src/commonMain/kotlin/MetronomeMediaPlayer.kt index 02707de10..5d4cefd17 100644 --- a/metronome/src/commonMain/kotlin/MetronomeMediaPlayer.kt +++ b/metronome/src/commonMain/kotlin/MetronomeMediaPlayer.kt @@ -1,3 +1,20 @@ +/* + Copyright 2024 Splendo Consulting B.V. The Netherlands + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + */ + package com.splendo.kaluga.metronome interface MetronomeMediaPlayer : AutoCloseable { diff --git a/metronome/src/iosMain/kotlin/DefaultMetronomeMediaPlayer.kt b/metronome/src/iosMain/kotlin/DefaultMetronomeMediaPlayer.kt index e55ea684f..3485eb8a9 100644 --- a/metronome/src/iosMain/kotlin/DefaultMetronomeMediaPlayer.kt +++ b/metronome/src/iosMain/kotlin/DefaultMetronomeMediaPlayer.kt @@ -1,3 +1,20 @@ +/* + Copyright 2024 Splendo Consulting B.V. The Netherlands + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + */ + package com.splendo.kaluga.metronome import com.splendo.kaluga.media.MediaSource