Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio routing #25

Open
marcusbirkin opened this issue Dec 16, 2019 · 1 comment
Open

Audio routing #25

marcusbirkin opened this issue Dec 16, 2019 · 1 comment

Comments

@marcusbirkin
Copy link

As the monkeyboard outputs audio to a 3.5mm jack, and not over USB; if the board was connected to the line-in/mic-in of a USB sound card, would it be possible for the application to setup audio routing withing Android. Directing the audio input to the speakers or USB sound card?

@freshollie
Copy link
Owner

Hi,

It is possible to do, but without the hardware it would not be easy for me to develop or test. Does the sound device just appear as a microphone input?

If you wanted to have a go with development, you would just need to relay the bytes from the microphone buffer to the speaker.

The RadioPlayerService controls playback, so the functionality would need to be added there: https://github.com/freshollie/monkeyboard-radio-android/blob/master/app/src/main/java/com/freshollie/monkeyboard/keystoneradio/playback/RadioPlayerService.java

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants