Androboiceã£ã¦ã¢ããªãä½ã£ãã¨ãã®ã¡ã¢ ååã®ç¶ãã ã§ãAndroidã§ã©ããã£ã¦é²é³ãããã AudioRecordã¯ã©ã¹ã§ã¯ååã®é³ãã¼ã¿ãåå¾ã§ããã以ä¸ã³ã¼ãã // ãµã³ãã«ã¬ã¼ã 8kHz int SAMPLE_RATE = 8000; // ãã©ã° isRecoding = true; // ããã»ã¹ã®åªå 度ãä¸ãã android.os.Process.setThreadPriority( android.os.Process.THREAD_PRIORITY_URGENT_AUDIO); // ãããã¡ãµã¤ãºãæ±ãã ãµã³ãã«ã¬ã¼ã8kHz ã¢ãã©ã« 16ããã/ãµã³ãã« int audioBuf = AudioRecord.getMinBufferSize(SAMPLE_RATE, AudioFormat.CHANNEL_CONFIGURATION_MONO,
{{#tags}}- {{label}}
{{/tags}}