Giter Club home page Giter Club logo

euphony's People

Contributors

aiclaudev avatar chandra-sekhar-bala avatar creative-sudo avatar dahyeonwoo avatar designe avatar dlwlstks96 avatar glunkad avatar haan823 avatar hongeunbeen avatar hyunjung-choi avatar jopopcorn avatar jsueeee avatar judemin avatar kimhaedam avatar kmsaidev avatar kuro11pow2 avatar nodobi avatar phj0407 avatar psh2849 avatar seonjk avatar serim53 avatar sunnnl avatar sunyeongan avatar win-luck avatar ycs1m1yk avatar yeonns avatar youngseokhong avatar zion830 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

euphony's Issues

Euphony 빌드에 대한 detail한 가이드 작성

초보 개발자 입장에서도 Guide를 보며 쉽게 빌드할 수 있게 친절한 설명이 필요할 것 같습니다.
스크린샷과 같은 그림 등이 들어가면 좋겠죠??

지금 버전인 0.7.1.6은 사실 라이브러리 빌드만 봤을때 엄청 간단하기 하지만
android-studio를 이용하지 않은 gradlew를 통한 빌드나 unit-test guide로의 확장이 가능할 것 같아요.

우선은 여기 issue를 통해서 팀원들과 커뮤니케이션을 하면서 전체 구성을 완성해보시구요.
내용도 어떻게 쓸지 각자 여기서 남겨가면서 작성해보면 좋겠습니다.
markdown을 연습한다는 생각으로 많이 많이 써주시면 좋을 것 같아요.

PR은 이번주 토요일 이후에 진행해보시도록 할게요 :)

[Documentation] Update PREREQUISITE

Title

PREREQUISITE

Does the document's page already exist?

https://github.com/euphony-io/euphony/blob/master/PREREQUISITE.md

What is the issue of docs?

Euphony v0.8.0.1 has been released, so below things also should be updated.

Suggest a potential alternative/fix

  • Add euphony to your project
    • Using Maven repository (build.gradle should be updated)
    • Import the aar/jar file directly (MavenCentral euphony artifact link should be updated)
    • Request permissions to users (MainActivity sample code should be updated; As android updated, requestPermissions function was deprecated)

Anything else?

No response

Can't run gtest after #103

image

After I pulled project I couldn't run gtest with error below😢

CMake Error at C:/Users/YoungHong/euphony/euphony/src/main/cpp/tests/cmake.run.test.script:7 (string):
string sub-command STRIP requires two arguments.

I'm sorry that I find it too late, but can I ask why did you put string command to outside? @kuro11pow2

image

Suggested: CharacterSet Auto Selector

Discussed in https://github.com/orgs/euphony-io/discussions/221

Originally posted by DahyeonWoo September 4, 2022
Hello, I am planning to make CharacterSet Auto Selector.

File

euphony/euphony/src/main/cpp/core/charset

  • CharsetAutoSelector.h
  • CharsetAutoSelector.cpp
  • README.md

euphony/euphony/src/main/cpp/tests/charset

  • CharsetAutoSelectorTest.cpp

Is there another name? 😀

Input & Output

  • Input: desired String value
  • Output: Return the charset showing the shortest encoding result (Charset interface)

Unit Test

  • gtest

Docs

  • Charset, ASCII, UTF, UNICODE
    • DefaultCharset, ASCIICharset, UTF-8, UTF-16, UTF-32

Support Issues Template for `sample app proposal`

This is one of the good first issue

This repository doesn't have the Sample App Proposal
We have plan to create modern issue templates that have customizable web form fields.
One of the great example is our bug report here, PR link
In this issue, we need to make Sample App Proposal's issue template

Requirement

  • title field [required]
  • description field [required]
  • contributors field [required] (who made it?)
  • repository link [required]
  • Feel free to append more field.
  • Use yaml : please read here syntax for githubs for schema, Learn YAML in Y minutes
  • Refer to below references.

References

NDK를 사용하는 API의 유닛 테스트 관련 Issue

문제점

  • 네이티브로 구현된 API를 JNI를 통해 호출되는 자바로 테스트할 때 발생함.
