1 /* 2 * Copyright 2021 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 #include "audio_hal_interface/hearing_aid_software_encoding.h" 18 19 namespace bluetooth { 20 namespace audio { 21 namespace hearing_aid { 22 is_hal_enabled()23bool is_hal_enabled() { return false; } 24 init(StreamCallbacks stream_cb,bluetooth::common::MessageLoopThread * message_loop)25bool init(StreamCallbacks stream_cb, 26 bluetooth::common::MessageLoopThread* message_loop) { 27 return false; 28 } 29 cleanup()30void cleanup() {} 31 start_session()32void start_session() {} 33 end_session()34void end_session() {} 35 read(uint8_t * p_buf,uint32_t len)36size_t read(uint8_t* p_buf, uint32_t len) { return 0; } 37 set_remote_delay(uint16_t delay_report_ms)38void set_remote_delay(uint16_t delay_report_ms) {} 39 40 } // namespace hearing_aid 41 } // namespace audio 42 } // namespace bluetooth 43