Java 一个计时器能比1毫秒快吗
我想从模拟设备中采集声音,并使用定时器。但是,使用Android API,您可以以毫秒为单位设置等待和延迟。比如说Java 一个计时器能比1毫秒快吗,java,android,timer,frequency,Java,Android,Timer,Frequency,我想从模拟设备中采集声音,并使用定时器。但是,使用Android API,您可以以毫秒为单位设置等待和延迟。比如说 schedule(TimerTask task, Date firstTime, long period)//period in milliseconds Schedules the specified task for repeated fixed-delay execution, beginning at the specified time. 这意味着我的速度不能超过1ms
schedule(TimerTask task, Date firstTime, long period)//period in milliseconds
Schedules the specified task for repeated fixed-delay execution, beginning at the specified time.
这意味着我的速度不能超过1ms(即1kHz)
这是真的吗 这是真的。这是一个系统定义的时间段