co.euphony.tx.TxUnitTest > tx_default_test FAILED
    java.lang.UnsatisfiedLinkError at TxUnitTest.java:20

co.euphony.tx.TxUnitTest > tx_ascii_live_fsk_test FAILED
    java.lang.NoClassDefFoundError at TxUnitTest.java:20

해결 방안

  1. AndroidTest를 사용하면 안드로이드 에뮬레이터 또는 실제 단말을 통해 테스트를 진행하기 때문에 정상 동작
    -> 그럼 이 방법이 정답이라고 볼수도 있겠지만 테스트 속도가 느리다는 단점이 있음.
  2. junit을 통한 테스트는 테스트 속도가 빠르지만 위 이슈가 계속 발생함으로 Ignore로 막아둘 예정
  3. 네이티브 API에 대한 unit test는 gtest로 전환 예정
  4. junit을 통해 테스트하는 방법은 OS에 따라 다 다르게 적용해야 함.

Suggested: Sample App Proposal about EuPI-Camera demo app

Discussed in https://github.com/orgs/euphony-io/discussions/209

Originally posted by SeonJK August 28, 2022
Hi, there!
I and @yoouyoou want to make EuPI-Camera demo app.


Apps

we will make two apps.

>Camera app

  • use CameraX library in Android Jetpack
  • when listen EuPI, do some features

>Remote control app

  • have three buttons to send EuPI (in progress)
    • send EuPI for camera capture
    • send EuPI for camera swtich
    • send EuPI for start/stop to record video
  • use Compose

[Bug] Build error with API version 28 or 30

Is there an existing issue for this?

  • I have searched the existing issues.

Would you like to work on the issue?

  • Assign this issue to me.

Describe the bug

When I tried to build the project with API version 28 or 30, I ran into some errors.

I failed to build and faced message ninja: build stopped: subcommand failed. even though test cases were all passed.

image

image

image

What I've tried as far is as follows, but they didn't work.

  1. Change API version 30 to 28.
  2. Reduce test cases.
  3. Delete /.cxx directory and rebuild.
  4. Delete euphony repository in my local storage and clone again

Expected Behavior

This is what I expected to happen.

image

Environment

- OS: Windows 10
- API level: 28, 30

Steps to reproduce

  1. Run Android Studio.
  2. Create device using API version 28 or 30.
  3. Run 'java-sample'.
  4. See all test cases are passed.
  5. See build errors.

Anything else?

I refered to these issues and discussions.

When I used Pixel XL API 32, the project completely succeed to build.

image

Proposal

I think it is good to notice users who try to build with API version 28 or 30 that the API versions can make build errors. And also, how about do not run gtest with the API versions?

[Sample App Proposal] <order-with>

What's your app name?

Order-With

Main features

  • 고객에게 메뉴 리스트 전송
  • 고객이 주문 전송 시 가게 기기에 알림

추후 업데이트

  • 주문 요청과 메뉴 요청을 주파수를 이용해서 구분

The features of the app are as follows:

[ MAIN ]

[ Receive Menu ]


[ Receive Order ]

Who made it?

Co-authored-by: @phj0407
Co-authored-by: @SeonJK
Co-authored-by: @serim53

Submit your repository link!

https://github.com/euphony-io/order-with

[Sample App Proposal] wave-pdf

What's your app name?

wave-pdf

Main features

  • Show pdf pages
  • Control pdf page move
  • We will update : ppt-version

The features of the app are as follows:

Sample App for using Euphony library - EuPI mode. You can show pdf file to viewer, and control it by controller.

Controller

In controller, you just move to control page and click button. Then, device will generate sound wave.



Viewer

1. Permmisions allow : Record Audio & Access Stroage


2. Select PDF file you want to show.


3. If you success to load PDF, device will listen automatically and move page by controller's signal.

Test

KakaoTalk_20220920_130150192 (online-video-cutter com) (1) (3) (1)

Who made it?

Co-authored-by: @phj0407 https://github.com/phj0407
Co-authored-by: @nodobi https://github.com/nodobi

