androidthings / sample-googleassistant

Google Assistant API sample for Android Things
Apache License 2.0
467 stars 147 forks source link

AudioTrack releaseBuffer warning #34

Closed holachek closed 7 years ago

holachek commented 7 years ago

I have this app running on my Android Things Rpi3 (Dev Preview 4.1). When I click the button to record, I get a warning: com.example.androidthings.assistant W/AudioTrack: releaseBuffer() track 0xa71ecf00 disabled due to previous underrun, restarting

I can't get the demo to work...Could this warning be the reason? Thanks!

akbarxie commented 7 years ago

could you tell me how did you solved the problem??

holachek commented 7 years ago

I ended up having to unplug and replug the USB audio interface. Then it worked fine. Seems like there was an error in the Linux enumeration order.