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,bluetooth::common::MessageLoopThread *)25bool init(StreamCallbacks /*stream_cb*/, bluetooth::common::MessageLoopThread* /*message_loop*/) { 26 return false; 27 } 28 cleanup()29void cleanup() {} 30 start_session()31void start_session() {} 32 end_session()33void end_session() {} 34 read(uint8_t *,uint32_t)35size_t read(uint8_t* /*p_buf*/, uint32_t /*len*/) { return 0; } 36 set_remote_delay(uint16_t)37void set_remote_delay(uint16_t /*delay_report_ms*/) {} 38 39 } // namespace hearing_aid 40 } // namespace audio 41 } // namespace bluetooth 42