Submit your repository link!

https://github.com/euphony-io/wave-ppt

Optimize Github Action

Required Skills

Github Action, CI/CD

Description

AS-IS

  • Github Action runs when only markdown files are modified. But markdown files don't affect the build process, so it is unnecessary

TO-BE

  • By using paths-ignore, commits modifying markdown files doesn't run Github Action

Support Issues Template for `feature request`

This is one of the good first issue

This repository has the old feature request template that has made by markdown
https://github.com/euphony-io/euphony/blob/master/.github/ISSUE_TEMPLATE/feature_request.md

We have plan to update modern issue templates that have customizable web form fields.
One of the great example is our bug report here, PR link

In this issue, we need to make feature request's issue template

Requirement

References

[Sample App Proposal] Waple

What's your app name?

Waple

Main features

Waple is a service that helps fast and easy Wi-Fi password sharing using sound communication Euphony.
It provides the following functions:

🧇 Wi-Fi provider

  • Set shop Wi-Fi name, password setting
  • Optional password provision via simple numeric code (PIN) input (✔You can choose if you want)

🧇 Wi-Fi user

  • Provide a password with store name information

  • Connect directly to Wi-Fi or copy password

    We will update...

  • Save the Wi-Fi history you recently received (✔Additional functionality)

The features of the app are as follows:

Who made it?

Co-authored-by: @zion830 https://github.com/zion830
Co-authored-by: @haan823 https://github.com/haan823

Submit your repository link!

https://github.com/euphony-io/waple

Clean up & Remove legacy stuff (like .idea folder)

This is one of the good first issue

In euphony repository, there is a .gitignore
https://github.com/euphony-io/euphony/blob/40b13311c7a86a0bc404cbe54a7fc5c5d2e91c8f/.gitignore

Even though they are specified in .gitignore, files that remain without being deleted are visible.
And it is determined that .gitignore needs to be updated to the latest.

For example,

  • .idea : auto-generated folder & only redundant information for IntelliJ & android-studio IDE
  • .DS_Store : auto-generated file through finder(Mac OS X)

Feel free to update .gitignore for android project & Remove all legacy stuffs

References

Suggested: Advanced Logging Idea

Discussed in https://github.com/orgs/euphony-io/discussions/204

Originally posted by zion830 August 25, 2022

Summary

When we use Euphony without RECORD_AUDIO permission, the process is killed with IllegalStateException

Full error message

java.lang.IllegalStateException: startRecording() called on an uninitialized AudioRecord

When I first saw this, it's hard to know at once that it is caused by a permission.
Even though it's already written in README, it's a pretty common mistake.
So I suggest this idea!

How to improve

  1. If listen() is called without RECORD_AUDIO permission, listen() function ends immediately to prevent death of the app
  2. Print a log requiring the permission with Log.e

Example

Before calling listen(), you should acquire RECORD_AUDIO permission.

라이브러리 사용자 입장에서의 Getting Started (Using euphony)

@euphony-io/euphonyforever-a 팀에 배정되는 첫번째 이슈입니다.

초보 개발자 입장에서도 Guide를 보며 쉽게 라이브러리를 사용할 수 있는 친절한 설명이 필요할 것 같습니다.

현재는 아래 정도로 README.md에 적혀 있어요.

image

정말 간단하게 Java에서의 사용법만 나와있는데
최근에는 kotlin 기반 안드로이드 앱이 많이 나오고 있기도 하고
이에 대한 guide도 필요한 상황입니다. (자바로 라이브러리가 구성되어 있더라도 Kotlin에서 쓰는 것이 가능합니다)

Java와 Kotlin 둘다 좀 더 디테일한 설명과
markdown을 이용해 사용자 입장에서 알아보게 정리하는 방법이 있을까요?

우선은 여기 issue를 통해서 팀원들과 커뮤니케이션을 하면서 전체 구성을 완성해보시구요.
내용도 어떻게 쓸지 각자 여기 남겨가면서 작성해보면 좋겠습니다.
markdown을 연습한다는 생각으로 많이 많이 써주시면 좋을 것 같아요.

