17 Commits

Author SHA1 Message Date
Matthias Ringwald
c1b6583a19 posix: fix warnings 2024-12-16 11:30:39 +01:00
Matthias Ringwald
f89e874b33 windows: ignore deprecated warning for fopen 2022-05-23 14:50:18 +02:00
Matthias Ringwald
4016785cc3 posix/wav_util: fix warnings 2022-05-09 14:01:20 +02:00
Matthias Ringwald
86d6811aca posix/wav_util: use fopen/fread for wav_reader 2022-05-09 13:49:55 +02:00
Matthias Ringwald
d3c765a367 wav_util: handle write after close gracefully 2022-03-09 19:13:15 +01:00
Matthias Ringwald
e2bf7a9a29 posix/wav_util: add wav_reader_get_num_channels and wav_reader_get_sampling_rate 2022-02-23 18:02:04 +01:00
Milanka Ringwald
2fca4dad95 license: update text 2021-11-02 09:31:00 +01:00
Matthias Ringwald
90af00b83e posix/wav_util: reset wav file pointer after closing it 2021-04-13 09:55:55 +02:00
Matthias Ringwald
e501bae083 Use BTSTACK_FILE__ without __ prefix (MISRAC2012-Rule-21.1) 2019-05-11 19:31:55 +02:00
Milanka Ringwald
74c22f758c wav writter: check if wav file exists, prevent access to NULL pointer 2017-12-22 23:50:42 +01:00
Matthias Ringwald
ab2c6ae4b7 tool: add update_filename.py that adds __BTSTACK_FILE__ to every .c file for use with debug output instead of __FILE__ 2017-03-24 23:39:20 +01:00
Milanka Ringwald
747ec64600 a2dp: avdtp source sends sbc frames at constant speed
a2dp: introduce context, move common code to avdtp.c

a2dp: wrap source functionality

a2dp: enable packet handler

a2dp: draft implemetation source open stream

avrcp: add streaming connection opened/released events

avdtp source: introduce timer for storing audio data at const fr., encode into sbc, and prepare for sending

wav_util: fix return of wav_reader_read_int16

sbc: rename sbc to msbc test

sbc: improve usage output

sbc: fix makefile

sbc: remove hardcoded bitrate

avdtp: add encode/decode sine example without using ring buffer

avdtp: move ring buffer to stream endpoint

avdtp: add encode/decode test with ring buffer

sbc: use btstack_sbc_encoder_num_audio_frames - 1 audio frame contains 1 audio sample for mono and 2 for stereo

sbc: use btstack_sbc_encoder_num_audio_frames - 1 audio frame contains 1 audio sample for mono and 2 for stereo

sbc: revert sample counting

avdtp: source sending correct audio first time

avdtp: shorter timer for audio generation gets correct stream

avdtp: set state to AVDTP_STREAM_ENDPOINT_STREAMING_W2_SEND when more data is ready

avdtp: introduce transport category as mandatory

avdtp: introduce transport category as mandatory
2017-03-20 11:43:41 +01:00
Matthias Ringwald
92abe7b913 wav_util: wav_writer_write_int16 expects samples in host endianess, wav_writer_write_le_int16 expected little endian format 2017-01-26 22:00:02 +01:00
Milanka Ringwald
6f91db60fb hfp test: cleanup data folder, remove printf 2016-11-16 11:21:23 +01:00
Matthias Ringwald
35fd3fb9bc sco_util: move sine generation into sco_util 2016-11-11 14:06:23 +01:00
Milanka Ringwald
fbc7c9f2bc sco utils: use wav util 2016-09-19 14:40:47 +02:00
Milanka Ringwald
abc9118691 refactoring wav utils 2016-09-14 17:30:47 +02:00