91 Commits

Author SHA1 Message Date
Matthias Ringwald
e0c8f71be8 example/sco_demo_util: fix audio input buffer init 2023-04-06 12:11:03 +02:00
Matthias Ringwald
d4872f4e3f example/sco_demo_util: fix warning 2023-03-02 15:59:56 +01:00
Matthias Ringwald
681cb55058 example/sco_demo_util: add support for lc3-swb
# Conflicts:
#	example/sco_demo_util.c

# Conflicts:
#	example/sco_demo_util.c

# Conflicts:
#	example/sco_demo_util.c

# Conflicts:
#	example/sco_demo_util.c
2023-03-02 11:46:14 +01:00
Matthias Ringwald
f0d95bdc33 example/sco_demo_util: replace hfp_msbc by hfp_codec 2023-03-02 11:46:14 +01:00
Matthias Ringwald
1762039c2c example/sco_demo_util: add modplayer as SCO_DEMO_MODE_MODPLAYER 2023-03-01 13:48:36 +01:00
Matthias Ringwald
9ad691b0cb example/sco_demo_util: use sample rate for sine generator and wav/audio 2023-03-01 13:48:36 +01:00
Matthias Ringwald
79cc780fc0 example/sco_demo_util: add sample rate to codec config 2023-03-01 13:48:36 +01:00
Matthias Ringwald
9582ae6476 example/sco_demo_util: set buffer size based on supported samplerate 2023-03-01 11:24:14 +01:00
Matthias Ringwald
bf958e42ac example/sco_demo_util: introduce codec_support_t 2023-02-28 17:20:21 +01:00
Matthias Ringwald
b150a47954 example/sco_demo_util: use generic audio_input_prebuffer_bytes 2023-02-28 17:20:21 +01:00
Matthias Ringwald
3cf06407e6 example/sco_demo_util: use audio generator function 2023-02-28 17:20:21 +01:00
Matthias Ringwald
b89b876f14 example/sco_demo_util: send msbc sine via audio ringbuffer 2023-02-28 17:20:21 +01:00
Matthias Ringwald
6fb1424bd8 example/sco_demo_util: send cvsd sine via audio ringbuffer 2023-02-28 17:20:21 +01:00
Matthias Ringwald
94381a6978 example/sco_demo_util: drop data test modes, restructor code 2023-02-28 17:20:21 +01:00
Milanka Ringwald
0b5a695acc example/sco_demo_util: drop ENABLE_SCO_STEREO_PLAYBACK code 2022-06-23 20:56:22 +02:00
Matthias Ringwald
f89e874b33 windows: ignore deprecated warning for fopen 2022-05-23 14:50:18 +02:00
Milanka Ringwald
2fca4dad95 license: update text 2021-11-02 09:31:00 +01:00
Matthias Ringwald
eaffacf936 esp32: enable wide-band speech, disable secure connections for hfp/hsp demos 2021-01-26 16:22:48 +01:00
Matthias Ringwald
5f4f94c7c2 example/sco_demo_util: fix packet status check 2020-06-26 15:06:31 +02:00
Matthias Ringwald
89714ad07e example/sco_demo_util: fix compile with POSIX_FILE_IO but without ENABLE_HFP_WIDE_BAND_SPEECH 2019-08-13 17:03:29 +02:00
Matthias Ringwald
e501bae083 Use BTSTACK_FILE__ without __ prefix (MISRAC2012-Rule-21.1) 2019-05-11 19:31:55 +02:00
Matthias Ringwald
abf7f0ba32 example/sco_demo_util: remove debug message about bytes in microphone buffer 2019-03-04 12:08:03 +01:00
Matthias Ringwald
dfec1b51c3 example/sco_demo_util: fix compile for non posix systems 2019-03-01 19:47:27 +01:00
Matthias Ringwald
859f2bc59e example/sco_demo_util: fix compile for non posix systems 2019-03-01 19:44:16 +01:00
Matthias Ringwald
1befbc1ef6 example/sco_demo_util: remove checks for HAVE_PORTAUDIO, fix audio playback for non-posix systems 2019-03-01 17:21:47 +01:00
Matthias Ringwald
f55ac442b0 example/sco_demo_util: ENABLE_SCO_STEREO_PLAYBACK uses stereo audio sink 2019-02-26 18:35:47 +01:00
Matthias Ringwald
d365bb511a update examples for split audio interface 2019-02-24 13:04:35 +01:00
Matthias Ringwald
400ff5ab4c hci: calculate SCO payload length based on used hci transport and voice settings, drop hacks in sco_demo_util 2019-02-03 12:08:16 +01:00
Matthias Ringwald
01b2daf8ad example/sco_demo_util: prefix ASCII test data with packet counter 2019-02-03 11:32:48 +01:00
Matthias Ringwald
d861f4bf32 example/sco_demo_util: fix compile for non-audio modes 2019-02-01 17:35:43 +01:00
Matthias Ringwald
e1de95bec8 example/sco_demo_util: validate sco_handle in sco_demo_send 2019-02-01 15:53:39 +01:00
Matthias Ringwald
7556ab9f6d example/sco_demo_util: use sine table of len 60 (266 hz at 16 kHz) 2018-11-27 15:54:03 +01:00
Matthias Ringwald
379c5f5f0f example/sco_demo_util: update to btstack_audio.h API 2018-07-20 16:13:52 +02:00
Matthias Ringwald
8d3be4021b sco_demo_util: fix signed/unsigned comparison warnings 2018-07-10 12:31:12 +02:00
Matthias Ringwald
b63d04ab57 example/sco_demo_util: use constant for mscb sample buffer 2018-04-26 13:52:25 +02:00
Milanka Ringwald
be030f500e fix comparison of integers of different signs 2017-08-11 12:14:47 +02:00
Matthias Ringwald
adaba9f340 Fix more warnings (mostly sign-compare) 2017-08-09 22:58:56 +02:00
Matthias Ringwald
249d94cf77 fix warnings: mostly sign-compare 2017-08-08 18:03:40 +02:00
Matthias Ringwald
6211b0c037 example/sco_util: fix unused var warning 2017-04-12 15:45:54 +02: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
Matthias Ringwald
1bbecc2b49 hfp: ENABLE_HFP_WIDE_BAND_SPEECH required for HFP mSBC 2017-03-20 10:59:17 +01:00
Matthias Ringwald
d4f907a637 sco_util: CVSD PLC only needed with wav writer or portaudio 2017-02-01 15:02:28 +01:00
Matthias Ringwald
2c7ae6e1fa sco_demo_util: don't stop PortAudio when WAV sample was written 2017-01-30 17:49:47 +01:00
Matthias Ringwald
e36764ddb7 sco_demo_util: fix warning 2017-01-30 15:16:42 +01:00
Matthias Ringwald
305f79c9c9 sco_util: re-enable CVSD PLC 2017-01-27 12:26:18 +01:00
Matthias Ringwald
8fd6902d67 sco_util: flip big endian samples from microphone for outgoing CVSD SCO packets 2017-01-26 22:21:12 +01:00
Matthias Ringwald
5303ddeefc sco_util: fix receive CVSD SCO data for big endian 2017-01-26 22:02:33 +01:00
Matthias Ringwald
59c97ae1ec sco_demo_util: store 8 kHz samples for CVSD/SCO packets as little endian, store 16 kHz samples for mSBC in host endianess 2017-01-26 19:27:31 +01:00
Matthias Ringwald
b025eb5fa2 sco_util: support mSBC with PortAudio input 2017-01-25 17:23:55 +01:00
Matthias Ringwald
2b89dbfc6b sco_util: send PortAudio input as CVSD 2017-01-25 16:58:03 +01:00