PR은 이번주 토요일 이후에 진행해보시도록 할게요 :)
https://github.com/euphony-io/euphony#euphony-is-very-easy-to-use

Glitch sound on Continuous Phase FSK

Describe the bug
There is glitch sound on Continous Phase FSK.
it is regard to derivative of sin function.
please consider cos function to calculate proper phase difference.

Support `Ask a question` as the issues template chooser

This is the one of the good first issue

Currently, when we select the issues tab, we can see below menu.

image

  • Bug report
  • Custom issue template
  • Feature request.

Now, our plan is to make a link to discussions additionally (https://github.com/euphony-io/euphony/discussions)

Finally, we want to see like below

  • Bug report (one of the issue template)
  • Custom issue template (one of the issue template)
  • Feature request (one of the issue template)
  • Ask a question (this is what we want!)

When you're creating Ask a question, you need to follow requirement

Requirement

Please refer to below link.
https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#configuring-the-template-chooser

can't run gtest after #106

As the number of gtests increases, the build fails on API30 as it does with API28.
On API30, the build fails after 285 tests.

limitation

  • API28: 227 tests
  • API30: 285 tests

Delete duplicate menus in issues tab

This is one of the good first issue

image

As you can see, there are 2 links to open blank issue.

One is the Don't see your issue? Open a blank issue. in the lower left.
Another one is the Custom issue template.

How about deleting the Custom issue template menu?
It is overlapping, but it also seems to go against unity.

Suggested: Apply Singleton pattern to EuRxManager

Discussed in https://github.com/orgs/euphony-io/discussions/254

Originally posted by phj0407 September 13, 2022

AS-IS


While I apply Euphony library for sample app project, I find using one more object can cause malfunciton. I think applying singleton pattern to EuRxManager can prevent potential issue.

TO-DO


Now, EuRxManager have 3 constructor.

public EuRxManager() {
		mOption = EuOption.builder()
				.modeWith(EuOption.ModeType.DEFAULT)
				.encodingWith(EuOption.CodingType.BASE16)
				.modulationWith(EuOption.ModulationType.FSK)
				.build();
	}

	public EuRxManager(RxEngineType engineType) {
		rxEngineType = engineType;
		if(rxEngineType == RxEngineType.EUPHONY_NATIVE_ENGINE)
			nativeCore = EuNativeConnector.getInstance();
		else
			nativeCore = null;
	}

	public EuRxManager(EuOption.ModeType mode) {
		mOption = EuOption.builder()
				.modeWith(mode)
				.build();
	}

I think public EuRxManager(),public EuRxManager(EuOption.ModeType mode) can be combined. And initializing nativeCore can be solved seperately by add new method.



EuTxManager Singleton 적용

AS-IS

EuTxManager가 사용될때 여러 인스턴스가 생성되어 사용될 경우, 오동작을 일으킬 수 있음.

  • 예를 들어 EuPI를 여러개 추가할때 EuTxManager가 여러개가 되는 경우, EuPI가 제대로 관리가 안될 수 있음.

TO-DO

Singleton 적용을 통해 잠재 이슈를 사전에 방지한다.

Action CI에 대한 전반적인 검토 및 업데이트 필요

현재 Action CI 에서는 아래와 같은 업데이트 필요

  • 안드로이드16 버전 (OpenSLES 지원), 21 (aaudio) 만 테스트하면 됨
  • 현재 gtest로 돌아가는 Unit-test는 Android Studio에서만 테스트되었으며, Action CI에 맞게 재수정 필요

Support Issues Template for `documentation`

This is one of the good first issue

There is no Documentation issue template in this repository.
We have plan to create modern issue templates that have customizable web form fields.
One of the great example is our bug report here, PR link
In this issue, we need to make Documentation's issue template

Requirement

  • Title [required]
  • Does the documents page already exists? Please link to it [optional]
  • What is the issue of docs? [required]
  • Suggest a potential alternative/fix [required]
  • Feel free to append more field.
  • Use yaml : please read here syntax for githubs for schema, Learn YAML in Y minutes
  • Refer to below references.

References

Init error of v0.7.1.6 version using centralMaven artifact repository

Environment

Device : Pixel 3a (Android Emulator)
OS : Android 10
Android Studio : Arctic Fox | 2020.3.1

Describe the bug
When inserting EuRxManager object into the code, there's a problem that the app is terminated with fatal exception.
Initializing this object causes NoClassDefFoundError.

image

The imported Euphony is 0.7.1.6 version on the centralMaven artifact repository

implementation 'co.jbear.lib:euphony:0.7.1.6'

While looking for a way to resolve this issue, I found out that this issue may have been caused by setting 'testCoverageEnabled true' in library module.
(ref. Setting 'testCoverageEnabled true' in library module crashes app on start-up)

Fortunately, it was reflected in a084f06 recently as I looked at commit history and from the next version, it seems that this issue will not be there.
But for the unlucky person who import co.jbear.lib:euphony:0.7.1.6 like me, I thought I should report the solution to this issue.
I hope this report helps someone suffering🤣

And also, thanks to @designe comment, I got to know version prior to 0.8 is working well on jcenter.

I have no idea what's different

implementation 'euphony.lib:euphony:0.7.1.6'

and

implementation 'co.jbear.lib:euphony:0.7.1.6'

Should we add the

implementation 'co.jbear.lib:euphony:0.7.1.6'
??

library content is not different.
but,
euphony.lib:euphony:0.7.1.6 is on the jcenter
and co.jbear.lib:euphony:0.7.1.6 is on the centralMaven

We're going to use centralMaven after 0.8 version, because jcenter artifact repository was sunset last year :(
Previous uploaded version is working well on jcenter.
So, don't care about centralMaven version in v0.7.1.6

So the simplest solution is to use euphony.lib:euphony:0.7.1.6!

implementation 'euphony.lib:euphony:0.7.1.6'

라이브러리 사용자 입장에서의 Getting Started (Prerequisite)

@euphony-io/euphony-co 팀에 배정되는 첫번째 이슈입니다.

초보 개발자 입장에서도 Guide를 보며 쉽게 라이브러리를 사용할 수 있는 친절한 설명이 필요할 것 같습니다.
스크린샷과 같은 그림 등이 들어가면 좋겠죠??

현재는 아래 정도로 README.md에 적혀 있어요.

image

안드로이드 라이브러리를 사용하는 방법은 gradle에서 maven 저장소를 사용하는 방법도 있겠지만
다른 방법도 있는데 팀원들이 다같이 한번 찾아보시면서 직접 경험도 해보면 좋을 것 같구요 (라이브러리를 직접 추가해서 사용하는 방법)
reference) https://github.com/google/oboe/blob/main/docs/GettingStarted.md

