ex
Fork of mbed-os-example-mbed5-blinky by
dcs-sdk-java-master/app/src/main/java/com/baidu/duer/dcs/systeminterface/IAudioRecord.java@45:2aa9f933c8d2, 2017-07-18 (annotated)
- Committer:
- TMBOY
- Date:
- Tue Jul 18 16:34:48 2017 +0800
- Revision:
- 45:2aa9f933c8d2
?
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| TMBOY | 45:2aa9f933c8d2 | 1 | /* |
| TMBOY | 45:2aa9f933c8d2 | 2 | * * |
| TMBOY | 45:2aa9f933c8d2 | 3 | * Copyright (c) 2017 Baidu, Inc. All Rights Reserved. |
| TMBOY | 45:2aa9f933c8d2 | 4 | * |
| TMBOY | 45:2aa9f933c8d2 | 5 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| TMBOY | 45:2aa9f933c8d2 | 6 | * you may not use this file except in compliance with the License. |
| TMBOY | 45:2aa9f933c8d2 | 7 | * You may obtain a copy of the License at |
| TMBOY | 45:2aa9f933c8d2 | 8 | * |
| TMBOY | 45:2aa9f933c8d2 | 9 | * http://www.apache.org/licenses/LICENSE-2.0 |
| TMBOY | 45:2aa9f933c8d2 | 10 | * |
| TMBOY | 45:2aa9f933c8d2 | 11 | * Unless required by applicable law or agreed to in writing, software |
| TMBOY | 45:2aa9f933c8d2 | 12 | * distributed under the License is distributed on an "AS IS" BASIS, |
| TMBOY | 45:2aa9f933c8d2 | 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| TMBOY | 45:2aa9f933c8d2 | 14 | * See the License for the specific language governing permissions and |
| TMBOY | 45:2aa9f933c8d2 | 15 | * limitations under the License. |
| TMBOY | 45:2aa9f933c8d2 | 16 | */ |
| TMBOY | 45:2aa9f933c8d2 | 17 | package com.baidu.duer.dcs.systeminterface; |
| TMBOY | 45:2aa9f933c8d2 | 18 | |
| TMBOY | 45:2aa9f933c8d2 | 19 | /** |
| TMBOY | 45:2aa9f933c8d2 | 20 | * 录音采集接口 |
| TMBOY | 45:2aa9f933c8d2 | 21 | * <p> |
| TMBOY | 45:2aa9f933c8d2 | 22 | * Created by guxiuzhong@baidu.com on 2017/6/26. |
| TMBOY | 45:2aa9f933c8d2 | 23 | */ |
| TMBOY | 45:2aa9f933c8d2 | 24 | public interface IAudioRecord { |
| TMBOY | 45:2aa9f933c8d2 | 25 | /** |
| TMBOY | 45:2aa9f933c8d2 | 26 | * 开始录音,采集音频数据 |
| TMBOY | 45:2aa9f933c8d2 | 27 | */ |
| TMBOY | 45:2aa9f933c8d2 | 28 | void startRecord(); |
| TMBOY | 45:2aa9f933c8d2 | 29 | |
| TMBOY | 45:2aa9f933c8d2 | 30 | /** |
| TMBOY | 45:2aa9f933c8d2 | 31 | * 停止录音 |
| TMBOY | 45:2aa9f933c8d2 | 32 | */ |
| TMBOY | 45:2aa9f933c8d2 | 33 | void stopRecord(); |
| TMBOY | 45:2aa9f933c8d2 | 34 | } |
