Commit Graph

8 Commits

Author SHA1 Message Date
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