우선은 여기 issue를 통해서 팀원들과 커뮤니케이션을 하면서 전체 구성을 완성해보시구요.
내용도 어떻게 쓸지 각자 여기 남겨가면서 작성해보면 좋겠습니다.
markdown을 연습한다는 생각으로 많이 많이 써주시면 좋을 것 같아요.

PR은 이번주 토요일 이후에 진행해보시도록 할게요 :)

Suggested: EuPI sample app proposal about `eupi-presentor`

Discussed in https://github.com/orgs/euphony-io/discussions/219

Originally posted by phj0407 September 2, 2022
Hello, I and @nodobi are planning to make EuPI sample app, 'eupi-presentor' , and want repository for it! We will use kotlin and compose.

App

It will have two features.

PPT Loader

PPT controler

  • send & receive EuPI for PPT page control

feat: TxRxChecker component using Tx & Rx Collaboration

Required Skills

Kotlin, Compose, Declarative Programming, UI, Component

Objective

  • Use the UI component directly through euphony library porting.
  • The component that can intuitively know whether the euphony library is operating normally.

Description

  • Title : TxRxChecker
  • using txManager & rxManager together.
  • Recognizes the result of txManager.play(1) as rxManager and outputs it immediately.
  • The time it takes to send the string (N: string length) = (2048/44100) * (2*N + 3) second ; round up
  • generateRandomString (boolean) -> if true, generate randome string & the acoustic data
    • text input will be fullfilled automatically
    • text input component will be disabled
    • play will be activated

