summaryrefslogtreecommitdiff
path: root/core/src/main/aidl
diff options
context:
space:
mode:
authorMartin Fietz <Martin.Fietz@gmail.com>2015-09-19 01:36:52 +0200
committerMartin Fietz <Martin.Fietz@gmail.com>2015-09-19 14:20:01 +0200
commit7b23dfeb506b9e62ea245671e61bf2c3be71d15c (patch)
treec86954b5fdfc76761eda93f469388aa19867e961 /core/src/main/aidl
parent155eeb49b335c134bb971a921ce16a4eff208491 (diff)
downloadAntennaPod-7b23dfeb506b9e62ea245671e61bf2c3be71d15c.zip
Move audio player classes to external library
Diffstat (limited to 'core/src/main/aidl')
-rw-r--r--core/src/main/aidl/com/aocate/presto/service/IDeathCallback_0_8.aidl18
-rw-r--r--core/src/main/aidl/com/aocate/presto/service/IOnBufferingUpdateListenerCallback_0_8.aidl19
-rw-r--r--core/src/main/aidl/com/aocate/presto/service/IOnCompletionListenerCallback_0_8.aidl19
-rw-r--r--core/src/main/aidl/com/aocate/presto/service/IOnErrorListenerCallback_0_8.aidl19
-rw-r--r--core/src/main/aidl/com/aocate/presto/service/IOnInfoListenerCallback_0_8.aidl19
-rw-r--r--core/src/main/aidl/com/aocate/presto/service/IOnPitchAdjustmentAvailableChangedListenerCallback_0_8.aidl19
-rw-r--r--core/src/main/aidl/com/aocate/presto/service/IOnPreparedListenerCallback_0_8.aidl19
-rw-r--r--core/src/main/aidl/com/aocate/presto/service/IOnSeekCompleteListenerCallback_0_8.aidl19
-rw-r--r--core/src/main/aidl/com/aocate/presto/service/IOnSpeedAdjustmentAvailableChangedListenerCallback_0_8.aidl19
-rw-r--r--core/src/main/aidl/com/aocate/presto/service/IPlayMedia_0_8.aidl75
10 files changed, 0 insertions, 245 deletions
diff --git a/core/src/main/aidl/com/aocate/presto/service/IDeathCallback_0_8.aidl b/core/src/main/aidl/com/aocate/presto/service/IDeathCallback_0_8.aidl
deleted file mode 100644
index 6bdc76801..000000000
--- a/core/src/main/aidl/com/aocate/presto/service/IDeathCallback_0_8.aidl
+++ /dev/null
@@ -1,18 +0,0 @@
-// Copyright 2011, Aocate, Inc.
-//
-// 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.aocate.presto.service;
-
-oneway interface IDeathCallback_0_8 {
-} \ No newline at end of file
diff --git a/core/src/main/aidl/com/aocate/presto/service/IOnBufferingUpdateListenerCallback_0_8.aidl b/core/src/main/aidl/com/aocate/presto/service/IOnBufferingUpdateListenerCallback_0_8.aidl
deleted file mode 100644
index 7357e402e..000000000
--- a/core/src/main/aidl/com/aocate/presto/service/IOnBufferingUpdateListenerCallback_0_8.aidl
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright 2011, Aocate, Inc.
-//
-// 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.aocate.presto.service;
-
-interface IOnBufferingUpdateListenerCallback_0_8 {
- void onBufferingUpdate(int percent);
-} \ No newline at end of file
diff --git a/core/src/main/aidl/com/aocate/presto/service/IOnCompletionListenerCallback_0_8.aidl b/core/src/main/aidl/com/aocate/presto/service/IOnCompletionListenerCallback_0_8.aidl
deleted file mode 100644
index d5edea729..000000000
--- a/core/src/main/aidl/com/aocate/presto/service/IOnCompletionListenerCallback_0_8.aidl
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright 2011, Aocate, Inc.
-//
-// 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.aocate.presto.service;
-
-interface IOnCompletionListenerCallback_0_8 {
- void onCompletion();
-} \ No newline at end of file
diff --git a/core/src/main/aidl/com/aocate/presto/service/IOnErrorListenerCallback_0_8.aidl b/core/src/main/aidl/com/aocate/presto/service/IOnErrorListenerCallback_0_8.aidl
deleted file mode 100644
index 2c4f2df3e..000000000
--- a/core/src/main/aidl/com/aocate/presto/service/IOnErrorListenerCallback_0_8.aidl
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright 2011, Aocate, Inc.
-//
-// 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.aocate.presto.service;
-
-interface IOnErrorListenerCallback_0_8 {
- boolean onError(int what, int extra);
-}
diff --git a/core/src/main/aidl/com/aocate/presto/service/IOnInfoListenerCallback_0_8.aidl b/core/src/main/aidl/com/aocate/presto/service/IOnInfoListenerCallback_0_8.aidl
deleted file mode 100644
index 9dbd1d260..000000000
--- a/core/src/main/aidl/com/aocate/presto/service/IOnInfoListenerCallback_0_8.aidl
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright 2011, Aocate, Inc.
-//
-// 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.aocate.presto.service;
-
-interface IOnInfoListenerCallback_0_8 {
- boolean onInfo(int what, int extra);
-} \ No newline at end of file
diff --git a/core/src/main/aidl/com/aocate/presto/service/IOnPitchAdjustmentAvailableChangedListenerCallback_0_8.aidl b/core/src/main/aidl/com/aocate/presto/service/IOnPitchAdjustmentAvailableChangedListenerCallback_0_8.aidl
deleted file mode 100644
index 41223a97b..000000000
--- a/core/src/main/aidl/com/aocate/presto/service/IOnPitchAdjustmentAvailableChangedListenerCallback_0_8.aidl
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright 2011, Aocate, Inc.
-//
-// 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.aocate.presto.service;
-
-interface IOnPitchAdjustmentAvailableChangedListenerCallback_0_8 {
- void onPitchAdjustmentAvailableChanged(boolean pitchAdjustmentAvailable);
-} \ No newline at end of file
diff --git a/core/src/main/aidl/com/aocate/presto/service/IOnPreparedListenerCallback_0_8.aidl b/core/src/main/aidl/com/aocate/presto/service/IOnPreparedListenerCallback_0_8.aidl
deleted file mode 100644
index 7be8f1237..000000000
--- a/core/src/main/aidl/com/aocate/presto/service/IOnPreparedListenerCallback_0_8.aidl
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright 2011, Aocate, Inc.
-//
-// 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.aocate.presto.service;
-
-interface IOnPreparedListenerCallback_0_8 {
- void onPrepared();
-} \ No newline at end of file
diff --git a/core/src/main/aidl/com/aocate/presto/service/IOnSeekCompleteListenerCallback_0_8.aidl b/core/src/main/aidl/com/aocate/presto/service/IOnSeekCompleteListenerCallback_0_8.aidl
deleted file mode 100644
index 5bdda98b6..000000000
--- a/core/src/main/aidl/com/aocate/presto/service/IOnSeekCompleteListenerCallback_0_8.aidl
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright 2011, Aocate, Inc.
-//
-// 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.aocate.presto.service;
-
-interface IOnSeekCompleteListenerCallback_0_8 {
- void onSeekComplete();
-} \ No newline at end of file
diff --git a/core/src/main/aidl/com/aocate/presto/service/IOnSpeedAdjustmentAvailableChangedListenerCallback_0_8.aidl b/core/src/main/aidl/com/aocate/presto/service/IOnSpeedAdjustmentAvailableChangedListenerCallback_0_8.aidl
deleted file mode 100644
index a69c1cf34..000000000
--- a/core/src/main/aidl/com/aocate/presto/service/IOnSpeedAdjustmentAvailableChangedListenerCallback_0_8.aidl
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright 2011, Aocate, Inc.
-//
-// 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.aocate.presto.service;
-
-interface IOnSpeedAdjustmentAvailableChangedListenerCallback_0_8 {
- void onSpeedAdjustmentAvailableChanged(boolean speedAdjustmentAvailable);
-} \ No newline at end of file
diff --git a/core/src/main/aidl/com/aocate/presto/service/IPlayMedia_0_8.aidl b/core/src/main/aidl/com/aocate/presto/service/IPlayMedia_0_8.aidl
deleted file mode 100644
index 12a6047de..000000000
--- a/core/src/main/aidl/com/aocate/presto/service/IPlayMedia_0_8.aidl
+++ /dev/null
@@ -1,75 +0,0 @@
-// Copyright 2011, Aocate, Inc.
-//
-// 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.aocate.presto.service;
-
-import com.aocate.presto.service.IDeathCallback_0_8;
-import com.aocate.presto.service.IOnBufferingUpdateListenerCallback_0_8;
-import com.aocate.presto.service.IOnCompletionListenerCallback_0_8;
-import com.aocate.presto.service.IOnErrorListenerCallback_0_8;
-import com.aocate.presto.service.IOnPitchAdjustmentAvailableChangedListenerCallback_0_8;
-import com.aocate.presto.service.IOnPreparedListenerCallback_0_8;
-import com.aocate.presto.service.IOnSeekCompleteListenerCallback_0_8;
-import com.aocate.presto.service.IOnSpeedAdjustmentAvailableChangedListenerCallback_0_8;
-import com.aocate.presto.service.IOnInfoListenerCallback_0_8;
-
-interface IPlayMedia_0_8 {
- boolean canSetPitch(long sessionId);
- boolean canSetSpeed(long sessionId);
- float getCurrentPitchStepsAdjustment(long sessionId);
- int getCurrentPosition(long sessionId);
- float getCurrentSpeedMultiplier(long sessionId);
- int getDuration(long sessionId);
- float getMaxSpeedMultiplier(long sessionId);
- float getMinSpeedMultiplier(long sessionId);
- int getVersionCode();
- String getVersionName();
- boolean isLooping(long sessionId);
- boolean isPlaying(long sessionId);
- void pause(long sessionId);
- void prepare(long sessionId);
- void prepareAsync(long sessionId);
- void registerOnBufferingUpdateCallback(long sessionId, IOnBufferingUpdateListenerCallback_0_8 cb);
- void registerOnCompletionCallback(long sessionId, IOnCompletionListenerCallback_0_8 cb);
- void registerOnErrorCallback(long sessionId, IOnErrorListenerCallback_0_8 cb);
- void registerOnInfoCallback(long sessionId, IOnInfoListenerCallback_0_8 cb);
- void registerOnPitchAdjustmentAvailableChangedCallback(long sessionId, IOnPitchAdjustmentAvailableChangedListenerCallback_0_8 cb);
- void registerOnPreparedCallback(long sessionId, IOnPreparedListenerCallback_0_8 cb);
- void registerOnSeekCompleteCallback(long sessionId, IOnSeekCompleteListenerCallback_0_8 cb);
- void registerOnSpeedAdjustmentAvailableChangedCallback(long sessionId, IOnSpeedAdjustmentAvailableChangedListenerCallback_0_8 cb);
- void release(long sessionId);
- void reset(long sessionId);
- void seekTo(long sessionId, int msec);
- void setAudioStreamType(long sessionId, int streamtype);
- void setDataSourceString(long sessionId, String path);
- void setDataSourceUri(long sessionId, in Uri uri);
- void setEnableSpeedAdjustment(long sessionId, boolean enableSpeedAdjustment);
- void setLooping(long sessionId, boolean looping);
- void setPitchStepsAdjustment(long sessionId, float pitchSteps);
- void setPlaybackPitch(long sessionId, float f);
- void setPlaybackSpeed(long sessionId, float f);
- void setSpeedAdjustmentAlgorithm(long sessionId, int algorithm);
- void setVolume(long sessionId, float left, float right);
- void start(long sessionId);
- long startSession(IDeathCallback_0_8 cb);
- void stop(long sessionId);
- void unregisterOnBufferingUpdateCallback(long sessionId, IOnBufferingUpdateListenerCallback_0_8 cb);
- void unregisterOnCompletionCallback(long sessionId, IOnCompletionListenerCallback_0_8 cb);
- void unregisterOnErrorCallback(long sessionId, IOnErrorListenerCallback_0_8 cb);
- void unregisterOnInfoCallback(long sessionId, IOnInfoListenerCallback_0_8 cb);
- void unregisterOnPitchAdjustmentAvailableChangedCallback(long sessionId, IOnPitchAdjustmentAvailableChangedListenerCallback_0_8 cb);
- void unregisterOnPreparedCallback(long sessionId, IOnPreparedListenerCallback_0_8 cb);
- void unregisterOnSeekCompleteCallback(long sessionId, IOnSeekCompleteListenerCallback_0_8 cb);
- void unregisterOnSpeedAdjustmentAvailableChangedCallback(long sessionId, IOnSpeedAdjustmentAvailableChangedListenerCallback_0_8 cb);
-} \ No newline at end of file