Paul Repka

Results 4 comments of Paul Repka

It's possible to add subgraphs with custom CSS set to "fill:none,stroke:none". This essentially adds padding. For example, to fix @alexfornuto's previous chart without using `&nbsp`. ``` flowchart LR classDef subgraph_padding...

The trick is that it's adding a 2nd subgraph which takes up extra space, not actually fixing the problem. The 2nd subgraph is transparent so doesn't cover the title like...

I did this with reflection just before calling SpeechService.startListening() @RequiresApi(api = Build.VERSION_CODES.M) private static void setPreferredDeviceWithReflection(SpeechService service, AudioDeviceInfo audioDevice) { if (audioDevice == null) { Log.i(TAG, "No external mic requested");...

In my case I was using a USB mic. The code is from another project I work on and specifically targets a unique piece of hardware. https://github.com/Six15-Technologies/ST1-Examples/blob/master/vosk-speech-recognition/src/main/java/com/six15/vosk_speech_recognition/HudSpeechRecognitionHelper.java