An exception case during run Base32 gtest

Thanks to @kuro11pow2 , I find an bug during Base32 gtest!

TestParamType(std::vector<u_int8_t>{ 0x10, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0 }, "100000000")

It is a special case because it goes 1 00000000000000000000 00000000000000000000. And when 00000000000000000000 enters the bitsToBase32 function, nothing happens because of the condition of while loop while(value != 0).

The best way I think is to add exception code to catch 00000000000000000000input case.

if(!value)result = "0000";

Because it is an unusual case.

I'm really appreciate to 'kuro11pow2' for making a sharp test case.
Please give me some solution or I'll make PR with my solution.

euphony build success, even if test code has problem

Environment

  • Windows 10
  • Android Studio 4.2.2
  • git pull euphony master code

How to reproduce

  • git pull euphony master
  • build euphony with no devices connected (build successful)
  • modify test code
    • test code: euphony/src/main/cpp/tests/base16Test.cpp
    • change line 32 like below:
      TestParamType(std::vector<u_int8_t>{ 0x61 }, "621"),
  • connect android device (Galaxy S20 FE)
  • build euphony with device connected
    image
  • build is successful (It should be failed!!)

Question

Why build success, even if test code has problem?
How can I resolve this?

Suggested: Apply Singleton pattern to EuTxManager

Discussed in https://github.com/orgs/euphony-io/discussions/259

Originally posted by SeonJK September 18, 2022

AS-IS

While using EuTxManager with multiple instances, they cause wrong execution.
For example, adding multiple EuTxManager due to add multiple EuPI, app cannot easily manage EuPI.

TO-DO

By applying Singleton pattern, code prevents from several issues.

image


I suggest singleton pattern by Bill Pugh solution. It makes sure Thread-safe.

Applying singleton pattern by @volatile and @synchronized causes performance decreasement.
However by Bill Pugh solution, EuTxManager class makes singleton through Holder class. Holder class makes sure to load once.

References:

EuOption에 대한 리펙토링 니즈

Issue 원인

  • EuOption 클래스는 모두 동일하게 쓰여진다. 만들어진 EuOption은 동일하게 사용되기 때문에 Singleton으로 한번만 생성된 후 이를 공유하는 것이 효율성 측면에서 적합하다고 판단된다.
  • 또한 사용성 측면에서 어려움이 있을 수 있으므로 Builder 패턴으로 사용자 입장에서 정리되면 좋을 것 같다.

해결책

EuOption의 Singleton 패턴 적용

Minimum version of Android SDK

This project does not specify a minimum version of Android.
Is the library also available in Android 7.0 (API level 24)? Please specify the minimum version in README.

이 프로젝트에는 안드로이드 최소 버전이 명시되어 있지 않습니다.
안드로이드 API 24 버전에서도 라이브러리 사용이 가능합니까? README에 최소 버전을 명시해주었으면 좋겠습니다.

[Sample App Proposal] wave-show-card

What's your app name?

wave-show-card

Main features

(Visually Impaired)

  • When a visually impaired person clicks the web show card, the show card transmits sound waves.
  • When a visually impaired person brings the app near the show card, the app receives the sound waves of the show card, interprets the content, and plays it as a sound.

(Clerk)

  • The clerk can save and modify the contents of the show card using a web socket.

The features of the app are as follows:

ezgif com-gif-maker

  1. 점원이 웹 쇼카드에 상품명(cap), 가격정보(1)를 입력한다.
  2. 웹 쇼카드에서 음파신호를 송신한다.
  3. 앱에서 음파신호를 수신 후 음성으로 출력한다.

Who made it?

Co-authored-by: @sunyeongan @Han-D-Peter @defwdahyun0

Submit your repository link!

https://github.com/euphony-io/wave-show-card

euphony build fails, when multiple devices are connected

Environment

  • Windows 10
  • Android Studio 4.2.2
  • git pull euphony master code

