/btstack/3rd-party/lc3-google/include/ |
H A D | lc3.h | 47 * any supported sample rates (8 to 48 KHz). Two frames duration are 96 * --- About 44.1 KHz sample rate --- 99 * the 44.1 KHz sample rate, although there is no support in the core algorithm 101 * We can summarize the 44.1 KHz support by "You can put any sample rate around 102 * the defined base sample rates." Please mind the following items : 105 * by 'supported sample rate' / 'input sample rate' 137 * | enc = lc3_setup_encoder(frame_us, sample rate, 138 * | malloc(lc3_encoder_size(frame_us, sample rate))); 198 * LC3_CHECK_SR_HZ(sr) True when sample rate in Hz is suitable 201 * True when sample rate in Hz is suitable, according to the [all …]
|
H A D | lc3_cpp.h | 35 // PCM Sample Format 119 // The sample rate `sr_hz` is 8000, 16000, 24000, 32000 or 48000 Hz. 121 // the sample rate is 48000 or 96000 Hz. 124 // the value 0 fallback to the sample rate of the encoded stream `sr_hz`. 126 // sample rate `sr_hz`. 227 // The sample rate `sr_hz` is 8000, 16000, 24000, 32000 or 48000 Hz. 229 // the sample rate is 48000 or 96000 Hz. 232 // the value 0 fallback to the sample rate of the decoded stream `sr_hz`. 234 // sample rate `sr_hz`.
|
/btstack/src/ |
H A D | btstack_sample_rate_compensation.h | 39 * @title Sample rate compensation 41 …er-run at the audio receiver by compensating for varying/different playback/receiving sample rates. 43 …* Intended to measure the L2CAP packet sample rate and with the provided playback sample rate calc… 46 * Requires the audio interface to provide the current playback sample rate. 77 uint32_t constant_playback_sample_rate; // playback sample rate if no real one is available 85 * @brief Initialize sample rate compensation 87 * @param time stamp at which to start sample rate measurement 92 * @brief reset sample rate compensation 94 * @param time stamp at which to start sample rate measurement 99 * @brief update sample rate compensation with the current playback sample rate decoded samples [all …]
|
H A D | btstack_audio.h | 44 * requires that the sample rate is the same for sink and source roles 63 * @param Sample rate 72 * @brief Get the current playback sample rate, may differ from the 73 * specified sample rate 106 * @param Sample rate 115 * @brief Get the current recording sample rate, may differ from the
|
H A D | btstack_sample_rate_compensation.c | 63 log_debug("current playback sample rate: %" PRId32 "", playback_sample_rate ); in btstack_sample_rate_compensation_update() 78 … log_debug("current l2cap sample rate: %f (%d %d)", current_sample_rate, delta, self->count ); in btstack_sample_rate_compensation_update() 83 uint32_t fixed_rate = (self->count*(UINT16_C(1)<<15))/delta*1000; // sample rate as Q15 in btstack_sample_rate_compensation_update() 85 …log_debug("fp current l2cap sample rate: %f (%" PRId32 " %" PRId32 ")", Q15_TO_FLOAT(fixed_rate), … in btstack_sample_rate_compensation_update()
|
H A D | btstack_resample.c | 65 // samples between last sample of previous block and first sample in current block in btstack_resample_block() 85 // store last sample in btstack_resample_block()
|
H A D | btstack_util.h | 169 uint16_t sample = 0x0100; in btstack_is_big_endian() local 170 return (int) *(uint8_t*) &sample; in btstack_is_big_endian() 178 uint16_t sample = 0x0001; in btstack_is_little_endian() local 179 return (int) *(uint8_t*) &sample; in btstack_is_little_endian()
|
/btstack/3rd-party/hxcmod-player/ |
H A D | hxcmod.c | 470 // Note : Directly modify the sample in the mod buffer... in doFunk() 483 // we rename sample into a_sample to avoid shadowing typedef struct { .. } sample; from hxcmod.h in worknote() 545 // Partamento effect - Play the new note after the current sample. in worknote() 550 else // Note without period : Trigger it after the current sample. in worknote() 555 // Prepare the next sample retrigger after the current one in worknote() 561 if(cptr->nxt_replen < 2) // Protracker : don't play the sample if not looped... in worknote() 662 sample by x*16+y after each tick in the division". The in worknote() 678 sample by x*16+y after each tick in the division". Similar to [1], in worknote() 690 Where [3][x][y] means "smoothly change the period of current sample in worknote() 715 Where [4][x][y] means "oscillate the sample pitch using a in worknote() [all …]
|
/btstack/port/msp432p401lp-cc256x/ti/devices/msp432p4xx/driverlib/ |
H A D | adc14.h | 403 //! Sets the sample/hold time for the specified memory register range. The 404 //! duration of time required for a sample differs depending on the user's 442 //! Configures the ADC module to use a multiple memory sample scheme. This 444 //! multiple memory locations. The first sample/conversion will be placed in 445 //! memoryStart, while the last sample will be stored in memoryEnd. 450 //! ADC module to resume sampling once the initial sample/conversion set is 451 //! executed. For multi-sample mode, this means that the sampling of the 454 //! \param memoryStart Memory location to store first sample/conversion 457 //! \param memoryEnd Memory location to store last sample. 460 //! \param repeatMode Specifies whether or not to repeat the conversion/sample [all …]
|
/btstack/port/stm32-l451-miromico-sx1280/Drivers/STM32L4xx_HAL_Driver/Inc/ |
H A D | stm32l4xx_ll_dac.h | 55 /* - channel register offset of sample-and-hold sample time register SHSRx */ 182 …uint32_t OutputMode; /*!< Set the output mode normal or sample-and-hold for the s… 205 …_FLAG_BWST1 (DAC_SR_BWST1) /*!< DAC channel 1 flag busy writing sample time */ 211 …_FLAG_BWST2 (DAC_SR_BWST2) /*!< DAC channel 2 flag busy writing sample time */ 344 …ODE1_2) /*!< The selected DAC channel output is on mode sample-and-hold. Mode sample-and-hol… 362 …On this STM32 serie, output connection depends on output mode (normal or sample and hold) and outp… 969 * - mode normal or sample-and-hold 978 * (normal or sample and hold) and output buffer state. 984 * is disabled, output mode set to sample and hold: 987 * @note Mode sample-and-hold requires an external capacitor [all …]
|
/btstack/3rd-party/segger-rtt/ |
H A D | README.txt | 7 - Main_RTT_InputEchoApp.c - Sample application which echoes input on Channel 0. 8 … - Main_RTT_MenuApp.c - Sample application to demonstrate RTT bi-directional functionality. 9 - Main_RTT_PrintfTest.c - Sample application to test RTT small printf implementation. 10 - Main_RTT_SpeedTestApp.c - Sample application for measuring RTT performance. embOS needed.
|
/btstack/port/samv71-xplained-atwilc3000/ASF/sam/utils/cmsis/samv71/include/component/ |
H A D | afec.h | 84 __IO uint32_t AFEC_SHMR; /**< \brief (Afec Offset: 0xA0) AFEC Sample & Hold Mode Register */ 170 #define AFEC_EMR_RES_NO_AVERAGE (0x0u << 16) /**< \brief (AFEC_EMR) 12-bit resolution, AFE sample… 171 #define AFEC_EMR_RES_OSR4 (0x2u << 16) /**< \brief (AFEC_EMR) 13-bit resolution, AFE sample rate … 172 #define AFEC_EMR_RES_OSR16 (0x3u << 16) /**< \brief (AFEC_EMR) 14-bit resolution, AFE sample rate… 173 #define AFEC_EMR_RES_OSR64 (0x4u << 16) /**< \brief (AFEC_EMR) 15-bit resolution, AFE sample rate… 174 #define AFEC_EMR_RES_OSR256 (0x5u << 16) /**< \brief (AFEC_EMR) 16-bit resolution, AFE sample rat… 449 /* -------- AFEC_SHMR : (AFEC Offset: 0xA0) AFEC Sample & Hold Mode Register -------- */ 450 #define AFEC_SHMR_DUAL0 (0x1u << 0) /**< \brief (AFEC_SHMR) Dual Sample & Hold for channel 0 */ 451 #define AFEC_SHMR_DUAL1 (0x1u << 1) /**< \brief (AFEC_SHMR) Dual Sample & Hold for channel 1 */ 452 #define AFEC_SHMR_DUAL2 (0x1u << 2) /**< \brief (AFEC_SHMR) Dual Sample & Hold for channel 2 */ [all …]
|
/btstack/tool/ |
H A D | sine_table_generator.py | 6 # sample rate at 44100Hz, sine at 441Hz -> 441 sines in 44100 samples -> 44100/441 samples/sine 40 for sample in range(0,sine_num_samples): 42 angle = (sample * 360.0) / sine_num_samples
|
/btstack/example/ |
H A D | le_audio_demo_util_source.c | 224 uint16_t sample; in le_audio_demo_util_source_generate_iso_frame() local 249 for (sample = 0 ; sample < le_audio_demo_source_num_samples_per_frame ; sample++){ in le_audio_demo_util_source_generate_iso_frame() 253 … le_audio_demo_source_pcm[sample * le_audio_demo_source_num_channels + i] = value; in le_audio_demo_util_source_generate_iso_frame()
|
/btstack/3rd-party/lc3-google/python/ |
H A D | lc3.py | 57 raise ValueError("Invalid sample rate: %d Hz" % samplerate) 243 it's a vector of floating point values from -1 to 1, coding the sample 245 object, each sample coded on `bitdepth` bits (16 or 24). 369 from -1 to 1, coding the sample levels. When `bitdepth` is defined, 370 it returns a byte array, each sample coded on `bitdepth` bits.
|
/btstack/test/le_audio/ |
H A D | lc3_test.c | 278 uint16_t sample; in generate_audio() local 282 for (sample = 0 ; sample < number_samples_per_frame ; sample++){ in generate_audio() 286 pcm[sample * num_bis + channel] = value; in generate_audio()
|
H A D | README.md | 18 the `hci_uart` sample is used here over USB CDC 46 CONFIG_USB_DEVICE_PRODUCT="Zephyr HCI UART sample"
|
/btstack/port/samv71-xplained-atwilc3000/ASF/thirdparty/CMSIS/Include/ |
H A D | arm_math.h | 560 /* Convert input sample to 1.31 format */ in arm_recip_q31() 611 /* Convert input sample to 1.15 format */ in arm_recip_q15() 1269 int8_t postShift; /**< Additional shift, in bits, applied to each output sample. */ 1282 uint8_t postShift; /**< Additional shift, in bits, applied to each output sample. */ 3230 * @param[in] firstIndex is the first output sample to start with. 3251 * @param[in] firstIndex is the first output sample to start with. 3277 * @param[in] firstIndex is the first output sample to start with. 3298 * @param[in] firstIndex is the first output sample to start with. 3320 * @param[in] firstIndex is the first output sample to start with. 3346 * @param[in] firstIndex is the first output sample to start with. [all …]
|
/btstack/port/stm32-l073rz-nucleo-em9304/Drivers/CMSIS/Include/ |
H A D | arm_math.h | 582 /* Convert input sample to 1.31 format */ in arm_recip_q31() 633 /* Convert input sample to 1.15 format */ in arm_recip_q15() 1225 int8_t postShift; /**< Additional shift, in bits, applied to each output sample. */ 1236 uint8_t postShift; /**< Additional shift, in bits, applied to each output sample. */ 3072 * @param[in] firstIndex is the first output sample to start with. 3093 * @param[in] firstIndex is the first output sample to start with. 3118 * @param[in] firstIndex is the first output sample to start with. 3139 * @param[in] firstIndex is the first output sample to start with. 3160 * @param[in] firstIndex is the first output sample to start with. 3185 * @param[in] firstIndex is the first output sample to start with. [all …]
|
/btstack/port/renesas-tb-s1ja-cc256x/template/btstack_example/synergy/ssp/inc/bsp/cmsis/Include/ |
H A D | arm_math.h | 627 /* Convert input sample to 1.31 format */ in arm_recip_q31() 678 /* Convert input sample to 1.15 format */ in arm_recip_q15() 1309 int8_t postShift; /**< Additional shift, in bits, applied to each output sample. */ 1320 uint8_t postShift; /**< Additional shift, in bits, applied to each output sample. */ 3156 * @param[in] firstIndex is the first output sample to start with. 3177 * @param[in] firstIndex is the first output sample to start with. 3202 * @param[in] firstIndex is the first output sample to start with. 3223 * @param[in] firstIndex is the first output sample to start with. 3244 * @param[in] firstIndex is the first output sample to start with. 3269 * @param[in] firstIndex is the first output sample to start with. [all …]
|
/btstack/port/zephyr/ |
H A D | sample.yaml | 1 sample: 4 sample.bluetooth.btstack:
|
/btstack/platform/embedded/ |
H A D | btstack_audio_embedded.c | 108 int16_t sample = buffer[i]; in driver_timer_handler_sink() local 109 buffer[2*i + 0] = sample; in driver_timer_handler_sink() 110 buffer[2*i + 1] = sample; in driver_timer_handler_sink()
|
/btstack/src/classic/ |
H A D | btstack_sbc.h | 110 * @note each audio frame contains 2 sample values in stereo modes 194 * @brief Get sample rate in hz 239 * @note each audio frame contains 2 sample values in stereo modes
|
/btstack/test/hfp/ |
H A D | sco_demo_util.c | 160 int16_t sample = sine_int16_at_16000hz[phase]; in sco_demo_sine_wave_int16_at_8000_hz_little_endian() local 161 little_endian_store_16(data, i * 2, sample); in sco_demo_sine_wave_int16_at_8000_hz_little_endian() 162 // ony use every second sample from 16khz table to get 8khz in sco_demo_sine_wave_int16_at_8000_hz_little_endian() 300 // printf("handle_pcm_data num samples %u, sample rate %d\n", num_samples, num_channels); in handle_pcm_data() 585 …// @note We don't use (uint16_t *) casts since all sample addresses are odd which causes crahses o… in sco_demo_send()
|
/btstack/port/stm32-f4discovery-usb/port/ |
H A D | hal_audio_f4discovery.c | 111 * @param Sample rate 208 // ony use every second sample from 16khz table to get 8khz in sco_demo_sine_wave_int16_at_8000_hz_host_endian() 277 * @param Sample rate
|