Git Product home page Git Product logo

Comments (3)

rom1v avatar rom1v commented on June 4, 2024

Please post the error printed in the output of adb logcat.

from sndcpy.

Zarathos1084 avatar Zarathos1084 commented on June 4, 2024

logcat.txt

This is the error that you have requested.

Thank you for taking the time to go through this. I really appreciate it.

from sndcpy.

rom1v avatar rom1v commented on June 4, 2024
07-17 09:40:44.246  4110 12967 E APM_AudioPolicyManager: Unable to find audio module for submix, aborting mix 0 registration
07-17 09:40:44.249  4390  9570 W AS.AudioService: Audio policy registration failed for binder android.media.audiopolicy.IAudioPolicyCallback$Stub$Proxy@fe8c087
07-17 09:40:44.249  4390  9570 W AS.AudioService: java.lang.IllegalStateException: Could not connect mix, error: -3
07-17 09:40:44.249  4390  9570 W AS.AudioService: 	at com.android.server.audio.AudioService$AudioPolicyProxy.<init>(AudioService.java:7389)
07-17 09:40:44.249  4390  9570 W AS.AudioService: 	at com.android.server.audio.AudioService.registerAudioPolicy(AudioService.java:6848)
07-17 09:40:44.249  4390  9570 W AS.AudioService: 	at android.media.IAudioService$Stub.onTransact(IAudioService.java:1578)
07-17 09:40:44.249  4390  9570 W AS.AudioService: 	at android.os.Binder.execTransactInternal(Binder.java:1021)
07-17 09:40:44.249  4390  9570 W AS.AudioService: 	at android.os.Binder.execTransact(Binder.java:994)
07-17 09:40:44.250 15837 15837 D AndroidRuntime: Shutting down VM
--------- beginning of crash
07-17 09:40:44.253 15837 15837 E AndroidRuntime: FATAL EXCEPTION: main
07-17 09:40:44.253 15837 15837 E AndroidRuntime: Process: com.rom1v.sndcpy, PID: 15837
07-17 09:40:44.253 15837 15837 E AndroidRuntime: java.lang.RuntimeException: Unable to start service com.rom1v.sndcpy.RecordService@3676aaa with Intent { act=com.rom1v.sndcpy.RECORD cmp=com.rom1v.sndcpy/.RecordService (has extras) }: java.lang.UnsupportedOperationException: Error: could not register audio policy
07-17 09:40:44.253 15837 15837 E AndroidRuntime: 	at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:4105)
07-17 09:40:44.253 15837 15837 E AndroidRuntime: 	at android.app.ActivityThread.access$1800(ActivityThread.java:219)
07-17 09:40:44.253 15837 15837 E AndroidRuntime: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1891)
07-17 09:40:44.253 15837 15837 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:107)
07-17 09:40:44.253 15837 15837 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:214)
07-17 09:40:44.253 15837 15837 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:7356)
07-17 09:40:44.253 15837 15837 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
07-17 09:40:44.253 15837 15837 E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
07-17 09:40:44.253 15837 15837 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
07-17 09:40:44.253 15837 15837 E AndroidRuntime: Caused by: java.lang.UnsupportedOperationException: Error: could not register audio policy
07-17 09:40:44.253 15837 15837 E AndroidRuntime: 	at android.media.AudioRecord$Builder.buildAudioPlaybackCaptureRecord(AudioRecord.java:661)
07-17 09:40:44.253 15837 15837 E AndroidRuntime: 	at android.media.AudioRecord$Builder.build(AudioRecord.java:681)
07-17 09:40:44.253 15837 15837 E AndroidRuntime: 	at com.rom1v.sndcpy.RecordService.createAudioRecord(RecordService.java:155)
07-17 09:40:44.253 15837 15837 E AndroidRuntime: 	at com.rom1v.sndcpy.RecordService.startRecording(RecordService.java:159)
07-17 09:40:44.253 15837 15837 E AndroidRuntime: 	at com.rom1v.sndcpy.RecordService.onStartCommand(RecordService.java:86)
07-17 09:40:44.253 15837 15837 E AndroidRuntime: 	at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:4087)
07-17 09:40:44.253 15837 15837 E AndroidRuntime: 	... 8 more
07-17 09:40:44.258 15837 15837 I Process : Sending signal. PID: 15837 SIG: 9

It's the same as #4 (so I'm closing as duplicate).

UnsupportedOperationException suggests that something is just not implemented in the device system.

from sndcpy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.