How to reproduce

  • git pull euphony master
  • build euphony with device (Galaxy S20 FE) - build success
  • build euphony with devices (Galaxy S20 FE & AVD)
  • build fails

Question

Why build fails, when multiple devices are connected?
How can I resolve this?

Suggested: listen timeout

Idea

interface

https://github.com/euphony-io/euphony/blob/master/euphony/src/main/java/co/euphony/rx/EuRxManager.java

listen(timeout: Long = 0L)

References

EuPI is not working after calling 38 times

Normal EuPI Log

2021-09-30 16:50:57.476 8924-8924/co.jbear.euphony_speaker I/OboeAudio: openStream() OUTPUT -------- OboeVersion1.6.1 --------
2021-09-30 16:50:57.476 8924-8924/co.jbear.euphony_speaker I/AAudio: AAudioStreamBuilder_openStream() called ----------------------------------------
2021-09-30 16:50:57.476 8924-8924/co.jbear.euphony_speaker I/AudioStreamBuilder: rate   =  44100, channels  = 1, format   = 5, sharing = EX, dir = OUTPUT
2021-09-30 16:50:57.476 8924-8924/co.jbear.euphony_speaker I/AudioStreamBuilder: device =      0, sessionId = -1, perfMode = 12, callback: ON with frames = 0
2021-09-30 16:50:57.476 8924-8924/co.jbear.euphony_speaker I/AudioStreamBuilder: usage  =      1, contentType = 2, inputPreset = 6, allowedCapturePolicy = 0
2021-09-30 16:50:57.476 8924-8924/co.jbear.euphony_speaker I/AudioStreamBuilder: privacy sensitive = false
2021-09-30 16:50:57.477 8924-8924/co.jbear.euphony_speaker D/euphony_speake: PlayerBase::PlayerBase()
2021-09-30 16:50:57.482 8924-8924/co.jbear.euphony_speaker D/AudioStreamInternal_Client: open() - openStream() returned -889, try switching from MONO to STEREO
2021-09-30 16:50:57.483 8924-8924/co.jbear.euphony_speaker D/euphony_speake: PlayerBase::~PlayerBase()
2021-09-30 16:50:57.483 8924-8924/co.jbear.euphony_speaker D/euphony_speake: PlayerBase::PlayerBase()
2021-09-30 16:50:57.483 8924-8924/co.jbear.euphony_speaker D/AudioStreamTrack: open(), request notificationFrames = -8, frameCount = 0
2021-09-30 16:50:57.485 8924-8924/co.jbear.euphony_speaker D/AudioTrack: createTrack_l(0): AUDIO_OUTPUT_FLAG_FAST denied by server; frameCount 0 -> 1764
2021-09-30 16:50:57.485 8924-8924/co.jbear.euphony_speaker I/AudioTrack: Need throttle time for OpenSLES player
2021-09-30 16:50:57.485 8924-8924/co.jbear.euphony_speaker D/AudioTrack: setVolume(1.000000, 1.000000) pid : 8924
2021-09-30 16:50:57.485 8924-8924/co.jbear.euphony_speaker D/AAudioStream: setState(s#6) from 0 to 2
2021-09-30 16:50:57.488 8924-8924/co.jbear.euphony_speaker W/AudioStreamTrack: open() flags changed from 0x00000104 to 0x00000000
2021-09-30 16:50:57.488 8924-8924/co.jbear.euphony_speaker W/AudioStreamTrack: open() perfMode changed from 12 to 10
2021-09-30 16:50:57.489 8924-8924/co.jbear.euphony_speaker I/AAudio: AAudioStreamBuilder_openStream() returns 0 = AAUDIO_OK for s#6 ----------------
2021-09-30 16:50:57.489 8924-8924/co.jbear.euphony_speaker D/AAudio: AAudioStream_requestStart(s#6) called --------------
2021-09-30 16:50:57.489 8924-8924/co.jbear.euphony_speaker D/AAudioStream: setState(s#6) from 2 to 3
2021-09-30 16:50:57.491 8924-8924/co.jbear.euphony_speaker D/euphony_speake: PlayerBase::start() from IPlayer
2021-09-30 16:50:57.492 8924-9540/co.jbear.euphony_speaker D/AudioStreamLegacy: onAudioDeviceUpdate() devId 3 => 3
2021-09-30 16:50:57.492 8924-8924/co.jbear.euphony_speaker D/AAudio: AAudioStream_requestStart(s#6) returned 0 ---------
2021-09-30 16:50:57.492 8924-8924/co.jbear.euphony_speaker D/NDK_TEST: EUPHONY / EpnyTxEngine: OK

Abnormal EuPI Log After calling 38 times

021-09-30 16:54:36.250 8924-8924/co.jbear.euphony_speaker I/OboeAudio: openStream() OUTPUT -------- OboeVersion1.6.1 --------
2021-09-30 16:54:36.250 8924-8924/co.jbear.euphony_speaker I/AAudio: AAudioStreamBuilder_openStream() called ----------------------------------------
2021-09-30 16:54:36.251 8924-8924/co.jbear.euphony_speaker I/AudioStreamBuilder: rate   =  44100, channels  = 1, format   = 5, sharing = EX, dir = OUTPUT
2021-09-30 16:54:36.251 8924-8924/co.jbear.euphony_speaker I/AudioStreamBuilder: device =      0, sessionId = -1, perfMode = 12, callback: ON with frames = 0
2021-09-30 16:54:36.251 8924-8924/co.jbear.euphony_speaker I/AudioStreamBuilder: usage  =      1, contentType = 2, inputPreset = 6, allowedCapturePolicy = 0
2021-09-30 16:54:36.251 8924-8924/co.jbear.euphony_speaker I/AudioStreamBuilder: privacy sensitive = false
2021-09-30 16:54:36.251 8924-8924/co.jbear.euphony_speaker D/euphony_speake: PlayerBase::PlayerBase()
2021-09-30 16:54:36.255 8924-8924/co.jbear.euphony_speaker D/AudioStreamInternal_Client: open() - openStream() returned -889, try switching from MONO to STEREO
2021-09-30 16:54:36.257 8924-8924/co.jbear.euphony_speaker D/euphony_speake: PlayerBase::~PlayerBase()
2021-09-30 16:54:36.257 8924-8924/co.jbear.euphony_speaker D/euphony_speake: PlayerBase::PlayerBase()
2021-09-30 16:54:36.257 8924-8924/co.jbear.euphony_speaker D/AudioStreamTrack: open(), request notificationFrames = -8, frameCount = 0
2021-09-30 16:54:36.260 8924-8924/co.jbear.euphony_speaker E/IAudioFlinger: createTrack returned error -12
2021-09-30 16:54:36.260 8924-8924/co.jbear.euphony_speaker E/AudioTrack: createTrack_l(0): AudioFlinger could not create track, status: -12 output 0
2021-09-30 16:54:36.260 8924-8924/co.jbear.euphony_speaker W/AudioTrack: removeAudioDeviceCallback removing different callback!
2021-09-30 16:54:36.260 8924-8924/co.jbear.euphony_speaker D/AAudioStream: setState(s#88) from 0 to 11
2021-09-30 16:54:36.260 8924-8924/co.jbear.euphony_speaker D/AudioTrack: gather(): no metrics gathered, track status=-12
2021-09-30 16:54:36.260 8924-8924/co.jbear.euphony_speaker D/AAudioStream: setState(s#88) from 11 to 12
2021-09-30 16:54:36.260 8924-8924/co.jbear.euphony_speaker E/AudioStreamTrack: open(), initCheck() returned -12
2021-09-30 16:54:36.260 8924-8924/co.jbear.euphony_speaker D/euphony_speake: PlayerBase::~PlayerBase()
2021-09-30 16:54:36.260 8924-8924/co.jbear.euphony_speaker I/AAudio: AAudioStreamBuilder_openStream() returns -896 = AAUDIO_ERROR_INTERNAL for s#0 ----------------
2021-09-30 16:54:36.260 8924-8924/co.jbear.euphony_speaker E/NDK_TEST: Error creating playback stream. Error: ErrorInternal

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.