├── Makefile ├── components ├── MerusAudio │ ├── MerusAudio.c │ ├── component.mk │ └── include │ │ ├── MerusAudio.h │ │ └── ma120x0.h ├── audio_player │ ├── audio_player.c │ ├── component.mk │ └── include │ │ └── audio_player.h ├── audio_renderer │ ├── audio_renderer.c │ ├── component.mk │ └── include │ │ └── audio_renderer.h ├── bt_speaker │ ├── bt_app_av.c │ ├── bt_app_av.h │ ├── bt_app_core.c │ ├── bt_app_core.h │ ├── bt_speaker.c │ ├── component.mk │ └── include │ │ └── bt_speaker.h ├── common │ ├── common_buffer.c │ ├── component.mk │ └── include │ │ ├── common_buffer.h │ │ ├── common_component.h │ │ └── common_utils.h ├── controls │ ├── component.mk │ ├── controls.c │ └── include │ │ └── controls.h ├── fdk-aac │ ├── component.mk │ ├── libAACdec │ │ ├── include │ │ │ └── aacdecoder_lib.h │ │ └── src │ │ │ ├── aac_ram.cpp │ │ │ ├── aac_ram.h │ │ │ ├── aac_rom.cpp │ │ │ ├── aac_rom.h │ │ │ ├── aacdec_drc.cpp │ │ │ ├── aacdec_drc.h │ │ │ ├── aacdec_drc_types.h │ │ │ ├── aacdec_hcr.cpp │ │ │ ├── aacdec_hcr.h │ │ │ ├── aacdec_hcr_bit.cpp │ │ │ ├── aacdec_hcr_bit.h │ │ │ ├── aacdec_hcr_types.h │ │ │ ├── aacdec_hcrs.cpp │ │ │ ├── aacdec_hcrs.h │ │ │ ├── aacdec_pns.cpp │ │ │ ├── aacdec_pns.h │ │ │ ├── aacdec_tns.cpp │ │ │ ├── aacdec_tns.h │ │ │ ├── aacdecoder.cpp │ │ │ ├── aacdecoder.h │ │ │ ├── aacdecoder_lib.cpp │ │ │ ├── block.cpp │ │ │ ├── block.h │ │ │ ├── channel.cpp │ │ │ ├── channel.h │ │ │ ├── channelinfo.cpp │ │ │ ├── channelinfo.h │ │ │ ├── conceal.cpp │ │ │ ├── conceal.h │ │ │ ├── conceal_types.h │ │ │ ├── debug.h │ │ │ ├── ldfiltbank.cpp │ │ │ ├── ldfiltbank.h │ │ │ ├── overlapadd.h │ │ │ ├── pulsedata.cpp │ │ │ ├── pulsedata.h │ │ │ ├── rvlc.cpp │ │ │ ├── rvlc.h │ │ │ ├── rvlc_info.h │ │ │ ├── rvlcbit.cpp │ │ │ ├── rvlcbit.h │ │ │ ├── rvlcconceal.cpp │ │ │ ├── rvlcconceal.h │ │ │ ├── stereo.cpp │ │ │ └── stereo.h │ ├── libAACenc │ │ ├── include │ │ │ └── aacenc_lib.h │ │ └── src │ │ │ ├── aacEnc_ram.cpp │ │ │ ├── aacEnc_ram.h │ │ │ ├── aacEnc_rom.cpp │ │ │ ├── aacEnc_rom.h │ │ │ ├── aacenc.cpp │ │ │ ├── aacenc.h │ │ │ ├── aacenc_lib.cpp │ │ │ ├── aacenc_pns.cpp │ │ │ ├── aacenc_pns.h │ │ │ ├── aacenc_tns.cpp │ │ │ ├── aacenc_tns.h │ │ │ ├── adj_thr.cpp │ │ │ ├── adj_thr.h │ │ │ ├── adj_thr_data.h │ │ │ ├── band_nrg.cpp │ │ │ ├── band_nrg.h │ │ │ ├── bandwidth.cpp │ │ │ ├── bandwidth.h │ │ │ ├── bit_cnt.cpp │ │ │ ├── bit_cnt.h │ │ │ ├── bitenc.cpp │ │ │ ├── bitenc.h │ │ │ ├── block_switch.cpp │ │ │ ├── block_switch.h │ │ │ ├── channel_map.cpp │ │ │ ├── channel_map.h │ │ │ ├── chaosmeasure.cpp │ │ │ ├── chaosmeasure.h │ │ │ ├── dyn_bits.cpp │ │ │ ├── dyn_bits.h │ │ │ ├── grp_data.cpp │ │ │ ├── grp_data.h │ │ │ ├── intensity.cpp │ │ │ ├── intensity.h │ │ │ ├── interface.h │ │ │ ├── line_pe.cpp │ │ │ ├── line_pe.h │ │ │ ├── metadata_compressor.cpp │ │ │ ├── metadata_compressor.h │ │ │ ├── metadata_main.cpp │ │ │ ├── metadata_main.h │ │ │ ├── ms_stereo.cpp │ │ │ ├── ms_stereo.h │ │ │ ├── noisedet.cpp │ │ │ ├── noisedet.h │ │ │ ├── pns_func.h │ │ │ ├── pnsparam.cpp │ │ │ ├── pnsparam.h │ │ │ ├── pre_echo_control.cpp │ │ │ ├── pre_echo_control.h │ │ │ ├── psy_configuration.cpp │ │ │ ├── psy_configuration.h │ │ │ ├── psy_const.h │ │ │ ├── psy_data.h │ │ │ ├── psy_main.cpp │ │ │ ├── psy_main.h │ │ │ ├── qc_data.h │ │ │ ├── qc_main.cpp │ │ │ ├── qc_main.h │ │ │ ├── quantize.cpp │ │ │ ├── quantize.h │ │ │ ├── sf_estim.cpp │ │ │ ├── sf_estim.h │ │ │ ├── spreading.cpp │ │ │ ├── spreading.h │ │ │ ├── tns_func.h │ │ │ ├── tonality.cpp │ │ │ ├── tonality.h │ │ │ ├── transform.cpp │ │ │ └── transform.h │ ├── libFDK │ │ ├── include │ │ │ ├── FDK_archdef.h │ │ │ ├── FDK_bitbuffer.h │ │ │ ├── FDK_bitstream.h │ │ │ ├── FDK_core.h │ │ │ ├── FDK_crc.h │ │ │ ├── FDK_hybrid.h │ │ │ ├── FDK_tools_rom.h │ │ │ ├── FDK_trigFcts.h │ │ │ ├── abs.h │ │ │ ├── autocorr2nd.h │ │ │ ├── clz.h │ │ │ ├── common_fix.h │ │ │ ├── cplx_mul.h │ │ │ ├── dct.h │ │ │ ├── fft.h │ │ │ ├── fft_rad2.h │ │ │ ├── fixmadd.h │ │ │ ├── fixminmax.h │ │ │ ├── fixmul.h │ │ │ ├── fixpoint_math.h │ │ │ ├── mdct.h │ │ │ ├── qmf.h │ │ │ ├── scale.h │ │ │ ├── scramble.h │ │ │ └── xtensa │ │ │ │ ├── abs_xtensa.h │ │ │ │ ├── clz_xtensa.h │ │ │ │ └── fixmul_xtensa.h │ │ └── src │ │ │ ├── FDK_bitbuffer.cpp │ │ │ ├── FDK_core.cpp │ │ │ ├── FDK_crc.cpp │ │ │ ├── FDK_hybrid.cpp │ │ │ ├── FDK_tools_rom.cpp │ │ │ ├── FDK_trigFcts.cpp │ │ │ ├── autocorr2nd.cpp │ │ │ ├── dct.cpp │ │ │ ├── fft.cpp │ │ │ ├── fft_rad2.cpp │ │ │ ├── fixpoint_math.cpp │ │ │ ├── mdct.cpp │ │ │ ├── qmf.cpp │ │ │ └── scale.cpp │ ├── libMpegTPDec │ │ ├── include │ │ │ ├── mpegFileRead.h │ │ │ ├── tp_data.h │ │ │ └── tpdec_lib.h │ │ └── src │ │ │ ├── mpegFileFormat.h │ │ │ ├── tpdec_adif.cpp │ │ │ ├── tpdec_adif.h │ │ │ ├── tpdec_adts.cpp │ │ │ ├── tpdec_adts.h │ │ │ ├── tpdec_asc.cpp │ │ │ ├── tpdec_drm.cpp │ │ │ ├── tpdec_drm.h │ │ │ ├── tpdec_latm.cpp │ │ │ ├── tpdec_latm.h │ │ │ ├── tpdec_lib.cpp │ │ │ └── version │ ├── libMpegTPEnc │ │ ├── include │ │ │ ├── mpegFileWrite.h │ │ │ ├── tp_data.h │ │ │ └── tpenc_lib.h │ │ └── src │ │ │ ├── tpenc_adif.cpp │ │ │ ├── tpenc_adif.h │ │ │ ├── tpenc_adts.cpp │ │ │ ├── tpenc_adts.h │ │ │ ├── tpenc_asc.cpp │ │ │ ├── tpenc_asc.h │ │ │ ├── tpenc_latm.cpp │ │ │ ├── tpenc_latm.h │ │ │ ├── tpenc_lib.cpp │ │ │ └── version │ ├── libPCMutils │ │ ├── include │ │ │ ├── limiter.h │ │ │ └── pcmutils_lib.h │ │ └── src │ │ │ ├── limiter.cpp │ │ │ └── pcmutils_lib.cpp │ ├── libSBRdec │ │ ├── include │ │ │ └── sbrdecoder.h │ │ └── src │ │ │ ├── env_calc.cpp │ │ │ ├── env_calc.h │ │ │ ├── env_dec.cpp │ │ │ ├── env_dec.h │ │ │ ├── env_extr.cpp │ │ │ ├── env_extr.h │ │ │ ├── huff_dec.cpp │ │ │ ├── huff_dec.h │ │ │ ├── lpp_tran.cpp │ │ │ ├── lpp_tran.h │ │ │ ├── psbitdec.cpp │ │ │ ├── psbitdec.h │ │ │ ├── psdec.cpp │ │ │ ├── psdec.h │ │ │ ├── psdec_hybrid.cpp │ │ │ ├── psdec_hybrid.h │ │ │ ├── sbr_crc.cpp │ │ │ ├── sbr_crc.h │ │ │ ├── sbr_deb.cpp │ │ │ ├── sbr_deb.h │ │ │ ├── sbr_dec.cpp │ │ │ ├── sbr_dec.h │ │ │ ├── sbr_ram.cpp │ │ │ ├── sbr_ram.h │ │ │ ├── sbr_rom.cpp │ │ │ ├── sbr_rom.h │ │ │ ├── sbr_scale.h │ │ │ ├── sbrdec_drc.cpp │ │ │ ├── sbrdec_drc.h │ │ │ ├── sbrdec_freq_sca.cpp │ │ │ ├── sbrdec_freq_sca.h │ │ │ ├── sbrdecoder.cpp │ │ │ └── transcendent.h │ ├── libSBRenc │ │ ├── include │ │ │ └── sbr_encoder.h │ │ └── src │ │ │ ├── bit_sbr.cpp │ │ │ ├── bit_sbr.h │ │ │ ├── cmondata.h │ │ │ ├── code_env.cpp │ │ │ ├── code_env.h │ │ │ ├── env_bit.cpp │ │ │ ├── env_bit.h │ │ │ ├── env_est.cpp │ │ │ ├── env_est.h │ │ │ ├── fram_gen.cpp │ │ │ ├── fram_gen.h │ │ │ ├── invf_est.cpp │ │ │ ├── invf_est.h │ │ │ ├── mh_det.cpp │ │ │ ├── mh_det.h │ │ │ ├── nf_est.cpp │ │ │ ├── nf_est.h │ │ │ ├── ps_bitenc.cpp │ │ │ ├── ps_bitenc.h │ │ │ ├── ps_const.h │ │ │ ├── ps_encode.cpp │ │ │ ├── ps_encode.h │ │ │ ├── ps_main.cpp │ │ │ ├── ps_main.h │ │ │ ├── resampler.cpp │ │ │ ├── resampler.h │ │ │ ├── sbr.h │ │ │ ├── sbr_def.h │ │ │ ├── sbr_encoder.cpp │ │ │ ├── sbr_misc.cpp │ │ │ ├── sbr_misc.h │ │ │ ├── sbr_ram.cpp │ │ │ ├── sbr_ram.h │ │ │ ├── sbr_rom.cpp │ │ │ ├── sbr_rom.h │ │ │ ├── sbrenc_freq_sca.cpp │ │ │ ├── sbrenc_freq_sca.h │ │ │ ├── ton_corr.cpp │ │ │ ├── ton_corr.h │ │ │ ├── tran_det.cpp │ │ │ └── tran_det.h │ └── libSYS │ │ ├── include │ │ ├── FDK_audio.h │ │ ├── audio.h │ │ ├── cmdl_parser.h │ │ ├── conv_string.h │ │ ├── genericStds.h │ │ ├── machine_type.h │ │ └── wav_file.h │ │ └── src │ │ ├── cmdl_parser.cpp │ │ ├── conv_string.cpp │ │ ├── genericStds.cpp │ │ └── wav_file.cpp ├── fdk-aac_decoder │ ├── component.mk │ ├── fdk_aac_decoder.c │ └── include │ │ └── fdk_aac_decoder.h ├── fifo │ ├── component.mk │ ├── include │ │ ├── spiram.h │ │ └── spiram_fifo.h │ └── spiram_fifo.c ├── http │ ├── component.mk │ ├── http.c │ └── include │ │ └── http.h ├── inih_port │ ├── component.mk │ └── inih │ │ ├── LICENSE.txt │ │ ├── README.md │ │ ├── cpp │ │ ├── INIReader.cpp │ │ └── INIReader.h │ │ ├── examples │ │ ├── INIReaderExample.cpp │ │ ├── config.def │ │ ├── ini_dump.c │ │ ├── ini_example.c │ │ ├── ini_xmacros.c │ │ └── test.ini │ │ ├── extra │ │ └── Makefile.static │ │ ├── ini.c │ │ ├── ini.h │ │ └── tests │ │ ├── bad_comment.ini │ │ ├── bad_multi.ini │ │ ├── bad_section.ini │ │ ├── baseline_disallow_inline_comments.txt │ │ ├── baseline_handler_lineno.txt │ │ ├── baseline_multi.txt │ │ ├── baseline_single.txt │ │ ├── baseline_stop_on_first_error.txt │ │ ├── baseline_string.txt │ │ ├── bom.ini │ │ ├── multi_line.ini │ │ ├── normal.ini │ │ ├── unittest.bat │ │ ├── unittest.c │ │ ├── unittest.sh │ │ ├── unittest_string.c │ │ └── user_error.ini ├── libfaad │ ├── analysis.h │ ├── bits.c │ ├── bits.h │ ├── cfft.c │ ├── cfft.h │ ├── cfft_tab.h │ ├── codebook │ │ ├── hcb.h │ │ ├── hcb_1.h │ │ ├── hcb_10.h │ │ ├── hcb_11.h │ │ ├── hcb_2.h │ │ ├── hcb_3.h │ │ ├── hcb_4.h │ │ ├── hcb_5.h │ │ ├── hcb_6.h │ │ ├── hcb_7.h │ │ ├── hcb_8.h │ │ ├── hcb_9.h │ │ └── hcb_sf.h │ ├── common.c │ ├── common.h │ ├── component.mk │ ├── decoder.c │ ├── drc.c │ ├── drc.h │ ├── drm_dec.c │ ├── drm_dec.h │ ├── error.c │ ├── error.h │ ├── filtbank.c │ ├── filtbank.h │ ├── fixed.h │ ├── hcr.c │ ├── huffman.c │ ├── huffman.h │ ├── ic_predict.c │ ├── ic_predict.h │ ├── include │ │ ├── faad.h │ │ └── neaacdec.h │ ├── iq_table.h │ ├── is.c │ ├── is.h │ ├── kbd_win.h │ ├── lt_predict.c │ ├── lt_predict.h │ ├── mdct.c │ ├── mdct.h │ ├── mdct_tab.h │ ├── mp4.c │ ├── mp4.h │ ├── ms.c │ ├── ms.h │ ├── output.c │ ├── output.h │ ├── pns.c │ ├── pns.h │ ├── ps_dec.c │ ├── ps_dec.h │ ├── ps_syntax.c │ ├── ps_tables.h │ ├── pulse.c │ ├── pulse.h │ ├── rvlc.c │ ├── rvlc.h │ ├── sbr_dct.c │ ├── sbr_dct.h │ ├── sbr_dec.c │ ├── sbr_dec.h │ ├── sbr_e_nf.c │ ├── sbr_e_nf.h │ ├── sbr_fbt.c │ ├── sbr_fbt.h │ ├── sbr_hfadj.c │ ├── sbr_hfadj.h │ ├── sbr_hfgen.c │ ├── sbr_hfgen.h │ ├── sbr_huff.c │ ├── sbr_huff.h │ ├── sbr_noise.h │ ├── sbr_qmf.c │ ├── sbr_qmf.h │ ├── sbr_qmf_c.h │ ├── sbr_syntax.c │ ├── sbr_syntax.h │ ├── sbr_tf_grid.c │ ├── sbr_tf_grid.h │ ├── sine_win.h │ ├── specrec.c │ ├── specrec.h │ ├── ssr.c │ ├── ssr.h │ ├── ssr_fb.c │ ├── ssr_fb.h │ ├── ssr_ipqf.c │ ├── ssr_ipqf.h │ ├── ssr_win.h │ ├── structs.h │ ├── syntax.c │ ├── syntax.h │ ├── tns.c │ └── tns.h ├── libfaad_decoder │ ├── component.mk │ ├── include │ │ └── libfaad_decoder.h │ └── libfaad_decoder.c ├── libm4a │ ├── component.mk │ ├── demux.c │ ├── include │ │ └── m4a.h │ └── m4a.c ├── mad │ ├── D.dat │ ├── align.c │ ├── align.h │ ├── bit.c │ ├── bit.h │ ├── component.mk │ ├── config.h │ ├── decoder.c │ ├── decoder.h │ ├── fixed.c │ ├── fixed.h │ ├── frame.c │ ├── frame.h │ ├── global.h │ ├── huffman.c │ ├── huffman.h │ ├── imdct_s.dat │ ├── layer12.c │ ├── layer12.h │ ├── layer3.c │ ├── layer3.h │ ├── mad.h │ ├── qc_table.dat │ ├── rq_table.dat │ ├── sf_table.dat │ ├── stream.c │ ├── stream.h │ ├── synth.h │ ├── synth_mono.c.unused │ ├── synth_stereo.c │ ├── timer.c │ ├── timer.h │ ├── version.c │ └── version.h ├── mdns_task │ ├── component.mk │ ├── include │ │ └── mdns_task.h │ └── mdns_task.c ├── mp3_decoder │ ├── component.mk │ ├── include │ │ └── mp3_decoder.h │ └── mp3_decoder.c ├── nghttp │ ├── COPYING │ ├── LICENSE │ ├── Makefile.projbuild │ ├── README │ ├── component.mk │ ├── include │ │ ├── nghttp2 │ │ │ ├── nghttp2.h │ │ │ └── nghttp2ver.h │ │ ├── nghttp2_buf.h │ │ ├── nghttp2_callbacks.h │ │ ├── nghttp2_debug.h │ │ ├── nghttp2_frame.h │ │ ├── nghttp2_hd.h │ │ ├── nghttp2_hd_huffman.h │ │ ├── nghttp2_helper.h │ │ ├── nghttp2_http.h │ │ ├── nghttp2_int.h │ │ ├── nghttp2_map.h │ │ ├── nghttp2_mem.h │ │ ├── nghttp2_net.h │ │ ├── nghttp2_npn.h │ │ ├── nghttp2_option.h │ │ ├── nghttp2_outbound_item.h │ │ ├── nghttp2_pq.h │ │ ├── nghttp2_priority_spec.h │ │ ├── nghttp2_queue.h │ │ ├── nghttp2_rcbuf.h │ │ ├── nghttp2_session.h │ │ ├── nghttp2_stream.h │ │ └── nghttp2_submit.h │ ├── library │ │ ├── nghttp2_buf.c │ │ ├── nghttp2_callbacks.c │ │ ├── nghttp2_debug.c │ │ ├── nghttp2_frame.c │ │ ├── nghttp2_hd.c │ │ ├── nghttp2_hd_huffman.c │ │ ├── nghttp2_hd_huffman_data.c │ │ ├── nghttp2_helper.c │ │ ├── nghttp2_http.c │ │ ├── nghttp2_map.c │ │ ├── nghttp2_mem.c │ │ ├── nghttp2_npn.c │ │ ├── nghttp2_option.c │ │ ├── nghttp2_outbound_item.c │ │ ├── nghttp2_pq.c │ │ ├── nghttp2_priority_spec.c │ │ ├── nghttp2_queue.c │ │ ├── nghttp2_rcbuf.c │ │ ├── nghttp2_session.c │ │ ├── nghttp2_stream.c │ │ ├── nghttp2_submit.c │ │ └── nghttp2_version.c │ ├── nghttp.rst │ └── port │ │ ├── http_parser.c │ │ └── include │ │ ├── config.h │ │ └── http_parser.h ├── playlist │ ├── component.mk │ ├── include │ │ └── playlist.h │ └── playlist.c ├── ssd1306 │ ├── component.mk │ ├── fonts.c │ ├── include │ │ ├── fonts.h │ │ └── ssd1306.h │ └── ssd1306.c ├── ui │ ├── component.mk │ ├── include │ │ ├── logo.h │ │ └── ui.h │ ├── logo.c │ └── ui.c ├── url_parser │ ├── component.mk │ ├── include │ │ └── url_parser.h │ └── url_parser.c ├── user_driver │ ├── component.mk │ ├── include │ │ └── ws2812.h │ └── ws2812.c ├── vector │ ├── component.mk │ ├── include │ │ └── vector.h │ └── vector.c └── web_radio │ ├── component.mk │ ├── include │ └── web_radio.h │ └── web_radio.c ├── main ├── .app_main.c.un~ ├── .init.c.un~ ├── .main.cpp.un~ ├── .playlist.pls.un~ ├── Kconfig.projbuild ├── component.mk ├── format_test.pls ├── include │ ├── .init.h.un~ │ ├── init.h │ ├── init.h~ │ ├── playerconfig.h │ └── wifi.h ├── init.c ├── init.c~ ├── main.c ├── main.c~ ├── playlist.pls ├── playlist.pls~ └── wifi.c ├── partitions.csv ├── sdkconfig └── sdkconfig.defaults /Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := mp3_decoder 7 | 8 | COMPONENT_ADD_INCLUDEDIRS := components/include 9 | 10 | include $(IDF_PATH)/make/project.mk 11 | 12 | # Copy some defaults into the sdkconfig by default 13 | # so BT stack is enabled 14 | sdkconfig: sdkconfig.defaults 15 | $(Q) cp $< $@ 16 | 17 | menuconfig: sdkconfig 18 | defconfig: sdkconfig 19 | -------------------------------------------------------------------------------- /components/MerusAudio/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Main Makefile. This is basically the same as a component makefile. 3 | # 4 | # This Makefile should, at the very least, just include $(SDK_PATH)/make/component_common.mk. By default, 5 | # this will take the sources in the src/ directory, compile them and link them into 6 | # lib(subdirectory_name).a in the build directory. This behaviour is entirely configurable, 7 | # please read the ESP-IDF documents if you need to do this. 8 | # 9 | 10 | COMPONENT_SRCDIRS := . 11 | # CFLAGS += -------------------------------------------------------------------------------- /components/MerusAudio/include/MerusAudio.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _MERUSAUDIO_H_ 3 | #define _MERUSAUDIO_H_ 4 | 5 | 6 | void i2c_master_init(); 7 | 8 | esp_err_t ma_write_byte(uint8_t address, uint8_t value); 9 | esp_err_t ma_write(uint8_t address, uint8_t *wbuf, uint8_t n); 10 | 11 | 12 | uint8_t ma_read_byte(uint8_t address); 13 | esp_err_t ma_read(uint8_t address, uint8_t *rbuf, uint8_t n); 14 | 15 | void init_ma120(uint8_t vol); 16 | 17 | #endif /* _MERUSAUDIO_H_ */ 18 | 19 | 20 | -------------------------------------------------------------------------------- /components/audio_player/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Main Makefile. This is basically the same as a component makefile. 3 | # 4 | # This Makefile should, at the very least, just include $(SDK_PATH)/make/component_common.mk. By default, 5 | # this will take the sources in the src/ directory, compile them and link them into 6 | # lib(subdirectory_name).a in the build directory. This behaviour is entirely configurable, 7 | # please read the ESP-IDF documents if you need to do this. 8 | # 9 | 10 | COMPONENT_SRCDIRS := . 11 | # CFLAGS += -------------------------------------------------------------------------------- /components/audio_player/include/audio_player.h: -------------------------------------------------------------------------------- 1 | /* 2 | * audio_player.h 3 | * 4 | * Created on: 12.03.2017 5 | * Author: michaelboeckling 6 | */ 7 | 8 | #ifndef INCLUDE_AUDIO_PLAYER_H_ 9 | #define INCLUDE_AUDIO_PLAYER_H_ 10 | 11 | #include 12 | #include "common_component.h" 13 | #include "audio_renderer.h" 14 | 15 | int audio_stream_consumer(const char *recv_buf, ssize_t bytes_read, void *user_data); 16 | 17 | 18 | typedef enum { 19 | CMD_NONE, CMD_START, CMD_STOP 20 | } player_command_t; 21 | 22 | typedef enum { 23 | BUF_PREF_FAST, BUF_PREF_SAFE 24 | } buffer_pref_t; 25 | 26 | typedef enum 27 | { 28 | MIME_UNKNOWN = 1, OCTET_STREAM, AUDIO_AAC, AUDIO_MP4, AUDIO_MPEG 29 | } content_type_t; 30 | 31 | typedef struct { 32 | content_type_t content_type; 33 | bool eof; 34 | } media_stream_t; 35 | 36 | typedef struct { 37 | player_command_t command; 38 | 39 | player_command_t decoder_command; 40 | component_status_t decoder_status; 41 | buffer_pref_t buffer_pref; 42 | media_stream_t *media_stream; 43 | } player_t; 44 | 45 | component_status_t get_player_status(); 46 | 47 | void audio_player_init(player_t *player_config); 48 | void audio_player_start(); 49 | void audio_player_stop(); 50 | void audio_player_destroy(); 51 | 52 | 53 | #endif /* INCLUDE_AUDIO_PLAYER_H_ */ 54 | -------------------------------------------------------------------------------- /components/audio_renderer/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Main Makefile. This is basically the same as a component makefile. 3 | # 4 | # This Makefile should, at the very least, just include $(SDK_PATH)/make/component_common.mk. By default, 5 | # this will take the sources in the src/ directory, compile them and link them into 6 | # lib(subdirectory_name).a in the build directory. This behaviour is entirely configurable, 7 | # please read the ESP-IDF documents if you need to do this. 8 | # 9 | 10 | COMPONENT_SRCDIRS := . 11 | # CFLAGS += -------------------------------------------------------------------------------- /components/audio_renderer/include/audio_renderer.h: -------------------------------------------------------------------------------- 1 | /* 2 | * audio_renderer.h 3 | * 4 | * Created on: 12.03.2017 5 | * Author: michaelboeckling 6 | */ 7 | 8 | #ifndef INCLUDE_AUDIO_RENDERER_H_ 9 | #define INCLUDE_AUDIO_RENDERER_H_ 10 | 11 | #include "freertos/FreeRTOS.h" 12 | #include "driver/i2s.h" 13 | #include "common_component.h" 14 | 15 | typedef enum { 16 | I2S, I2S_MERUS, DAC_BUILT_IN, PDM 17 | } output_mode_t; 18 | 19 | 20 | typedef struct 21 | { 22 | output_mode_t output_mode; 23 | int sample_rate; 24 | float sample_rate_modifier; 25 | i2s_bits_per_sample_t bit_depth; 26 | i2s_port_t i2s_num; 27 | } renderer_config_t; 28 | 29 | /* ESP32 is Little Endian, I2S is Big Endian. 30 | * 31 | * Samples produced by a decoder will probably be LE, 32 | * and I2S recordings BE. 33 | */ 34 | typedef enum 35 | { 36 | PCM_INTERLEAVED, PCM_LEFT_RIGHT 37 | } pcm_buffer_layout_t; 38 | 39 | typedef enum 40 | { 41 | PCM_BIG_ENDIAN, PCM_LITTLE_ENDIAN 42 | } pcm_endianness_t; 43 | 44 | typedef struct 45 | { 46 | uint32_t sample_rate; 47 | i2s_bits_per_sample_t bit_depth; 48 | uint8_t num_channels; 49 | pcm_buffer_layout_t buffer_format; 50 | pcm_endianness_t endianness; // currently unused 51 | } pcm_format_t; 52 | 53 | 54 | /* generic renderer interface */ 55 | void render_samples(char *buf, uint32_t len, pcm_format_t *format); 56 | 57 | void renderer_init(renderer_config_t *config); 58 | void renderer_start(); 59 | void renderer_stop(); 60 | void renderer_destroy(); 61 | 62 | void renderer_zero_dma_buffer(); 63 | renderer_config_t *renderer_get(); 64 | 65 | 66 | #endif /* INCLUDE_AUDIO_RENDERER_H_ */ 67 | -------------------------------------------------------------------------------- /components/bt_speaker/bt_app_av.h: -------------------------------------------------------------------------------- 1 | // Copyright 2015-2016 Espressif Systems (Shanghai) PTE LTD 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | #ifndef __BT_APP_AV_H__ 16 | #define __BT_APP_AV_H__ 17 | 18 | #include 19 | #include "esp_a2dp_api.h" 20 | #include "esp_avrc_api.h" 21 | 22 | #define BT_AV_TAG "BT_AV" 23 | 24 | /** 25 | * @brief callback function for A2DP sink 26 | */ 27 | void bt_app_a2d_cb(esp_a2d_cb_event_t event, esp_a2d_cb_param_t *param); 28 | 29 | /** 30 | * @brief callback function for A2DP sink audio data stream 31 | */ 32 | void bt_app_a2d_data_cb(const uint8_t *data, uint32_t len); 33 | 34 | /** 35 | * @brief callback function for AVRCP controller 36 | */ 37 | void bt_app_rc_ct_cb(esp_avrc_ct_cb_event_t event, esp_avrc_ct_cb_param_t *param); 38 | 39 | #endif /* __BT_APP_AV_H__*/ 40 | -------------------------------------------------------------------------------- /components/bt_speaker/bt_app_core.h: -------------------------------------------------------------------------------- 1 | // Copyright 2015-2016 Espressif Systems (Shanghai) PTE LTD 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | #ifndef __BT_APP_CORE_H__ 16 | #define __BT_APP_CORE_H__ 17 | 18 | #include 19 | #include 20 | #include 21 | 22 | #define BT_APP_CORE_TAG "BT_APP_CORE" 23 | 24 | #define BT_APP_SIG_WORK_DISPATCH (0x01) 25 | 26 | /** 27 | * @brief handler for the dispatched work 28 | */ 29 | typedef void (* bt_app_cb_t) (uint16_t event, void *param); 30 | 31 | /* message to be sent */ 32 | typedef struct { 33 | uint16_t sig; /*!< signal to bt_app_task */ 34 | uint16_t event; /*!< message event id */ 35 | bt_app_cb_t cb; /*!< context switch callback */ 36 | void *param; /*!< parameter area needs to be last */ 37 | } bt_app_msg_t; 38 | 39 | /** 40 | * @brief parameter deep-copy function to be customized 41 | */ 42 | typedef void (* bt_app_copy_cb_t) (bt_app_msg_t *msg, void *p_dest, void *p_src); 43 | 44 | /** 45 | * @brief work dispatcher for the application task 46 | */ 47 | bool bt_app_work_dispatch(bt_app_cb_t p_cback, uint16_t event, void *p_params, int param_len, bt_app_copy_cb_t p_copy_cback); 48 | 49 | void bt_app_task_start_up(void); 50 | 51 | void bt_app_task_shut_down(void); 52 | 53 | #endif /* __BT_APP_CORE_H__ */ 54 | -------------------------------------------------------------------------------- /components/bt_speaker/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Component Makefile 3 | # 4 | 5 | # if Bluetooth is disabled in menuconfig, 6 | # the BT libs are missing from the buildpath 7 | ifdef CONFIG_BT_SPEAKER_MODE 8 | COMPONENT_ADD_INCLUDEDIRS := . include 9 | COMPONENT_SRCDIRS := . 10 | else 11 | COMPONENT_ADD_INCLUDEDIRS := 12 | COMPONENT_ADD_LDFLAGS := 13 | COMPONENT_SRCDIRS := 14 | endif 15 | -------------------------------------------------------------------------------- /components/bt_speaker/include/bt_speaker.h: -------------------------------------------------------------------------------- 1 | /* 2 | * a2dp.h 3 | * 4 | * Created on: 07.05.2017 5 | * Author: michaelboeckling 6 | */ 7 | 8 | #ifndef _INCLUDE_BT_SPEAKER_H_ 9 | #define _INCLUDE_BT_SPEAKER_H_ 10 | 11 | void bt_speaker_start(renderer_config_t *renderer_config); 12 | 13 | #endif /* _INCLUDE_BT_SPEAKER_H_ */ 14 | -------------------------------------------------------------------------------- /components/common/component.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/common/component.mk -------------------------------------------------------------------------------- /components/common/include/common_component.h: -------------------------------------------------------------------------------- 1 | /* 2 | * common_component.h 3 | * 4 | * Created on: 11.05.2017 5 | * Author: michaelboeckling 6 | */ 7 | 8 | #ifndef _INCLUDE_COMMON_COMPONENT_H_ 9 | #define _INCLUDE_COMMON_COMPONENT_H_ 10 | 11 | typedef enum { 12 | UNINITIALIZED, INITIALIZED, RUNNING, STOPPED 13 | } component_status_t; 14 | 15 | #endif /* _INCLUDE_COMMON_COMPONENT_H_ */ 16 | -------------------------------------------------------------------------------- /components/common/include/common_utils.h: -------------------------------------------------------------------------------- 1 | /* 2 | * common_utils.h 3 | * 4 | * Created on: 13.06.2017 5 | * Author: michaelboeckling 6 | */ 7 | 8 | #ifndef _INCLUDE_COMMON_UTILS_H_ 9 | #define _INCLUDE_COMMON_UTILS_H_ 10 | 11 | int starts_with(const char *str, const char *pre) 12 | { 13 | size_t lenpre = strlen(pre), lenstr = strlen(str); 14 | return lenstr < lenpre ? 0 : strncmp(pre, str, lenpre) == 0; 15 | } 16 | 17 | #endif /* _INCLUDE_COMMON_UTILS_H_ */ 18 | -------------------------------------------------------------------------------- /components/controls/component.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/controls/component.mk -------------------------------------------------------------------------------- /components/controls/include/controls.h: -------------------------------------------------------------------------------- 1 | /* 2 | * controls.h 3 | * 4 | * Created on: 13.04.2017 5 | * Author: michaelboeckling 6 | */ 7 | 8 | #ifndef _CONTROLS_H_ 9 | #define _CONTROLS_H_ 10 | 11 | typedef struct { 12 | xQueueHandle gpio_evt_queue; 13 | void *user_data; 14 | } gpio_handler_param_t; 15 | 16 | 17 | void controls_init(TaskFunction_t gpio_handler_task, const uint16_t usStackDepth, void *user_data); 18 | void controls_destroy(); 19 | 20 | #endif 21 | -------------------------------------------------------------------------------- /components/fdk-aac/component.mk: -------------------------------------------------------------------------------- 1 | 2 | CPPFLAGS += -Wno-error=maybe-uninitialized -Wno-maybe-uninitialized -Wno-error=unused-label -Wno-unused-label -Wno-unused-function -Wno-unused-but-set-variable -Wno-unused-variable 3 | 4 | COMPONENT_ADD_INCLUDEDIRS += libAACdec/include \ 5 | libFDK/include \ 6 | libMpegTPDec/include \ 7 | libPCMutils/include \ 8 | libSBRdec/include \ 9 | libSYS/include 10 | 11 | COMPONENT_SRCDIRS += libAACdec/src \ 12 | libFDK/src \ 13 | libMpegTPDec/src \ 14 | libPCMutils/src \ 15 | libSBRdec/src \ 16 | libSYS/src 17 | 18 | -------------------------------------------------------------------------------- /components/fdk-aac/libAACdec/include/aacdecoder_lib.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACdec/include/aacdecoder_lib.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACdec/src/aac_ram.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACdec/src/aac_ram.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libAACdec/src/aac_ram.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACdec/src/aac_ram.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACdec/src/aac_rom.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACdec/src/aac_rom.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libAACdec/src/aac_rom.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACdec/src/aac_rom.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACdec/src/aacdec_drc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACdec/src/aacdec_drc.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACdec/src/aacdec_drc_types.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACdec/src/aacdec_drc_types.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACdec/src/aacdec_hcr.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACdec/src/aacdec_hcr.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libAACdec/src/aacdec_hcr.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACdec/src/aacdec_hcr.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACdec/src/aacdec_hcr_bit.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACdec/src/aacdec_hcr_bit.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libAACdec/src/aacdec_hcr_bit.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACdec/src/aacdec_hcr_bit.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACdec/src/aacdec_hcr_types.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACdec/src/aacdec_hcr_types.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACdec/src/aacdec_hcrs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACdec/src/aacdec_hcrs.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libAACdec/src/aacdec_hcrs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACdec/src/aacdec_hcrs.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACdec/src/aacdec_pns.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACdec/src/aacdec_pns.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libAACdec/src/aacdec_pns.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACdec/src/aacdec_pns.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACdec/src/aacdec_tns.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACdec/src/aacdec_tns.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libAACdec/src/aacdec_tns.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACdec/src/aacdec_tns.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACdec/src/aacdecoder.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACdec/src/aacdecoder.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libAACdec/src/aacdecoder.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACdec/src/aacdecoder.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACdec/src/block.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACdec/src/block.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libAACdec/src/block.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACdec/src/block.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACdec/src/channel.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACdec/src/channel.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libAACdec/src/channel.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACdec/src/channel.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACdec/src/channelinfo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACdec/src/channelinfo.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libAACdec/src/channelinfo.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACdec/src/channelinfo.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACdec/src/conceal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACdec/src/conceal.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libAACdec/src/conceal.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACdec/src/conceal.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACdec/src/conceal_types.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACdec/src/conceal_types.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACdec/src/debug.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACdec/src/debug.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACdec/src/ldfiltbank.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACdec/src/ldfiltbank.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libAACdec/src/ldfiltbank.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACdec/src/ldfiltbank.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACdec/src/overlapadd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACdec/src/overlapadd.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACdec/src/pulsedata.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACdec/src/pulsedata.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libAACdec/src/pulsedata.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACdec/src/pulsedata.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACdec/src/rvlc.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACdec/src/rvlc.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libAACdec/src/rvlc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACdec/src/rvlc.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACdec/src/rvlc_info.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACdec/src/rvlc_info.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACdec/src/rvlcbit.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACdec/src/rvlcbit.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libAACdec/src/rvlcbit.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACdec/src/rvlcbit.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACdec/src/rvlcconceal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACdec/src/rvlcconceal.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libAACdec/src/rvlcconceal.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACdec/src/rvlcconceal.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACdec/src/stereo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACdec/src/stereo.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libAACdec/src/stereo.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACdec/src/stereo.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/include/aacenc_lib.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/include/aacenc_lib.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/aacEnc_ram.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/aacEnc_ram.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/aacEnc_ram.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/aacEnc_ram.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/aacEnc_rom.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/aacEnc_rom.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/aacEnc_rom.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/aacEnc_rom.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/aacenc.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/aacenc.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/aacenc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/aacenc.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/aacenc_lib.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/aacenc_lib.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/aacenc_pns.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/aacenc_pns.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/aacenc_pns.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/aacenc_pns.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/aacenc_tns.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/aacenc_tns.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/aacenc_tns.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/aacenc_tns.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/adj_thr.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/adj_thr.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/adj_thr.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/adj_thr.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/adj_thr_data.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/adj_thr_data.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/band_nrg.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/band_nrg.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/band_nrg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/band_nrg.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/bandwidth.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/bandwidth.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/bandwidth.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/bandwidth.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/bit_cnt.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/bit_cnt.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/bit_cnt.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/bit_cnt.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/bitenc.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/bitenc.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/bitenc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/bitenc.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/block_switch.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/block_switch.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/block_switch.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/block_switch.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/channel_map.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/channel_map.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/channel_map.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/channel_map.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/chaosmeasure.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/chaosmeasure.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/chaosmeasure.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/chaosmeasure.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/dyn_bits.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/dyn_bits.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/dyn_bits.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/dyn_bits.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/grp_data.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/grp_data.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/grp_data.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/grp_data.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/intensity.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/intensity.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/intensity.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/intensity.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/interface.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/interface.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/line_pe.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/line_pe.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/line_pe.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/line_pe.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/metadata_compressor.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/metadata_compressor.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/metadata_compressor.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/metadata_compressor.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/metadata_main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/metadata_main.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/metadata_main.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/metadata_main.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/ms_stereo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/ms_stereo.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/ms_stereo.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/ms_stereo.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/noisedet.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/noisedet.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/noisedet.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/noisedet.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/pns_func.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/pns_func.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/pnsparam.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/pnsparam.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/pnsparam.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/pnsparam.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/pre_echo_control.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/pre_echo_control.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/pre_echo_control.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/pre_echo_control.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/psy_configuration.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/psy_configuration.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/psy_configuration.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/psy_configuration.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/psy_const.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/psy_const.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/psy_data.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/psy_data.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/psy_main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/psy_main.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/psy_main.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/psy_main.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/qc_data.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/qc_data.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/qc_main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/qc_main.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/qc_main.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/qc_main.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/quantize.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/quantize.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/quantize.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/quantize.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/sf_estim.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/sf_estim.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/sf_estim.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/sf_estim.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/spreading.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/spreading.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/spreading.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/spreading.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/tns_func.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/tns_func.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/tonality.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/tonality.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/tonality.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/tonality.h -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/transform.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/transform.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libAACenc/src/transform.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libAACenc/src/transform.h -------------------------------------------------------------------------------- /components/fdk-aac/libFDK/include/FDK_bitbuffer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libFDK/include/FDK_bitbuffer.h -------------------------------------------------------------------------------- /components/fdk-aac/libFDK/include/FDK_bitstream.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libFDK/include/FDK_bitstream.h -------------------------------------------------------------------------------- /components/fdk-aac/libFDK/include/FDK_core.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libFDK/include/FDK_core.h -------------------------------------------------------------------------------- /components/fdk-aac/libFDK/include/FDK_crc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libFDK/include/FDK_crc.h -------------------------------------------------------------------------------- /components/fdk-aac/libFDK/include/FDK_hybrid.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libFDK/include/FDK_hybrid.h -------------------------------------------------------------------------------- /components/fdk-aac/libFDK/include/FDK_tools_rom.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libFDK/include/FDK_tools_rom.h -------------------------------------------------------------------------------- /components/fdk-aac/libFDK/include/FDK_trigFcts.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libFDK/include/FDK_trigFcts.h -------------------------------------------------------------------------------- /components/fdk-aac/libFDK/include/autocorr2nd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libFDK/include/autocorr2nd.h -------------------------------------------------------------------------------- /components/fdk-aac/libFDK/include/common_fix.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libFDK/include/common_fix.h -------------------------------------------------------------------------------- /components/fdk-aac/libFDK/include/cplx_mul.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libFDK/include/cplx_mul.h -------------------------------------------------------------------------------- /components/fdk-aac/libFDK/include/dct.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libFDK/include/dct.h -------------------------------------------------------------------------------- /components/fdk-aac/libFDK/include/fft.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libFDK/include/fft.h -------------------------------------------------------------------------------- /components/fdk-aac/libFDK/include/fft_rad2.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libFDK/include/fft_rad2.h -------------------------------------------------------------------------------- /components/fdk-aac/libFDK/include/fixmadd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libFDK/include/fixmadd.h -------------------------------------------------------------------------------- /components/fdk-aac/libFDK/include/fixminmax.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libFDK/include/fixminmax.h -------------------------------------------------------------------------------- /components/fdk-aac/libFDK/include/fixpoint_math.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libFDK/include/fixpoint_math.h -------------------------------------------------------------------------------- /components/fdk-aac/libFDK/include/mdct.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libFDK/include/mdct.h -------------------------------------------------------------------------------- /components/fdk-aac/libFDK/include/qmf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libFDK/include/qmf.h -------------------------------------------------------------------------------- /components/fdk-aac/libFDK/include/scale.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libFDK/include/scale.h -------------------------------------------------------------------------------- /components/fdk-aac/libFDK/include/scramble.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libFDK/include/scramble.h -------------------------------------------------------------------------------- /components/fdk-aac/libFDK/include/xtensa/abs_xtensa.h: -------------------------------------------------------------------------------- 1 | /* 2 | * abs_xtensa.h 3 | * 4 | * Created on: 13.05.2017 5 | * Author: michaelboeckling 6 | */ 7 | 8 | #ifndef _INCLUDE_XTENSA_ABS_XTENSA_H_ 9 | #define _INCLUDE_XTENSA_ABS_XTENSA_H_ 10 | 11 | 12 | #if defined(__disabled__) 13 | 14 | //#include "xtensa/tie/xt_core.h" 15 | // extern int _TIE_xt_core_ABS(int t); 16 | 17 | inline INT fixabs_D(INT x) 18 | { 19 | INT result; 20 | __asm__ ("ABS %0, %1" : "=r" (result) : "r" (x)); 21 | return result; 22 | } 23 | 24 | #define fixabs_S(x) fixabs_D(x) 25 | #define fixabs_I(x) fixabs_D(x) 26 | 27 | #define FUNCTION_fixabs_S 28 | #define FUNCTION_fixabs_D 29 | #define FUNCTION_fixabs_I 30 | 31 | #endif /*__xtensa__ */ 32 | 33 | 34 | #endif /* _INCLUDE_XTENSA_ABS_XTENSA_H_ */ 35 | -------------------------------------------------------------------------------- /components/fdk-aac/libFDK/src/FDK_bitbuffer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libFDK/src/FDK_bitbuffer.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libFDK/src/FDK_core.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libFDK/src/FDK_core.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libFDK/src/FDK_crc.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libFDK/src/FDK_crc.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libFDK/src/FDK_hybrid.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libFDK/src/FDK_hybrid.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libFDK/src/FDK_tools_rom.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libFDK/src/FDK_tools_rom.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libFDK/src/FDK_trigFcts.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libFDK/src/FDK_trigFcts.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libFDK/src/autocorr2nd.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libFDK/src/autocorr2nd.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libFDK/src/dct.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libFDK/src/dct.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libFDK/src/fft.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libFDK/src/fft.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libFDK/src/fft_rad2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libFDK/src/fft_rad2.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libFDK/src/fixpoint_math.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libFDK/src/fixpoint_math.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libFDK/src/mdct.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libFDK/src/mdct.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libFDK/src/qmf.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libFDK/src/qmf.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libFDK/src/scale.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libFDK/src/scale.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libMpegTPDec/include/mpegFileRead.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libMpegTPDec/include/mpegFileRead.h -------------------------------------------------------------------------------- /components/fdk-aac/libMpegTPDec/include/tp_data.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libMpegTPDec/include/tp_data.h -------------------------------------------------------------------------------- /components/fdk-aac/libMpegTPDec/src/mpegFileFormat.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libMpegTPDec/src/mpegFileFormat.h -------------------------------------------------------------------------------- /components/fdk-aac/libMpegTPDec/src/tpdec_adif.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libMpegTPDec/src/tpdec_adif.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libMpegTPDec/src/tpdec_adif.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libMpegTPDec/src/tpdec_adif.h -------------------------------------------------------------------------------- /components/fdk-aac/libMpegTPDec/src/tpdec_adts.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libMpegTPDec/src/tpdec_adts.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libMpegTPDec/src/tpdec_adts.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libMpegTPDec/src/tpdec_adts.h -------------------------------------------------------------------------------- /components/fdk-aac/libMpegTPDec/src/tpdec_asc.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libMpegTPDec/src/tpdec_asc.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libMpegTPDec/src/tpdec_drm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libMpegTPDec/src/tpdec_drm.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libMpegTPDec/src/tpdec_drm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libMpegTPDec/src/tpdec_drm.h -------------------------------------------------------------------------------- /components/fdk-aac/libMpegTPDec/src/tpdec_latm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libMpegTPDec/src/tpdec_latm.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libMpegTPDec/src/tpdec_latm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libMpegTPDec/src/tpdec_latm.h -------------------------------------------------------------------------------- /components/fdk-aac/libMpegTPDec/src/tpdec_lib.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libMpegTPDec/src/tpdec_lib.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libMpegTPDec/src/version: -------------------------------------------------------------------------------- 1 | 2 | /* library info */ 3 | #define TP_LIB_VL0 2 4 | #define TP_LIB_VL1 3 5 | #define TP_LIB_VL2 7 6 | #define TP_LIB_TITLE "MPEG Transport" 7 | #ifdef __ANDROID__ 8 | #define TP_LIB_BUILD_DATE "" 9 | #define TP_LIB_BUILD_TIME "" 10 | #else 11 | #define TP_LIB_BUILD_DATE __DATE__ 12 | #define TP_LIB_BUILD_TIME __TIME__ 13 | #endif 14 | -------------------------------------------------------------------------------- /components/fdk-aac/libMpegTPEnc/include/mpegFileWrite.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libMpegTPEnc/include/mpegFileWrite.h -------------------------------------------------------------------------------- /components/fdk-aac/libMpegTPEnc/include/tp_data.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libMpegTPEnc/include/tp_data.h -------------------------------------------------------------------------------- /components/fdk-aac/libMpegTPEnc/include/tpenc_lib.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libMpegTPEnc/include/tpenc_lib.h -------------------------------------------------------------------------------- /components/fdk-aac/libMpegTPEnc/src/tpenc_adif.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libMpegTPEnc/src/tpenc_adif.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libMpegTPEnc/src/tpenc_adif.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libMpegTPEnc/src/tpenc_adif.h -------------------------------------------------------------------------------- /components/fdk-aac/libMpegTPEnc/src/tpenc_adts.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libMpegTPEnc/src/tpenc_adts.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libMpegTPEnc/src/tpenc_adts.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libMpegTPEnc/src/tpenc_adts.h -------------------------------------------------------------------------------- /components/fdk-aac/libMpegTPEnc/src/tpenc_asc.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libMpegTPEnc/src/tpenc_asc.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libMpegTPEnc/src/tpenc_asc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libMpegTPEnc/src/tpenc_asc.h -------------------------------------------------------------------------------- /components/fdk-aac/libMpegTPEnc/src/tpenc_latm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libMpegTPEnc/src/tpenc_latm.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libMpegTPEnc/src/tpenc_latm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libMpegTPEnc/src/tpenc_latm.h -------------------------------------------------------------------------------- /components/fdk-aac/libMpegTPEnc/src/tpenc_lib.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libMpegTPEnc/src/tpenc_lib.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libMpegTPEnc/src/version: -------------------------------------------------------------------------------- 1 | 2 | /* library info */ 3 | #define TP_LIB_VL0 2 4 | #define TP_LIB_VL1 3 5 | #define TP_LIB_VL2 6 6 | #define TP_LIB_TITLE "MPEG Transport" 7 | #ifdef __ANDROID__ 8 | #define TP_LIB_BUILD_DATE "" 9 | #define TP_LIB_BUILD_TIME "" 10 | #else 11 | #define TP_LIB_BUILD_DATE __DATE__ 12 | #define TP_LIB_BUILD_TIME __TIME__ 13 | #endif 14 | -------------------------------------------------------------------------------- /components/fdk-aac/libPCMutils/include/limiter.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libPCMutils/include/limiter.h -------------------------------------------------------------------------------- /components/fdk-aac/libPCMutils/include/pcmutils_lib.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libPCMutils/include/pcmutils_lib.h -------------------------------------------------------------------------------- /components/fdk-aac/libPCMutils/src/limiter.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libPCMutils/src/limiter.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libPCMutils/src/pcmutils_lib.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libPCMutils/src/pcmutils_lib.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libSBRdec/include/sbrdecoder.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRdec/include/sbrdecoder.h -------------------------------------------------------------------------------- /components/fdk-aac/libSBRdec/src/env_calc.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRdec/src/env_calc.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libSBRdec/src/env_calc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRdec/src/env_calc.h -------------------------------------------------------------------------------- /components/fdk-aac/libSBRdec/src/env_dec.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRdec/src/env_dec.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libSBRdec/src/env_dec.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRdec/src/env_dec.h -------------------------------------------------------------------------------- /components/fdk-aac/libSBRdec/src/env_extr.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRdec/src/env_extr.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libSBRdec/src/env_extr.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRdec/src/env_extr.h -------------------------------------------------------------------------------- /components/fdk-aac/libSBRdec/src/huff_dec.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRdec/src/huff_dec.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libSBRdec/src/huff_dec.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRdec/src/huff_dec.h -------------------------------------------------------------------------------- /components/fdk-aac/libSBRdec/src/lpp_tran.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRdec/src/lpp_tran.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libSBRdec/src/lpp_tran.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRdec/src/lpp_tran.h -------------------------------------------------------------------------------- /components/fdk-aac/libSBRdec/src/psbitdec.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRdec/src/psbitdec.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libSBRdec/src/psbitdec.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRdec/src/psbitdec.h -------------------------------------------------------------------------------- /components/fdk-aac/libSBRdec/src/psdec.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRdec/src/psdec.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libSBRdec/src/psdec.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRdec/src/psdec.h -------------------------------------------------------------------------------- /components/fdk-aac/libSBRdec/src/psdec_hybrid.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRdec/src/psdec_hybrid.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libSBRdec/src/psdec_hybrid.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRdec/src/psdec_hybrid.h -------------------------------------------------------------------------------- /components/fdk-aac/libSBRdec/src/sbr_crc.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRdec/src/sbr_crc.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libSBRdec/src/sbr_crc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRdec/src/sbr_crc.h -------------------------------------------------------------------------------- /components/fdk-aac/libSBRdec/src/sbr_deb.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRdec/src/sbr_deb.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libSBRdec/src/sbr_deb.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRdec/src/sbr_deb.h -------------------------------------------------------------------------------- /components/fdk-aac/libSBRdec/src/sbr_dec.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRdec/src/sbr_dec.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libSBRdec/src/sbr_dec.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRdec/src/sbr_dec.h -------------------------------------------------------------------------------- /components/fdk-aac/libSBRdec/src/sbr_ram.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRdec/src/sbr_ram.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libSBRdec/src/sbr_ram.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRdec/src/sbr_ram.h -------------------------------------------------------------------------------- /components/fdk-aac/libSBRdec/src/sbr_rom.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRdec/src/sbr_rom.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libSBRdec/src/sbr_rom.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRdec/src/sbr_rom.h -------------------------------------------------------------------------------- /components/fdk-aac/libSBRdec/src/sbr_scale.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRdec/src/sbr_scale.h -------------------------------------------------------------------------------- /components/fdk-aac/libSBRdec/src/sbrdec_drc.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRdec/src/sbrdec_drc.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libSBRdec/src/sbrdec_drc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRdec/src/sbrdec_drc.h -------------------------------------------------------------------------------- /components/fdk-aac/libSBRdec/src/sbrdec_freq_sca.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRdec/src/sbrdec_freq_sca.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libSBRdec/src/sbrdec_freq_sca.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRdec/src/sbrdec_freq_sca.h -------------------------------------------------------------------------------- /components/fdk-aac/libSBRdec/src/sbrdecoder.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRdec/src/sbrdecoder.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libSBRdec/src/transcendent.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRdec/src/transcendent.h -------------------------------------------------------------------------------- /components/fdk-aac/libSBRenc/include/sbr_encoder.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRenc/include/sbr_encoder.h -------------------------------------------------------------------------------- /components/fdk-aac/libSBRenc/src/bit_sbr.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRenc/src/bit_sbr.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libSBRenc/src/bit_sbr.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRenc/src/bit_sbr.h -------------------------------------------------------------------------------- /components/fdk-aac/libSBRenc/src/cmondata.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRenc/src/cmondata.h -------------------------------------------------------------------------------- /components/fdk-aac/libSBRenc/src/code_env.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRenc/src/code_env.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libSBRenc/src/code_env.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRenc/src/code_env.h -------------------------------------------------------------------------------- /components/fdk-aac/libSBRenc/src/env_bit.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRenc/src/env_bit.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libSBRenc/src/env_bit.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRenc/src/env_bit.h -------------------------------------------------------------------------------- /components/fdk-aac/libSBRenc/src/env_est.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRenc/src/env_est.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libSBRenc/src/env_est.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRenc/src/env_est.h -------------------------------------------------------------------------------- /components/fdk-aac/libSBRenc/src/fram_gen.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRenc/src/fram_gen.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libSBRenc/src/fram_gen.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRenc/src/fram_gen.h -------------------------------------------------------------------------------- /components/fdk-aac/libSBRenc/src/invf_est.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRenc/src/invf_est.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libSBRenc/src/invf_est.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRenc/src/invf_est.h -------------------------------------------------------------------------------- /components/fdk-aac/libSBRenc/src/mh_det.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRenc/src/mh_det.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libSBRenc/src/mh_det.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRenc/src/mh_det.h -------------------------------------------------------------------------------- /components/fdk-aac/libSBRenc/src/nf_est.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRenc/src/nf_est.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libSBRenc/src/nf_est.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRenc/src/nf_est.h -------------------------------------------------------------------------------- /components/fdk-aac/libSBRenc/src/ps_bitenc.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRenc/src/ps_bitenc.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libSBRenc/src/ps_bitenc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRenc/src/ps_bitenc.h -------------------------------------------------------------------------------- /components/fdk-aac/libSBRenc/src/ps_const.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRenc/src/ps_const.h -------------------------------------------------------------------------------- /components/fdk-aac/libSBRenc/src/ps_encode.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRenc/src/ps_encode.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libSBRenc/src/ps_encode.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRenc/src/ps_encode.h -------------------------------------------------------------------------------- /components/fdk-aac/libSBRenc/src/ps_main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRenc/src/ps_main.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libSBRenc/src/ps_main.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRenc/src/ps_main.h -------------------------------------------------------------------------------- /components/fdk-aac/libSBRenc/src/resampler.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRenc/src/resampler.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libSBRenc/src/resampler.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRenc/src/resampler.h -------------------------------------------------------------------------------- /components/fdk-aac/libSBRenc/src/sbr.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRenc/src/sbr.h -------------------------------------------------------------------------------- /components/fdk-aac/libSBRenc/src/sbr_def.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRenc/src/sbr_def.h -------------------------------------------------------------------------------- /components/fdk-aac/libSBRenc/src/sbr_encoder.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRenc/src/sbr_encoder.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libSBRenc/src/sbr_misc.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRenc/src/sbr_misc.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libSBRenc/src/sbr_misc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRenc/src/sbr_misc.h -------------------------------------------------------------------------------- /components/fdk-aac/libSBRenc/src/sbr_ram.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRenc/src/sbr_ram.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libSBRenc/src/sbr_ram.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRenc/src/sbr_ram.h -------------------------------------------------------------------------------- /components/fdk-aac/libSBRenc/src/sbr_rom.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRenc/src/sbr_rom.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libSBRenc/src/sbr_rom.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRenc/src/sbr_rom.h -------------------------------------------------------------------------------- /components/fdk-aac/libSBRenc/src/sbrenc_freq_sca.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRenc/src/sbrenc_freq_sca.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libSBRenc/src/sbrenc_freq_sca.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRenc/src/sbrenc_freq_sca.h -------------------------------------------------------------------------------- /components/fdk-aac/libSBRenc/src/ton_corr.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRenc/src/ton_corr.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libSBRenc/src/ton_corr.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRenc/src/ton_corr.h -------------------------------------------------------------------------------- /components/fdk-aac/libSBRenc/src/tran_det.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRenc/src/tran_det.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libSBRenc/src/tran_det.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSBRenc/src/tran_det.h -------------------------------------------------------------------------------- /components/fdk-aac/libSYS/include/FDK_audio.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSYS/include/FDK_audio.h -------------------------------------------------------------------------------- /components/fdk-aac/libSYS/include/audio.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSYS/include/audio.h -------------------------------------------------------------------------------- /components/fdk-aac/libSYS/include/cmdl_parser.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSYS/include/cmdl_parser.h -------------------------------------------------------------------------------- /components/fdk-aac/libSYS/include/conv_string.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSYS/include/conv_string.h -------------------------------------------------------------------------------- /components/fdk-aac/libSYS/include/genericStds.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSYS/include/genericStds.h -------------------------------------------------------------------------------- /components/fdk-aac/libSYS/include/machine_type.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSYS/include/machine_type.h -------------------------------------------------------------------------------- /components/fdk-aac/libSYS/include/wav_file.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSYS/include/wav_file.h -------------------------------------------------------------------------------- /components/fdk-aac/libSYS/src/cmdl_parser.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSYS/src/cmdl_parser.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libSYS/src/conv_string.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSYS/src/conv_string.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libSYS/src/genericStds.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSYS/src/genericStds.cpp -------------------------------------------------------------------------------- /components/fdk-aac/libSYS/src/wav_file.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac/libSYS/src/wav_file.cpp -------------------------------------------------------------------------------- /components/fdk-aac_decoder/component.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/fdk-aac_decoder/component.mk -------------------------------------------------------------------------------- /components/fdk-aac_decoder/include/fdk_aac_decoder.h: -------------------------------------------------------------------------------- 1 | /* 2 | * fdk_aac_decoder.h 3 | * 4 | * Created on: 08.05.2017 5 | * Author: michaelboeckling 6 | */ 7 | 8 | #ifndef _INCLUDE_FDK_AAC_DECODER_H_ 9 | #define _INCLUDE_FDK_AAC_DECODER_H_ 10 | 11 | void fdkaac_decoder_task(void *pvParameters); 12 | 13 | #endif /* _INCLUDE_FDK_AAC_DECODER_H_ */ 14 | -------------------------------------------------------------------------------- /components/fifo/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Main Makefile. This is basically the same as a component makefile. 3 | # 4 | # This Makefile should, at the very least, just include $(SDK_PATH)/make/component_common.mk. By default, 5 | # this will take the sources in the src/ directory, compile them and link them into 6 | # lib(subdirectory_name).a in the build directory. This behaviour is entirely configurable, 7 | # please read the ESP-IDF documents if you need to do this. 8 | # 9 | 10 | COMPONENT_SRCDIRS := . 11 | 12 | CFLAGS += -Wno-error=unused-label -Wno-error=return-type -Wno-error=missing-braces -Wno-error=pointer-sign -Wno-error=parentheses 13 | 14 | -------------------------------------------------------------------------------- /components/fifo/include/spiram.h: -------------------------------------------------------------------------------- 1 | #ifndef _SPIRAM_H_ 2 | #define _SPIRAM_H_ 3 | 4 | #define SPIRAMSIZE (128*1024) //for a 23LC1024 chip 5 | 6 | 7 | //Define this to use the SPI RAM in QSPI mode. This mode theoretically improves 8 | //the bandwith to the chip four-fold, but it needs all 4 SDIO pins connected. It's 9 | //disabled here because not everyone using the MP3 example will have those pins 10 | //connected and the overall speed increase on the MP3 example is negligable. 11 | //#define SPIRAM_QIO 12 | 13 | 14 | void spiRamInit(); 15 | void spiRamRead(int addr, char *buff, int len); 16 | void spiRamWrite(int addr, char *buff, int len); 17 | int spiRamTest(); 18 | 19 | #endif -------------------------------------------------------------------------------- /components/fifo/include/spiram_fifo.h: -------------------------------------------------------------------------------- 1 | #ifndef _SPIRAM_FIFO_H_ 2 | #define _SPIRAM_FIFO_H_ 3 | 4 | int spiRamFifoInit(); 5 | void spiRamFifoRead(char *buff, int len); 6 | void spiRamFifoWrite(const char *buff, int len); 7 | int spiRamFifoFill(); 8 | int spiRamFifoFree(); 9 | long spiRamGetOverrunCt(); 10 | long spiRamGetUnderrunCt(); 11 | 12 | void spiRamFifoReset(); 13 | int spiRamFifoLen(); 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /components/http/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Main Makefile. This is basically the same as a component makefile. 3 | # 4 | # This Makefile should, at the very least, just include $(SDK_PATH)/make/component_common.mk. By default, 5 | # this will take the sources in the src/ directory, compile them and link them into 6 | # lib(subdirectory_name).a in the build directory. This behaviour is entirely configurable, 7 | # please read the ESP-IDF documents if you need to do this. 8 | # 9 | 10 | COMPONENT_SRCDIRS := . 11 | 12 | CFLAGS += -Wno-error=unused-label -Wno-error=return-type -Wno-error=missing-braces -Wno-error=pointer-sign -Wno-error=parentheses -I./include 13 | 14 | -------------------------------------------------------------------------------- /components/http/include/http.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _HTTP_H_ 3 | #define _HTTP_H_ 4 | 5 | #include "http_parser.h" 6 | 7 | /** 8 | * @brief Application specified event callback function 9 | * 10 | * @param char *recv_buf : buffer 11 | * @param ssize_t bytes_read : bytes read 12 | * 13 | * @return ESP_OK : succeed 14 | * @return others : fail 15 | */ 16 | typedef esp_err_t (*stream_reader_cb)(char *recv_buf, ssize_t bytes_read, void *user_data); 17 | 18 | int http_client_get(char *uri, http_parser_settings *callbacks, void *user_data); 19 | 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /components/inih_port/component.mk: -------------------------------------------------------------------------------- 1 | COMPONENT_SRCDIRS := inih 2 | COMPONENT_ADD_INCLUDEDIRS := inih -------------------------------------------------------------------------------- /components/inih_port/inih/LICENSE.txt: -------------------------------------------------------------------------------- 1 | 2 | The "inih" library is distributed under the New BSD license: 3 | 4 | Copyright (c) 2009, Ben Hoyt 5 | All rights reserved. 6 | 7 | Redistribution and use in source and binary forms, with or without 8 | modification, are permitted provided that the following conditions are met: 9 | * Redistributions of source code must retain the above copyright 10 | notice, this list of conditions and the following disclaimer. 11 | * Redistributions in binary form must reproduce the above copyright 12 | notice, this list of conditions and the following disclaimer in the 13 | documentation and/or other materials provided with the distribution. 14 | * Neither the name of Ben Hoyt nor the names of its contributors 15 | may be used to endorse or promote products derived from this software 16 | without specific prior written permission. 17 | 18 | THIS SOFTWARE IS PROVIDED BY BEN HOYT ''AS IS'' AND ANY 19 | EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 | DISCLAIMED. IN NO EVENT SHALL BEN HOYT BE LIABLE FOR ANY 22 | DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 25 | ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | -------------------------------------------------------------------------------- /components/inih_port/inih/examples/INIReaderExample.cpp: -------------------------------------------------------------------------------- 1 | // Example that shows simple usage of the INIReader class 2 | 3 | #include 4 | #include "../cpp/INIReader.h" 5 | 6 | int main() 7 | { 8 | INIReader reader("../examples/test.ini"); 9 | 10 | if (reader.ParseError() < 0) { 11 | std::cout << "Can't load 'test.ini'\n"; 12 | return 1; 13 | } 14 | std::cout << "Config loaded from 'test.ini': version=" 15 | << reader.GetInteger("protocol", "version", -1) << ", name=" 16 | << reader.Get("user", "name", "UNKNOWN") << ", email=" 17 | << reader.Get("user", "email", "UNKNOWN") << ", pi=" 18 | << reader.GetReal("user", "pi", -1) << ", active=" 19 | << reader.GetBoolean("user", "active", true) << "\n"; 20 | return 0; 21 | } 22 | -------------------------------------------------------------------------------- /components/inih_port/inih/examples/config.def: -------------------------------------------------------------------------------- 1 | // CFG(section, name, default) 2 | 3 | CFG(protocol, version, "0") 4 | 5 | CFG(user, name, "Fatty Lumpkin") 6 | CFG(user, email, "fatty@lumpkin.com") 7 | 8 | #undef CFG 9 | -------------------------------------------------------------------------------- /components/inih_port/inih/examples/ini_dump.c: -------------------------------------------------------------------------------- 1 | /* ini.h example that simply dumps an INI file without comments */ 2 | 3 | #include 4 | #include 5 | #include "../ini.h" 6 | 7 | static int dumper(void* user, const char* section, const char* name, 8 | const char* value) 9 | { 10 | static char prev_section[50] = ""; 11 | 12 | if (strcmp(section, prev_section)) { 13 | printf("%s[%s]\n", (prev_section[0] ? "\n" : ""), section); 14 | strncpy(prev_section, section, sizeof(prev_section)); 15 | prev_section[sizeof(prev_section) - 1] = '\0'; 16 | } 17 | printf("%s = %s\n", name, value); 18 | return 1; 19 | } 20 | 21 | int main(int argc, char* argv[]) 22 | { 23 | int error; 24 | 25 | if (argc <= 1) { 26 | printf("Usage: ini_dump filename.ini\n"); 27 | return 1; 28 | } 29 | 30 | error = ini_parse(argv[1], dumper, NULL); 31 | if (error < 0) { 32 | printf("Can't read '%s'!\n", argv[1]); 33 | return 2; 34 | } 35 | else if (error) { 36 | printf("Bad config file (first error on line %d)!\n", error); 37 | return 3; 38 | } 39 | return 0; 40 | } 41 | -------------------------------------------------------------------------------- /components/inih_port/inih/examples/ini_example.c: -------------------------------------------------------------------------------- 1 | /* Example: parse a simple configuration file */ 2 | 3 | #include 4 | #include 5 | #include 6 | #include "../ini.h" 7 | 8 | typedef struct 9 | { 10 | int version; 11 | const char* name; 12 | const char* email; 13 | } configuration; 14 | 15 | static int handler(void* user, const char* section, const char* name, 16 | const char* value) 17 | { 18 | configuration* pconfig = (configuration*)user; 19 | 20 | #define MATCH(s, n) strcmp(section, s) == 0 && strcmp(name, n) == 0 21 | if (MATCH("protocol", "version")) { 22 | pconfig->version = atoi(value); 23 | } else if (MATCH("user", "name")) { 24 | pconfig->name = strdup(value); 25 | } else if (MATCH("user", "email")) { 26 | pconfig->email = strdup(value); 27 | } else { 28 | return 0; /* unknown section/name, error */ 29 | } 30 | return 1; 31 | } 32 | 33 | int main(int argc, char* argv[]) 34 | { 35 | configuration config; 36 | 37 | if (ini_parse("test.ini", handler, &config) < 0) { 38 | printf("Can't load 'test.ini'\n"); 39 | return 1; 40 | } 41 | printf("Config loaded from 'test.ini': version=%d, name=%s, email=%s\n", 42 | config.version, config.name, config.email); 43 | return 0; 44 | } 45 | -------------------------------------------------------------------------------- /components/inih_port/inih/examples/ini_xmacros.c: -------------------------------------------------------------------------------- 1 | /* Parse a configuration file into a struct using X-Macros */ 2 | 3 | #include 4 | #include 5 | #include "../ini.h" 6 | 7 | /* define the config struct type */ 8 | typedef struct { 9 | #define CFG(s, n, default) char *s##_##n; 10 | #include "config.def" 11 | } config; 12 | 13 | /* create one and fill in its default values */ 14 | config Config = { 15 | #define CFG(s, n, default) default, 16 | #include "config.def" 17 | }; 18 | 19 | /* process a line of the INI file, storing valid values into config struct */ 20 | int handler(void *user, const char *section, const char *name, 21 | const char *value) 22 | { 23 | config *cfg = (config *)user; 24 | 25 | if (0) ; 26 | #define CFG(s, n, default) else if (strcmp(section, #s)==0 && \ 27 | strcmp(name, #n)==0) cfg->s##_##n = strdup(value); 28 | #include "config.def" 29 | 30 | return 1; 31 | } 32 | 33 | /* print all the variables in the config, one per line */ 34 | void dump_config(config *cfg) 35 | { 36 | #define CFG(s, n, default) printf("%s_%s = %s\n", #s, #n, cfg->s##_##n); 37 | #include "config.def" 38 | } 39 | 40 | int main(int argc, char* argv[]) 41 | { 42 | if (ini_parse("test.ini", handler, &Config) < 0) 43 | printf("Can't load 'test.ini', using defaults\n"); 44 | dump_config(&Config); 45 | return 0; 46 | } 47 | -------------------------------------------------------------------------------- /components/inih_port/inih/examples/test.ini: -------------------------------------------------------------------------------- 1 | ; Test config file for ini_example.c and INIReaderTest.cpp 2 | 3 | [protocol] ; Protocol configuration 4 | version=6 ; IPv6 5 | 6 | [user] 7 | name = Bob Smith ; Spaces around '=' are stripped 8 | email = bob@smith.com ; And comments (like this) ignored 9 | active = true ; Test a boolean 10 | pi = 3.14159 ; Test a floating point number 11 | -------------------------------------------------------------------------------- /components/inih_port/inih/extra/Makefile.static: -------------------------------------------------------------------------------- 1 | # Simple makefile to build inih as a static library using g++ 2 | 3 | SRC = ../ini.c 4 | OBJ = $(SRC:.c=.o) 5 | OUT = libinih.a 6 | INCLUDES = -I.. 7 | CCFLAGS = -g -O2 8 | CC = g++ 9 | 10 | default: $(OUT) 11 | 12 | .c.o: 13 | $(CC) $(INCLUDES) $(CCFLAGS) $(EXTRACCFLAGS) -c $< -o $@ 14 | 15 | $(OUT): $(OBJ) 16 | ar rcs $(OUT) $(OBJ) $(EXTRAARFLAGS) 17 | 18 | clean: 19 | rm -f $(OBJ) $(OUT) 20 | -------------------------------------------------------------------------------- /components/inih_port/inih/tests/bad_comment.ini: -------------------------------------------------------------------------------- 1 | This is an error 2 | -------------------------------------------------------------------------------- /components/inih_port/inih/tests/bad_multi.ini: -------------------------------------------------------------------------------- 1 | indented 2 | -------------------------------------------------------------------------------- /components/inih_port/inih/tests/bad_section.ini: -------------------------------------------------------------------------------- 1 | [section1] 2 | name1=value1 3 | [section2 4 | [section3 ; comment ] 5 | name2=value2 6 | -------------------------------------------------------------------------------- /components/inih_port/inih/tests/baseline_disallow_inline_comments.txt: -------------------------------------------------------------------------------- 1 | no_file.ini: e=-1 user=0 2 | ... [section1] 3 | ... one=This is a test ; name=value comment; 4 | ... two=1234; 5 | ... [ section 2 ] 6 | ... happy=4; 7 | ... sad=; 8 | ... [comment_test] 9 | ... test1=1;2;3 ; only this will be a comment; 10 | ... test2=2;3;4;this won't be a comment, needs whitespace before ';'; 11 | ... test;3=345 ; key should be "test;3"; 12 | ... test4=4#5#6 ; '#' only starts a comment at start of line; 13 | ... test7=; blank value, except if inline comments disabled; 14 | ... test8=; not a comment, needs whitespace before ';'; 15 | ... [colon_tests] 16 | ... Content-Type=text/html; 17 | ... foo=bar; 18 | ... adams=42; 19 | ... funny1=with = equals; 20 | ... funny2=with : colons; 21 | ... funny3=two = equals; 22 | ... funny4=two : colons; 23 | normal.ini: e=0 user=101 24 | ... [section1] 25 | ... name1=value1; 26 | ... [section3 ; comment ] 27 | ... name2=value2; 28 | bad_section.ini: e=3 user=102 29 | bad_comment.ini: e=1 user=102 30 | ... [section] 31 | ... a=b; 32 | ... user=parse_error; 33 | ... c=d; 34 | user_error.ini: e=3 user=104 35 | ... [section1] 36 | ... single1=abc; 37 | ... multi=this is a; 38 | ... multi=multi-line value; 39 | ... single2=xyz; 40 | ... [section2] 41 | ... multi=a; 42 | ... multi=b; 43 | ... multi=c; 44 | ... [section3] 45 | ... single=ghi; 46 | ... multi=the quick; 47 | ... multi=brown fox; 48 | ... name=bob smith ; comment line 1; 49 | multi_line.ini: e=0 user=105 50 | bad_multi.ini: e=1 user=105 51 | ... [bom_section] 52 | ... bom_name=bom_value; 53 | ... key“=value“; 54 | bom.ini: e=0 user=107 55 | -------------------------------------------------------------------------------- /components/inih_port/inih/tests/baseline_handler_lineno.txt: -------------------------------------------------------------------------------- 1 | no_file.ini: e=-1 user=0 2 | ... [section1] 3 | ... one=This is a test; line 3 4 | ... two=1234; line 4 5 | ... [ section 2 ] 6 | ... happy=4; line 8 7 | ... sad=; line 9 8 | ... [comment_test] 9 | ... test1=1;2;3; line 15 10 | ... test2=2;3;4;this won't be a comment, needs whitespace before ';'; line 16 11 | ... test;3=345; line 17 12 | ... test4=4#5#6; line 18 13 | ... test7=; line 21 14 | ... test8=; not a comment, needs whitespace before ';'; line 22 15 | ... [colon_tests] 16 | ... Content-Type=text/html; line 25 17 | ... foo=bar; line 26 18 | ... adams=42; line 27 19 | ... funny1=with = equals; line 28 20 | ... funny2=with : colons; line 29 21 | ... funny3=two = equals; line 30 22 | ... funny4=two : colons; line 31 23 | normal.ini: e=0 user=101 24 | ... [section1] 25 | ... name1=value1; line 2 26 | ... name2=value2; line 5 27 | bad_section.ini: e=3 user=102 28 | bad_comment.ini: e=1 user=102 29 | ... [section] 30 | ... a=b; line 2 31 | ... user=parse_error; line 3 32 | ... c=d; line 4 33 | user_error.ini: e=3 user=104 34 | ... [section1] 35 | ... single1=abc; line 2 36 | ... multi=this is a; line 3 37 | ... multi=multi-line value; line 4 38 | ... single2=xyz; line 5 39 | ... [section2] 40 | ... multi=a; line 7 41 | ... multi=b; line 8 42 | ... multi=c; line 9 43 | ... [section3] 44 | ... single=ghi; line 11 45 | ... multi=the quick; line 12 46 | ... multi=brown fox; line 13 47 | ... name=bob smith; line 14 48 | multi_line.ini: e=0 user=105 49 | bad_multi.ini: e=1 user=105 50 | ... [bom_section] 51 | ... bom_name=bom_value; line 2 52 | ... key“=value“; line 3 53 | bom.ini: e=0 user=107 54 | -------------------------------------------------------------------------------- /components/inih_port/inih/tests/baseline_multi.txt: -------------------------------------------------------------------------------- 1 | no_file.ini: e=-1 user=0 2 | ... [section1] 3 | ... one=This is a test; 4 | ... two=1234; 5 | ... [ section 2 ] 6 | ... happy=4; 7 | ... sad=; 8 | ... [comment_test] 9 | ... test1=1;2;3; 10 | ... test2=2;3;4;this won't be a comment, needs whitespace before ';'; 11 | ... test;3=345; 12 | ... test4=4#5#6; 13 | ... test7=; 14 | ... test8=; not a comment, needs whitespace before ';'; 15 | ... [colon_tests] 16 | ... Content-Type=text/html; 17 | ... foo=bar; 18 | ... adams=42; 19 | ... funny1=with = equals; 20 | ... funny2=with : colons; 21 | ... funny3=two = equals; 22 | ... funny4=two : colons; 23 | normal.ini: e=0 user=101 24 | ... [section1] 25 | ... name1=value1; 26 | ... name2=value2; 27 | bad_section.ini: e=3 user=102 28 | bad_comment.ini: e=1 user=102 29 | ... [section] 30 | ... a=b; 31 | ... user=parse_error; 32 | ... c=d; 33 | user_error.ini: e=3 user=104 34 | ... [section1] 35 | ... single1=abc; 36 | ... multi=this is a; 37 | ... multi=multi-line value; 38 | ... single2=xyz; 39 | ... [section2] 40 | ... multi=a; 41 | ... multi=b; 42 | ... multi=c; 43 | ... [section3] 44 | ... single=ghi; 45 | ... multi=the quick; 46 | ... multi=brown fox; 47 | ... name=bob smith; 48 | multi_line.ini: e=0 user=105 49 | bad_multi.ini: e=1 user=105 50 | ... [bom_section] 51 | ... bom_name=bom_value; 52 | ... key“=value“; 53 | bom.ini: e=0 user=107 54 | -------------------------------------------------------------------------------- /components/inih_port/inih/tests/baseline_single.txt: -------------------------------------------------------------------------------- 1 | no_file.ini: e=-1 user=0 2 | ... [section1] 3 | ... one=This is a test; 4 | ... two=1234; 5 | ... [ section 2 ] 6 | ... happy=4; 7 | ... sad=; 8 | ... [comment_test] 9 | ... test1=1;2;3; 10 | ... test2=2;3;4;this won't be a comment, needs whitespace before ';'; 11 | ... test;3=345; 12 | ... test4=4#5#6; 13 | ... test7=; 14 | ... test8=; not a comment, needs whitespace before ';'; 15 | ... [colon_tests] 16 | ... Content-Type=text/html; 17 | ... foo=bar; 18 | ... adams=42; 19 | ... funny1=with = equals; 20 | ... funny2=with : colons; 21 | ... funny3=two = equals; 22 | ... funny4=two : colons; 23 | normal.ini: e=0 user=101 24 | ... [section1] 25 | ... name1=value1; 26 | ... name2=value2; 27 | bad_section.ini: e=3 user=102 28 | bad_comment.ini: e=1 user=102 29 | ... [section] 30 | ... a=b; 31 | ... user=parse_error; 32 | ... c=d; 33 | user_error.ini: e=3 user=104 34 | ... [section1] 35 | ... single1=abc; 36 | ... multi=this is a; 37 | ... single2=xyz; 38 | ... [section2] 39 | ... multi=a; 40 | ... [section3] 41 | ... single=ghi; 42 | ... multi=the quick; 43 | ... name=bob smith; 44 | multi_line.ini: e=4 user=105 45 | bad_multi.ini: e=1 user=105 46 | ... [bom_section] 47 | ... bom_name=bom_value; 48 | ... key“=value“; 49 | bom.ini: e=0 user=107 50 | -------------------------------------------------------------------------------- /components/inih_port/inih/tests/baseline_stop_on_first_error.txt: -------------------------------------------------------------------------------- 1 | no_file.ini: e=-1 user=0 2 | ... [section1] 3 | ... one=This is a test; 4 | ... two=1234; 5 | ... [ section 2 ] 6 | ... happy=4; 7 | ... sad=; 8 | ... [comment_test] 9 | ... test1=1;2;3; 10 | ... test2=2;3;4;this won't be a comment, needs whitespace before ';'; 11 | ... test;3=345; 12 | ... test4=4#5#6; 13 | ... test7=; 14 | ... test8=; not a comment, needs whitespace before ';'; 15 | ... [colon_tests] 16 | ... Content-Type=text/html; 17 | ... foo=bar; 18 | ... adams=42; 19 | ... funny1=with = equals; 20 | ... funny2=with : colons; 21 | ... funny3=two = equals; 22 | ... funny4=two : colons; 23 | normal.ini: e=0 user=101 24 | ... [section1] 25 | ... name1=value1; 26 | bad_section.ini: e=3 user=102 27 | bad_comment.ini: e=1 user=102 28 | ... [section] 29 | ... a=b; 30 | ... user=parse_error; 31 | user_error.ini: e=3 user=104 32 | ... [section1] 33 | ... single1=abc; 34 | ... multi=this is a; 35 | ... multi=multi-line value; 36 | ... single2=xyz; 37 | ... [section2] 38 | ... multi=a; 39 | ... multi=b; 40 | ... multi=c; 41 | ... [section3] 42 | ... single=ghi; 43 | ... multi=the quick; 44 | ... multi=brown fox; 45 | ... name=bob smith; 46 | multi_line.ini: e=0 user=105 47 | bad_multi.ini: e=1 user=105 48 | ... [bom_section] 49 | ... bom_name=bom_value; 50 | ... key“=value“; 51 | bom.ini: e=0 user=107 52 | -------------------------------------------------------------------------------- /components/inih_port/inih/tests/baseline_string.txt: -------------------------------------------------------------------------------- 1 | empty string: e=0 user=0 2 | ... [section] 3 | ... foo=bar; 4 | ... bazz=buzz quxx; 5 | basic: e=0 user=101 6 | ... [section] 7 | ... hello=world; 8 | ... forty_two=42; 9 | crlf: e=0 user=102 10 | ... [sec] 11 | ... foo=0123456789012; 12 | ... bar=4321; 13 | long line: e=3 user=103 14 | ... [sec] 15 | ... foo=0123456789012; 16 | ... bix=1234; 17 | long continued: e=0 user=104 18 | ... [s] 19 | ... a=1; 20 | ... c=3; 21 | error: e=3 user=105 22 | -------------------------------------------------------------------------------- /components/inih_port/inih/tests/bom.ini: -------------------------------------------------------------------------------- 1 | [bom_section] 2 | bom_name=bom_value 3 | key“ = value“ 4 | -------------------------------------------------------------------------------- /components/inih_port/inih/tests/multi_line.ini: -------------------------------------------------------------------------------- 1 | [section1] 2 | single1 = abc 3 | multi = this is a 4 | multi-line value 5 | single2 = xyz 6 | [section2] 7 | multi = a 8 | b 9 | c 10 | [section3] 11 | single: ghi 12 | multi: the quick 13 | brown fox 14 | name = bob smith ; comment line 1 15 | ; comment line 2 16 | -------------------------------------------------------------------------------- /components/inih_port/inih/tests/normal.ini: -------------------------------------------------------------------------------- 1 | ; This is an INI file 2 | [section1] ; section comment 3 | one=This is a test ; name=value comment 4 | two = 1234 5 | ; x=y 6 | 7 | [ section 2 ] 8 | happy = 4 9 | sad = 10 | 11 | [empty] 12 | ; do nothing 13 | 14 | [comment_test] 15 | test1 = 1;2;3 ; only this will be a comment 16 | test2 = 2;3;4;this won't be a comment, needs whitespace before ';' 17 | test;3 = 345 ; key should be "test;3" 18 | test4 = 4#5#6 ; '#' only starts a comment at start of line 19 | #test5 = 567 ; entire line commented 20 | # test6 = 678 ; entire line commented, except in MULTILINE mode 21 | test7 = ; blank value, except if inline comments disabled 22 | test8 =; not a comment, needs whitespace before ';' 23 | 24 | [colon_tests] 25 | Content-Type: text/html 26 | foo:bar 27 | adams : 42 28 | funny1 : with = equals 29 | funny2 = with : colons 30 | funny3 = two = equals 31 | funny4 : two : colons 32 | -------------------------------------------------------------------------------- /components/inih_port/inih/tests/unittest.bat: -------------------------------------------------------------------------------- 1 | @call tcc ..\ini.c -I..\ -run unittest.c > baseline_multi.txt 2 | @call tcc ..\ini.c -I..\ -DINI_ALLOW_MULTILINE=0 -run unittest.c > baseline_single.txt 3 | @call tcc ..\ini.c -I..\ -DINI_ALLOW_INLINE_COMMENTS=0 -run unittest.c > baseline_disallow_inline_comments.txt 4 | @call tcc ..\ini.c -I..\ -DINI_STOP_ON_FIRST_ERROR=1 -run unittest.c > baseline_stop_on_first_error.txt 5 | @call tcc ..\ini.c -I..\ -DINI_HANDLER_LINENO=1 -run unittest.c > baseline_handler_lineno.txt 6 | -------------------------------------------------------------------------------- /components/inih_port/inih/tests/unittest.c: -------------------------------------------------------------------------------- 1 | /* inih -- unit tests 2 | 3 | This works simply by dumping a bunch of info to standard output, which is 4 | redirected to an output file (baseline_*.txt) and checked into the Subversion 5 | repository. This baseline file is the test output, so the idea is to check it 6 | once, and if it changes -- look at the diff and see which tests failed. 7 | 8 | See unittest.bat and unittest.sh for how to run this (with tcc and gcc, 9 | respectively). 10 | 11 | */ 12 | 13 | #include 14 | #include 15 | #include 16 | #include "../ini.h" 17 | 18 | int User; 19 | char Prev_section[50]; 20 | 21 | #if INI_HANDLER_LINENO 22 | int dumper(void* user, const char* section, const char* name, 23 | const char* value, int lineno) 24 | #else 25 | int dumper(void* user, const char* section, const char* name, 26 | const char* value) 27 | #endif 28 | { 29 | User = *((int*)user); 30 | if (strcmp(section, Prev_section)) { 31 | printf("... [%s]\n", section); 32 | strncpy(Prev_section, section, sizeof(Prev_section)); 33 | Prev_section[sizeof(Prev_section) - 1] = '\0'; 34 | } 35 | 36 | #if INI_HANDLER_LINENO 37 | printf("... %s=%s; line %d\n", name, value, lineno); 38 | #else 39 | printf("... %s=%s;\n", name, value); 40 | #endif 41 | 42 | return strcmp(name, "user")==0 && strcmp(value, "parse_error")==0 ? 0 : 1; 43 | } 44 | 45 | void parse(const char* fname) { 46 | static int u = 100; 47 | int e; 48 | 49 | *Prev_section = '\0'; 50 | e = ini_parse(fname, dumper, &u); 51 | printf("%s: e=%d user=%d\n", fname, e, User); 52 | u++; 53 | } 54 | 55 | int main(void) 56 | { 57 | parse("no_file.ini"); 58 | parse("normal.ini"); 59 | parse("bad_section.ini"); 60 | parse("bad_comment.ini"); 61 | parse("user_error.ini"); 62 | parse("multi_line.ini"); 63 | parse("bad_multi.ini"); 64 | parse("bom.ini"); 65 | return 0; 66 | } 67 | -------------------------------------------------------------------------------- /components/inih_port/inih/tests/unittest.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | gcc ../ini.c unittest.c -o unittest_multi 4 | ./unittest_multi > baseline_multi.txt 5 | rm -f unittest_multi 6 | 7 | gcc ../ini.c -DINI_ALLOW_MULTILINE=0 unittest.c -o unittest_single 8 | ./unittest_single > baseline_single.txt 9 | rm -f unittest_single 10 | 11 | gcc ../ini.c -DINI_ALLOW_INLINE_COMMENTS=0 unittest.c -o unittest_disallow_inline_comments 12 | ./unittest_disallow_inline_comments > baseline_disallow_inline_comments.txt 13 | rm -f unittest_disallow_inline_comments 14 | 15 | gcc ../ini.c -DINI_STOP_ON_FIRST_ERROR=1 unittest.c -o unittest_stop_on_first_error 16 | ./unittest_stop_on_first_error > baseline_stop_on_first_error.txt 17 | rm -f unittest_stop_on_first_error 18 | 19 | gcc ../ini.c -DINI_HANDLER_LINENO=1 unittest.c -o unittest_handler_lineno 20 | ./unittest_handler_lineno > baseline_handler_lineno.txt 21 | rm -f unittest_handler_lineno 22 | 23 | gcc ../ini.c -DINI_MAX_LINE=20 unittest_string.c -o unittest_string 24 | ./unittest_string > baseline_string.txt 25 | rm -f unittest_string 26 | -------------------------------------------------------------------------------- /components/inih_port/inih/tests/unittest_string.c: -------------------------------------------------------------------------------- 1 | /* inih -- unit tests for ini_parse_string() */ 2 | 3 | #include 4 | #include 5 | #include 6 | #include "../ini.h" 7 | 8 | int User; 9 | char Prev_section[50]; 10 | 11 | int dumper(void* user, const char* section, const char* name, 12 | const char* value) 13 | { 14 | User = *((int*)user); 15 | if (strcmp(section, Prev_section)) { 16 | printf("... [%s]\n", section); 17 | strncpy(Prev_section, section, sizeof(Prev_section)); 18 | Prev_section[sizeof(Prev_section) - 1] = '\0'; 19 | } 20 | printf("... %s=%s;\n", name, value); 21 | return 1; 22 | } 23 | 24 | void parse(const char* name, const char* string) { 25 | static int u = 100; 26 | int e; 27 | 28 | *Prev_section = '\0'; 29 | e = ini_parse_string(string, dumper, &u); 30 | printf("%s: e=%d user=%d\n", name, e, User); 31 | u++; 32 | } 33 | 34 | int main(void) 35 | { 36 | parse("empty string", ""); 37 | parse("basic", "[section]\nfoo = bar\nbazz = buzz quxx"); 38 | parse("crlf", "[section]\r\nhello = world\r\nforty_two = 42\r\n"); 39 | parse("long line", "[sec]\nfoo = 01234567890123456789\nbar=4321\n"); 40 | parse("long continued", "[sec]\nfoo = 0123456789012bix=1234\n"); 41 | parse("error", "[s]\na=1\nb\nc=3"); 42 | return 0; 43 | } 44 | -------------------------------------------------------------------------------- /components/inih_port/inih/tests/user_error.ini: -------------------------------------------------------------------------------- 1 | [section] 2 | a = b 3 | user = parse_error 4 | c = d 5 | -------------------------------------------------------------------------------- /components/libfaad/analysis.h: -------------------------------------------------------------------------------- 1 | /* 2 | ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding 3 | ** Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com 4 | ** 5 | ** This program is free software; you can redistribute it and/or modify 6 | ** it under the terms of the GNU General Public License as published by 7 | ** the Free Software Foundation; either version 2 of the License, or 8 | ** (at your option) any later version. 9 | ** 10 | ** This program is distributed in the hope that it will be useful, 11 | ** but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | ** GNU General Public License for more details. 14 | ** 15 | ** You should have received a copy of the GNU General Public License 16 | ** along with this program; if not, write to the Free Software 17 | ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 18 | ** 19 | ** Any non-GPL usage of this software or parts of this software is strictly 20 | ** forbidden. 21 | ** 22 | ** The "appropriate copyright message" mentioned in section 2c of the GPLv2 23 | ** must read: "Code from FAAD2 is copyright (c) Nero AG, www.nero.com" 24 | ** 25 | ** Commercial non-GPL licensing of this software is possible. 26 | ** For more info contact Nero AG through Mpeg4AAClicense@nero.com. 27 | ** 28 | ** $Id: analysis.h,v 1.18 2007/11/01 12:33:29 menno Exp $ 29 | **/ 30 | 31 | #ifndef __ANALYSIS_H__ 32 | #define __ANALYSIS_H__ 33 | 34 | #ifdef __cplusplus 35 | extern "C" { 36 | #endif 37 | 38 | 39 | #ifdef ANALYSIS 40 | #define DEBUGDEC ,uint8_t print,uint16_t var,uint8_t *dbg 41 | #define DEBUGVAR(A,B,C) ,A,B,C 42 | extern uint16_t dbg_count; 43 | #else 44 | #define DEBUGDEC 45 | #define DEBUGVAR(A,B,C) 46 | #endif 47 | 48 | 49 | #ifdef __cplusplus 50 | } 51 | #endif 52 | #endif 53 | -------------------------------------------------------------------------------- /components/libfaad/cfft.h: -------------------------------------------------------------------------------- 1 | /* 2 | ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding 3 | ** Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com 4 | ** 5 | ** This program is free software; you can redistribute it and/or modify 6 | ** it under the terms of the GNU General Public License as published by 7 | ** the Free Software Foundation; either version 2 of the License, or 8 | ** (at your option) any later version. 9 | ** 10 | ** This program is distributed in the hope that it will be useful, 11 | ** but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | ** GNU General Public License for more details. 14 | ** 15 | ** You should have received a copy of the GNU General Public License 16 | ** along with this program; if not, write to the Free Software 17 | ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 18 | ** 19 | ** Any non-GPL usage of this software or parts of this software is strictly 20 | ** forbidden. 21 | ** 22 | ** The "appropriate copyright message" mentioned in section 2c of the GPLv2 23 | ** must read: "Code from FAAD2 is copyright (c) Nero AG, www.nero.com" 24 | ** 25 | ** Commercial non-GPL licensing of this software is possible. 26 | ** For more info contact Nero AG through Mpeg4AAClicense@nero.com. 27 | ** 28 | ** $Id: cfft.h,v 1.24 2007/11/01 12:33:29 menno Exp $ 29 | **/ 30 | 31 | #ifndef __CFFT_H__ 32 | #define __CFFT_H__ 33 | 34 | #ifdef __cplusplus 35 | extern "C" { 36 | #endif 37 | 38 | typedef struct 39 | { 40 | uint16_t n; 41 | uint16_t ifac[15]; 42 | complex_t *work; 43 | complex_t *tab; 44 | } cfft_info; 45 | 46 | 47 | void cfftf(cfft_info *cfft, complex_t *c); 48 | void cfftb(cfft_info *cfft, complex_t *c); 49 | cfft_info *cffti(uint16_t n); 50 | void cfftu(cfft_info *cfft); 51 | 52 | 53 | #ifdef __cplusplus 54 | } 55 | #endif 56 | #endif 57 | -------------------------------------------------------------------------------- /components/libfaad/component.mk: -------------------------------------------------------------------------------- 1 | 2 | COMPONENT_ADD_INCLUDEDIRS := include codebook . 3 | # -DFIXED_POINT 4 | CFLAGS += -DHAVE_MEMCPY -DSTDC_HEADERS -DHAVE_INTTYPES_H -DHAVE_INTTYPES_H -DHAVE_STRINGS_H -Wno-error=unused-function -Wno-unused-function -Wno-error=unused-variable -Wno-unused-variable -Wno-error=maybe-uninitialized -Wno-maybe-uninitialized -Wno-error=unused-value -Wno-unused-but-set-variable 5 | -------------------------------------------------------------------------------- /components/libfaad/drc.h: -------------------------------------------------------------------------------- 1 | /* 2 | ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding 3 | ** Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com 4 | ** 5 | ** This program is free software; you can redistribute it and/or modify 6 | ** it under the terms of the GNU General Public License as published by 7 | ** the Free Software Foundation; either version 2 of the License, or 8 | ** (at your option) any later version. 9 | ** 10 | ** This program is distributed in the hope that it will be useful, 11 | ** but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | ** GNU General Public License for more details. 14 | ** 15 | ** You should have received a copy of the GNU General Public License 16 | ** along with this program; if not, write to the Free Software 17 | ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 18 | ** 19 | ** Any non-GPL usage of this software or parts of this software is strictly 20 | ** forbidden. 21 | ** 22 | ** The "appropriate copyright message" mentioned in section 2c of the GPLv2 23 | ** must read: "Code from FAAD2 is copyright (c) Nero AG, www.nero.com" 24 | ** 25 | ** Commercial non-GPL licensing of this software is possible. 26 | ** For more info contact Nero AG through Mpeg4AAClicense@nero.com. 27 | ** 28 | ** $Id: drc.h,v 1.22 2007/11/01 12:33:30 menno Exp $ 29 | **/ 30 | 31 | #ifndef __DRC_H__ 32 | #define __DRC_H__ 33 | 34 | #ifdef __cplusplus 35 | extern "C" { 36 | #endif 37 | 38 | #define DRC_REF_LEVEL 20*4 /* -20 dB */ 39 | 40 | 41 | drc_info *drc_init(real_t cut, real_t boost); 42 | void drc_end(drc_info *drc); 43 | void drc_decode(drc_info *drc, real_t *spec); 44 | 45 | 46 | #ifdef __cplusplus 47 | } 48 | #endif 49 | #endif 50 | -------------------------------------------------------------------------------- /components/libfaad/error.h: -------------------------------------------------------------------------------- 1 | /* 2 | ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding 3 | ** Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com 4 | ** 5 | ** This program is free software; you can redistribute it and/or modify 6 | ** it under the terms of the GNU General Public License as published by 7 | ** the Free Software Foundation; either version 2 of the License, or 8 | ** (at your option) any later version. 9 | ** 10 | ** This program is distributed in the hope that it will be useful, 11 | ** but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | ** GNU General Public License for more details. 14 | ** 15 | ** You should have received a copy of the GNU General Public License 16 | ** along with this program; if not, write to the Free Software 17 | ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 18 | ** 19 | ** Any non-GPL usage of this software or parts of this software is strictly 20 | ** forbidden. 21 | ** 22 | ** The "appropriate copyright message" mentioned in section 2c of the GPLv2 23 | ** must read: "Code from FAAD2 is copyright (c) Nero AG, www.nero.com" 24 | ** 25 | ** Commercial non-GPL licensing of this software is possible. 26 | ** For more info contact Nero AG through Mpeg4AAClicense@nero.com. 27 | ** 28 | ** $Id: error.h,v 1.27 2008/09/19 23:31:40 menno Exp $ 29 | **/ 30 | 31 | #ifndef __ERROR_H__ 32 | #define __ERROR_H__ 33 | 34 | #ifdef __cplusplus 35 | extern "C" { 36 | #endif 37 | 38 | #define NUM_ERROR_MESSAGES 34 39 | extern char *err_msg[]; 40 | 41 | #ifdef __cplusplus 42 | } 43 | #endif 44 | #endif 45 | -------------------------------------------------------------------------------- /components/libfaad/huffman.h: -------------------------------------------------------------------------------- 1 | /* 2 | ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding 3 | ** Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com 4 | ** 5 | ** This program is free software; you can redistribute it and/or modify 6 | ** it under the terms of the GNU General Public License as published by 7 | ** the Free Software Foundation; either version 2 of the License, or 8 | ** (at your option) any later version. 9 | ** 10 | ** This program is distributed in the hope that it will be useful, 11 | ** but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | ** GNU General Public License for more details. 14 | ** 15 | ** You should have received a copy of the GNU General Public License 16 | ** along with this program; if not, write to the Free Software 17 | ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 18 | ** 19 | ** Any non-GPL usage of this software or parts of this software is strictly 20 | ** forbidden. 21 | ** 22 | ** The "appropriate copyright message" mentioned in section 2c of the GPLv2 23 | ** must read: "Code from FAAD2 is copyright (c) Nero AG, www.nero.com" 24 | ** 25 | ** Commercial non-GPL licensing of this software is possible. 26 | ** For more info contact Nero AG through Mpeg4AAClicense@nero.com. 27 | ** 28 | ** $Id: huffman.h,v 1.28 2007/11/01 12:33:30 menno Exp $ 29 | **/ 30 | 31 | #ifndef __HUFFMAN_H__ 32 | #define __HUFFMAN_H__ 33 | 34 | #ifdef __cplusplus 35 | extern "C" { 36 | #endif 37 | 38 | int8_t huffman_scale_factor(bitfile *ld); 39 | uint8_t huffman_spectral_data(uint8_t cb, bitfile *ld, int16_t *sp); 40 | #ifdef ERROR_RESILIENCE 41 | int8_t huffman_spectral_data_2(uint8_t cb, bits_t *ld, int16_t *sp); 42 | #endif 43 | 44 | #ifdef __cplusplus 45 | } 46 | #endif 47 | #endif 48 | -------------------------------------------------------------------------------- /components/libfaad/include/faad.h: -------------------------------------------------------------------------------- 1 | /* 2 | ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding 3 | ** Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com 4 | ** 5 | ** This program is free software; you can redistribute it and/or modify 6 | ** it under the terms of the GNU General Public License as published by 7 | ** the Free Software Foundation; either version 2 of the License, or 8 | ** (at your option) any later version. 9 | ** 10 | ** This program is distributed in the hope that it will be useful, 11 | ** but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | ** GNU General Public License for more details. 14 | ** 15 | ** You should have received a copy of the GNU General Public License 16 | ** along with this program; if not, write to the Free Software 17 | ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 18 | ** 19 | ** Any non-GPL usage of this software or parts of this software is strictly 20 | ** forbidden. 21 | ** 22 | ** The "appropriate copyright message" mentioned in section 2c of the GPLv2 23 | ** must read: "Code from FAAD2 is copyright (c) Nero AG, www.nero.com" 24 | ** 25 | ** Commercial non-GPL licensing of this software is possible. 26 | ** For more info contact Nero AG through Mpeg4AAClicense@nero.com. 27 | ** 28 | ** $Id: faad.h,v 1.51 2007/11/01 12:33:29 menno Exp $ 29 | **/ 30 | 31 | /* warn people for update */ 32 | #pragma message("please update faad2 include filename and function names!") 33 | 34 | /* Backwards compatible link */ 35 | #include "neaacdec.h" 36 | -------------------------------------------------------------------------------- /components/libfaad/mdct.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/libfaad/mdct.c -------------------------------------------------------------------------------- /components/libfaad/mdct.h: -------------------------------------------------------------------------------- 1 | /* 2 | ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding 3 | ** Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com 4 | ** 5 | ** This program is free software; you can redistribute it and/or modify 6 | ** it under the terms of the GNU General Public License as published by 7 | ** the Free Software Foundation; either version 2 of the License, or 8 | ** (at your option) any later version. 9 | ** 10 | ** This program is distributed in the hope that it will be useful, 11 | ** but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | ** GNU General Public License for more details. 14 | ** 15 | ** You should have received a copy of the GNU General Public License 16 | ** along with this program; if not, write to the Free Software 17 | ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 18 | ** 19 | ** Any non-GPL usage of this software or parts of this software is strictly 20 | ** forbidden. 21 | ** 22 | ** The "appropriate copyright message" mentioned in section 2c of the GPLv2 23 | ** must read: "Code from FAAD2 is copyright (c) Nero AG, www.nero.com" 24 | ** 25 | ** Commercial non-GPL licensing of this software is possible. 26 | ** For more info contact Nero AG through Mpeg4AAClicense@nero.com. 27 | ** 28 | ** $Id: mdct.h,v 1.30 2007/11/01 12:33:31 menno Exp $ 29 | **/ 30 | 31 | #ifndef __MDCT_H__ 32 | #define __MDCT_H__ 33 | 34 | #ifdef __cplusplus 35 | extern "C" { 36 | #endif 37 | 38 | 39 | mdct_info *faad_mdct_init(uint16_t N); 40 | void faad_mdct_end(mdct_info *mdct); 41 | void faad_imdct(mdct_info *mdct, real_t *X_in, real_t *X_out); 42 | void faad_mdct(mdct_info *mdct, real_t *X_in, real_t *X_out); 43 | 44 | 45 | #ifdef __cplusplus 46 | } 47 | #endif 48 | #endif 49 | -------------------------------------------------------------------------------- /components/libfaad/ms.h: -------------------------------------------------------------------------------- 1 | /* 2 | ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding 3 | ** Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com 4 | ** 5 | ** This program is free software; you can redistribute it and/or modify 6 | ** it under the terms of the GNU General Public License as published by 7 | ** the Free Software Foundation; either version 2 of the License, or 8 | ** (at your option) any later version. 9 | ** 10 | ** This program is distributed in the hope that it will be useful, 11 | ** but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | ** GNU General Public License for more details. 14 | ** 15 | ** You should have received a copy of the GNU General Public License 16 | ** along with this program; if not, write to the Free Software 17 | ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 18 | ** 19 | ** Any non-GPL usage of this software or parts of this software is strictly 20 | ** forbidden. 21 | ** 22 | ** The "appropriate copyright message" mentioned in section 2c of the GPLv2 23 | ** must read: "Code from FAAD2 is copyright (c) Nero AG, www.nero.com" 24 | ** 25 | ** Commercial non-GPL licensing of this software is possible. 26 | ** For more info contact Nero AG through Mpeg4AAClicense@nero.com. 27 | ** 28 | ** $Id: ms.h,v 1.19 2007/11/01 12:33:32 menno Exp $ 29 | **/ 30 | 31 | #ifndef __MS_H__ 32 | #define __MS_H__ 33 | 34 | #ifdef __cplusplus 35 | extern "C" { 36 | #endif 37 | 38 | void ms_decode(ic_stream *ics, ic_stream *icsr, real_t *l_spec, real_t *r_spec, 39 | uint16_t frame_len); 40 | 41 | #ifdef __cplusplus 42 | } 43 | #endif 44 | #endif 45 | -------------------------------------------------------------------------------- /components/libfaad/output.h: -------------------------------------------------------------------------------- 1 | /* 2 | ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding 3 | ** Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com 4 | ** 5 | ** This program is free software; you can redistribute it and/or modify 6 | ** it under the terms of the GNU General Public License as published by 7 | ** the Free Software Foundation; either version 2 of the License, or 8 | ** (at your option) any later version. 9 | ** 10 | ** This program is distributed in the hope that it will be useful, 11 | ** but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | ** GNU General Public License for more details. 14 | ** 15 | ** You should have received a copy of the GNU General Public License 16 | ** along with this program; if not, write to the Free Software 17 | ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 18 | ** 19 | ** Any non-GPL usage of this software or parts of this software is strictly 20 | ** forbidden. 21 | ** 22 | ** The "appropriate copyright message" mentioned in section 2c of the GPLv2 23 | ** must read: "Code from FAAD2 is copyright (c) Nero AG, www.nero.com" 24 | ** 25 | ** Commercial non-GPL licensing of this software is possible. 26 | ** For more info contact Nero AG through Mpeg4AAClicense@nero.com. 27 | ** 28 | ** $Id: output.h,v 1.26 2009/01/26 23:51:15 menno Exp $ 29 | **/ 30 | 31 | #ifndef __OUTPUT_H__ 32 | #define __OUTPUT_H__ 33 | 34 | #ifdef __cplusplus 35 | extern "C" { 36 | #endif 37 | 38 | void* output_to_PCM(NeAACDecStruct *hDecoder, 39 | real_t **input, 40 | void *samplebuffer, 41 | uint8_t channels, 42 | uint16_t frame_len, 43 | uint8_t format); 44 | 45 | #ifdef __cplusplus 46 | } 47 | #endif 48 | #endif 49 | -------------------------------------------------------------------------------- /components/libfaad/pulse.h: -------------------------------------------------------------------------------- 1 | /* 2 | ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding 3 | ** Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com 4 | ** 5 | ** This program is free software; you can redistribute it and/or modify 6 | ** it under the terms of the GNU General Public License as published by 7 | ** the Free Software Foundation; either version 2 of the License, or 8 | ** (at your option) any later version. 9 | ** 10 | ** This program is distributed in the hope that it will be useful, 11 | ** but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | ** GNU General Public License for more details. 14 | ** 15 | ** You should have received a copy of the GNU General Public License 16 | ** along with this program; if not, write to the Free Software 17 | ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 18 | ** 19 | ** Any non-GPL usage of this software or parts of this software is strictly 20 | ** forbidden. 21 | ** 22 | ** The "appropriate copyright message" mentioned in section 2c of the GPLv2 23 | ** must read: "Code from FAAD2 is copyright (c) Nero AG, www.nero.com" 24 | ** 25 | ** Commercial non-GPL licensing of this software is possible. 26 | ** For more info contact Nero AG through Mpeg4AAClicense@nero.com. 27 | ** 28 | ** $Id: pulse.h,v 1.20 2007/11/01 12:33:34 menno Exp $ 29 | **/ 30 | 31 | #ifndef __PULSE_H__ 32 | #define __PULSE_H__ 33 | 34 | #ifdef __cplusplus 35 | extern "C" { 36 | #endif 37 | 38 | uint8_t pulse_decode(ic_stream *ics, int16_t *spec_coef, uint16_t framelen); 39 | 40 | #ifdef __cplusplus 41 | } 42 | #endif 43 | #endif 44 | -------------------------------------------------------------------------------- /components/libfaad/rvlc.h: -------------------------------------------------------------------------------- 1 | /* 2 | ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding 3 | ** Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com 4 | ** 5 | ** This program is free software; you can redistribute it and/or modify 6 | ** it under the terms of the GNU General Public License as published by 7 | ** the Free Software Foundation; either version 2 of the License, or 8 | ** (at your option) any later version. 9 | ** 10 | ** This program is distributed in the hope that it will be useful, 11 | ** but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | ** GNU General Public License for more details. 14 | ** 15 | ** You should have received a copy of the GNU General Public License 16 | ** along with this program; if not, write to the Free Software 17 | ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 18 | ** 19 | ** Any non-GPL usage of this software or parts of this software is strictly 20 | ** forbidden. 21 | ** 22 | ** The "appropriate copyright message" mentioned in section 2c of the GPLv2 23 | ** must read: "Code from FAAD2 is copyright (c) Nero AG, www.nero.com" 24 | ** 25 | ** Commercial non-GPL licensing of this software is possible. 26 | ** For more info contact Nero AG through Mpeg4AAClicense@nero.com. 27 | ** 28 | ** $Id: rvlc.h,v 1.17 2007/11/01 12:33:34 menno Exp $ 29 | **/ 30 | 31 | #ifndef __RVLC_SCF_H__ 32 | #define __RVLC_SCF_H__ 33 | 34 | #ifdef __cplusplus 35 | extern "C" { 36 | #endif 37 | 38 | typedef struct 39 | { 40 | int8_t index; 41 | uint8_t len; 42 | uint32_t cw; 43 | } rvlc_huff_table; 44 | 45 | 46 | #define ESC_VAL 7 47 | 48 | 49 | uint8_t rvlc_scale_factor_data(ic_stream *ics, bitfile *ld); 50 | uint8_t rvlc_decode_scale_factors(ic_stream *ics, bitfile *ld); 51 | 52 | 53 | #ifdef __cplusplus 54 | } 55 | #endif 56 | #endif 57 | -------------------------------------------------------------------------------- /components/libfaad/sbr_dct.h: -------------------------------------------------------------------------------- 1 | /* 2 | ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding 3 | ** Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com 4 | ** 5 | ** This program is free software; you can redistribute it and/or modify 6 | ** it under the terms of the GNU General Public License as published by 7 | ** the Free Software Foundation; either version 2 of the License, or 8 | ** (at your option) any later version. 9 | ** 10 | ** This program is distributed in the hope that it will be useful, 11 | ** but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | ** GNU General Public License for more details. 14 | ** 15 | ** You should have received a copy of the GNU General Public License 16 | ** along with this program; if not, write to the Free Software 17 | ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 18 | ** 19 | ** Any non-GPL usage of this software or parts of this software is strictly 20 | ** forbidden. 21 | ** 22 | ** The "appropriate copyright message" mentioned in section 2c of the GPLv2 23 | ** must read: "Code from FAAD2 is copyright (c) Nero AG, www.nero.com" 24 | ** 25 | ** Commercial non-GPL licensing of this software is possible. 26 | ** For more info contact Nero AG through Mpeg4AAClicense@nero.com. 27 | ** 28 | ** $Id: sbr_dct.h,v 1.19 2007/11/01 12:33:34 menno Exp $ 29 | **/ 30 | 31 | #ifndef __SBR_DCT_H__ 32 | #define __SBR_DCT_H__ 33 | 34 | #ifdef __cplusplus 35 | extern "C" { 36 | #endif 37 | 38 | void dct4_kernel(real_t * in_real, real_t * in_imag, real_t * out_real, real_t * out_imag); 39 | 40 | void DCT3_32_unscaled(real_t *y, real_t *x); 41 | void DCT4_32(real_t *y, real_t *x); 42 | void DST4_32(real_t *y, real_t *x); 43 | void DCT2_32_unscaled(real_t *y, real_t *x); 44 | void DCT4_16(real_t *y, real_t *x); 45 | void DCT2_16_unscaled(real_t *y, real_t *x); 46 | 47 | 48 | #ifdef __cplusplus 49 | } 50 | #endif 51 | #endif 52 | 53 | -------------------------------------------------------------------------------- /components/libfaad/sbr_e_nf.h: -------------------------------------------------------------------------------- 1 | /* 2 | ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding 3 | ** Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com 4 | ** 5 | ** This program is free software; you can redistribute it and/or modify 6 | ** it under the terms of the GNU General Public License as published by 7 | ** the Free Software Foundation; either version 2 of the License, or 8 | ** (at your option) any later version. 9 | ** 10 | ** This program is distributed in the hope that it will be useful, 11 | ** but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | ** GNU General Public License for more details. 14 | ** 15 | ** You should have received a copy of the GNU General Public License 16 | ** along with this program; if not, write to the Free Software 17 | ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 18 | ** 19 | ** Any non-GPL usage of this software or parts of this software is strictly 20 | ** forbidden. 21 | ** 22 | ** The "appropriate copyright message" mentioned in section 2c of the GPLv2 23 | ** must read: "Code from FAAD2 is copyright (c) Nero AG, www.nero.com" 24 | ** 25 | ** Commercial non-GPL licensing of this software is possible. 26 | ** For more info contact Nero AG through Mpeg4AAClicense@nero.com. 27 | ** 28 | ** $Id: sbr_e_nf.h,v 1.18 2007/11/01 12:33:35 menno Exp $ 29 | **/ 30 | 31 | #ifndef __SBR_E_NF_H__ 32 | #define __SBR_E_NF_H__ 33 | 34 | #ifdef __cplusplus 35 | extern "C" { 36 | #endif 37 | 38 | 39 | void extract_envelope_data(sbr_info *sbr, uint8_t ch); 40 | void extract_noise_floor_data(sbr_info *sbr, uint8_t ch); 41 | #ifndef FIXED_POINT 42 | void envelope_noise_dequantisation(sbr_info *sbr, uint8_t ch); 43 | void unmap_envelope_noise(sbr_info *sbr); 44 | #endif 45 | 46 | #ifdef __cplusplus 47 | } 48 | #endif 49 | #endif 50 | 51 | -------------------------------------------------------------------------------- /components/libfaad/sbr_hfadj.h: -------------------------------------------------------------------------------- 1 | /* 2 | ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding 3 | ** Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com 4 | ** 5 | ** This program is free software; you can redistribute it and/or modify 6 | ** it under the terms of the GNU General Public License as published by 7 | ** the Free Software Foundation; either version 2 of the License, or 8 | ** (at your option) any later version. 9 | ** 10 | ** This program is distributed in the hope that it will be useful, 11 | ** but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | ** GNU General Public License for more details. 14 | ** 15 | ** You should have received a copy of the GNU General Public License 16 | ** along with this program; if not, write to the Free Software 17 | ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 18 | ** 19 | ** Any non-GPL usage of this software or parts of this software is strictly 20 | ** forbidden. 21 | ** 22 | ** The "appropriate copyright message" mentioned in section 2c of the GPLv2 23 | ** must read: "Code from FAAD2 is copyright (c) Nero AG, www.nero.com" 24 | ** 25 | ** Commercial non-GPL licensing of this software is possible. 26 | ** For more info contact Nero AG through Mpeg4AAClicense@nero.com. 27 | ** 28 | ** $Id: sbr_hfadj.h,v 1.19 2007/11/01 12:33:35 menno Exp $ 29 | **/ 30 | 31 | #ifndef __SBR_HFADJ_H__ 32 | #define __SBR_HFADJ_H__ 33 | 34 | #ifdef __cplusplus 35 | extern "C" { 36 | #endif 37 | 38 | typedef struct 39 | { 40 | real_t G_lim_boost[MAX_L_E][MAX_M]; 41 | real_t Q_M_lim_boost[MAX_L_E][MAX_M]; 42 | real_t S_M_boost[MAX_L_E][MAX_M]; 43 | } sbr_hfadj_info; 44 | 45 | 46 | uint8_t hf_adjustment(sbr_info *sbr, qmf_t Xsbr[MAX_NTSRHFG][64] 47 | #ifdef SBR_LOW_POWER 48 | ,real_t *deg 49 | #endif 50 | ,uint8_t ch); 51 | 52 | 53 | #ifdef __cplusplus 54 | } 55 | #endif 56 | #endif 57 | 58 | -------------------------------------------------------------------------------- /components/libfaad/sbr_hfgen.h: -------------------------------------------------------------------------------- 1 | /* 2 | ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding 3 | ** Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com 4 | ** 5 | ** This program is free software; you can redistribute it and/or modify 6 | ** it under the terms of the GNU General Public License as published by 7 | ** the Free Software Foundation; either version 2 of the License, or 8 | ** (at your option) any later version. 9 | ** 10 | ** This program is distributed in the hope that it will be useful, 11 | ** but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | ** GNU General Public License for more details. 14 | ** 15 | ** You should have received a copy of the GNU General Public License 16 | ** along with this program; if not, write to the Free Software 17 | ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 18 | ** 19 | ** Any non-GPL usage of this software or parts of this software is strictly 20 | ** forbidden. 21 | ** 22 | ** The "appropriate copyright message" mentioned in section 2c of the GPLv2 23 | ** must read: "Code from FAAD2 is copyright (c) Nero AG, www.nero.com" 24 | ** 25 | ** Commercial non-GPL licensing of this software is possible. 26 | ** For more info contact Nero AG through Mpeg4AAClicense@nero.com. 27 | ** 28 | ** $Id: sbr_hfgen.h,v 1.20 2007/11/01 12:33:35 menno Exp $ 29 | **/ 30 | 31 | #ifndef __SBR_HFGEN_H__ 32 | #define __SBR_HFGEN_H__ 33 | 34 | #ifdef __cplusplus 35 | extern "C" { 36 | #endif 37 | 38 | void hf_generation(sbr_info *sbr, qmf_t Xlow[MAX_NTSRHFG][64], 39 | qmf_t Xhigh[MAX_NTSRHFG][64] 40 | #ifdef SBR_LOW_POWER 41 | ,real_t *deg 42 | #endif 43 | ,uint8_t ch); 44 | 45 | #ifdef __cplusplus 46 | } 47 | #endif 48 | #endif 49 | 50 | -------------------------------------------------------------------------------- /components/libfaad/sbr_huff.h: -------------------------------------------------------------------------------- 1 | /* 2 | ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding 3 | ** Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com 4 | ** 5 | ** This program is free software; you can redistribute it and/or modify 6 | ** it under the terms of the GNU General Public License as published by 7 | ** the Free Software Foundation; either version 2 of the License, or 8 | ** (at your option) any later version. 9 | ** 10 | ** This program is distributed in the hope that it will be useful, 11 | ** but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | ** GNU General Public License for more details. 14 | ** 15 | ** You should have received a copy of the GNU General Public License 16 | ** along with this program; if not, write to the Free Software 17 | ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 18 | ** 19 | ** Any non-GPL usage of this software or parts of this software is strictly 20 | ** forbidden. 21 | ** 22 | ** The "appropriate copyright message" mentioned in section 2c of the GPLv2 23 | ** must read: "Code from FAAD2 is copyright (c) Nero AG, www.nero.com" 24 | ** 25 | ** Commercial non-GPL licensing of this software is possible. 26 | ** For more info contact Nero AG through Mpeg4AAClicense@nero.com. 27 | ** 28 | ** $Id: sbr_huff.h,v 1.21 2007/11/01 12:33:35 menno Exp $ 29 | **/ 30 | 31 | #ifndef __SBR_HUFF_H__ 32 | #define __SBR_HUFF_H__ 33 | 34 | #ifdef __cplusplus 35 | extern "C" { 36 | #endif 37 | 38 | 39 | void sbr_envelope(bitfile *ld, sbr_info *sbr, uint8_t ch); 40 | void sbr_noise(bitfile *ld, sbr_info *sbr, uint8_t ch); 41 | 42 | #ifdef __cplusplus 43 | } 44 | #endif 45 | #endif 46 | 47 | -------------------------------------------------------------------------------- /components/libfaad/sbr_tf_grid.h: -------------------------------------------------------------------------------- 1 | /* 2 | ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding 3 | ** Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com 4 | ** 5 | ** This program is free software; you can redistribute it and/or modify 6 | ** it under the terms of the GNU General Public License as published by 7 | ** the Free Software Foundation; either version 2 of the License, or 8 | ** (at your option) any later version. 9 | ** 10 | ** This program is distributed in the hope that it will be useful, 11 | ** but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | ** GNU General Public License for more details. 14 | ** 15 | ** You should have received a copy of the GNU General Public License 16 | ** along with this program; if not, write to the Free Software 17 | ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 18 | ** 19 | ** Any non-GPL usage of this software or parts of this software is strictly 20 | ** forbidden. 21 | ** 22 | ** The "appropriate copyright message" mentioned in section 2c of the GPLv2 23 | ** must read: "Code from FAAD2 is copyright (c) Nero AG, www.nero.com" 24 | ** 25 | ** Commercial non-GPL licensing of this software is possible. 26 | ** For more info contact Nero AG through Mpeg4AAClicense@nero.com. 27 | ** 28 | ** $Id: sbr_tf_grid.h,v 1.17 2007/11/01 12:33:36 menno Exp $ 29 | **/ 30 | 31 | #ifndef __SBR_TF_GRID_H__ 32 | #define __SBR_TF_GRID_H__ 33 | 34 | #ifdef __cplusplus 35 | extern "C" { 36 | #endif 37 | 38 | 39 | uint8_t envelope_time_border_vector(sbr_info *sbr, uint8_t ch); 40 | void noise_floor_time_border_vector(sbr_info *sbr, uint8_t ch); 41 | 42 | 43 | #ifdef __cplusplus 44 | } 45 | #endif 46 | #endif 47 | 48 | -------------------------------------------------------------------------------- /components/libfaad/specrec.h: -------------------------------------------------------------------------------- 1 | /* 2 | ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding 3 | ** Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com 4 | ** 5 | ** This program is free software; you can redistribute it and/or modify 6 | ** it under the terms of the GNU General Public License as published by 7 | ** the Free Software Foundation; either version 2 of the License, or 8 | ** (at your option) any later version. 9 | ** 10 | ** This program is distributed in the hope that it will be useful, 11 | ** but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | ** GNU General Public License for more details. 14 | ** 15 | ** You should have received a copy of the GNU General Public License 16 | ** along with this program; if not, write to the Free Software 17 | ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 18 | ** 19 | ** Any non-GPL usage of this software or parts of this software is strictly 20 | ** forbidden. 21 | ** 22 | ** The "appropriate copyright message" mentioned in section 2c of the GPLv2 23 | ** must read: "Code from FAAD2 is copyright (c) Nero AG, www.nero.com" 24 | ** 25 | ** Commercial non-GPL licensing of this software is possible. 26 | ** For more info contact Nero AG through Mpeg4AAClicense@nero.com. 27 | ** 28 | ** $Id: specrec.h,v 1.33 2009/01/26 23:51:15 menno Exp $ 29 | **/ 30 | 31 | #ifndef __SPECREC_H__ 32 | #define __SPECREC_H__ 33 | 34 | #ifdef __cplusplus 35 | extern "C" { 36 | #endif 37 | 38 | #include "syntax.h" 39 | 40 | uint8_t window_grouping_info(NeAACDecStruct *hDecoder, ic_stream *ics); 41 | uint8_t reconstruct_channel_pair(NeAACDecStruct *hDecoder, ic_stream *ics1, ic_stream *ics2, 42 | element *cpe, int16_t *spec_data1, int16_t *spec_data2); 43 | uint8_t reconstruct_single_channel(NeAACDecStruct *hDecoder, ic_stream *ics, element *sce, 44 | int16_t *spec_data); 45 | 46 | #ifdef __cplusplus 47 | } 48 | #endif 49 | #endif 50 | -------------------------------------------------------------------------------- /components/libfaad/ssr_fb.h: -------------------------------------------------------------------------------- 1 | /* 2 | ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding 3 | ** Copyright (C) 2003-2005 M. Bakker, Ahead Software AG, http://www.nero.com 4 | ** 5 | ** This program is free software; you can redistribute it and/or modify 6 | ** it under the terms of the GNU General Public License as published by 7 | ** the Free Software Foundation; either version 2 of the License, or 8 | ** (at your option) any later version. 9 | ** 10 | ** This program is distributed in the hope that it will be useful, 11 | ** but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | ** GNU General Public License for more details. 14 | ** 15 | ** You should have received a copy of the GNU General Public License 16 | ** along with this program; if not, write to the Free Software 17 | ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 18 | ** 19 | ** Any non-GPL usage of this software or parts of this software is strictly 20 | ** forbidden. 21 | ** 22 | ** The "appropriate copyright message" mentioned in section 2c of the GPLv2 23 | ** must read: "Code from FAAD2 is copyright (c) Nero AG, www.nero.com" 24 | ** 25 | ** Commercial non-GPL licensing of this software is possible. 26 | ** For more info contact Ahead Software through Mpeg4AAClicense@nero.com. 27 | ** 28 | ** $Id: ssr_fb.h,v 1.16 2007/11/01 12:33:36 menno Exp $ 29 | **/ 30 | 31 | #ifndef __SSR_FB_H__ 32 | #define __SSR_FB_H__ 33 | 34 | #ifdef __cplusplus 35 | extern "C" { 36 | #endif 37 | 38 | fb_info *ssr_filter_bank_init(uint16_t frame_len); 39 | void ssr_filter_bank_end(fb_info *fb); 40 | 41 | /*non overlapping inverse filterbank */ 42 | void ssr_ifilter_bank(fb_info *fb, 43 | uint8_t window_sequence, 44 | uint8_t window_shape, 45 | uint8_t window_shape_prev, 46 | real_t *freq_in, 47 | real_t *time_out, 48 | uint16_t frame_len); 49 | 50 | #ifdef __cplusplus 51 | } 52 | #endif 53 | #endif 54 | -------------------------------------------------------------------------------- /components/libfaad/ssr_ipqf.h: -------------------------------------------------------------------------------- 1 | /* 2 | ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding 3 | ** Copyright (C) 2003-2005 M. Bakker, Ahead Software AG, http://www.nero.com 4 | ** 5 | ** This program is free software; you can redistribute it and/or modify 6 | ** it under the terms of the GNU General Public License as published by 7 | ** the Free Software Foundation; either version 2 of the License, or 8 | ** (at your option) any later version. 9 | ** 10 | ** This program is distributed in the hope that it will be useful, 11 | ** but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | ** GNU General Public License for more details. 14 | ** 15 | ** You should have received a copy of the GNU General Public License 16 | ** along with this program; if not, write to the Free Software 17 | ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 18 | ** 19 | ** Any non-GPL usage of this software or parts of this software is strictly 20 | ** forbidden. 21 | ** 22 | ** The "appropriate copyright message" mentioned in section 2c of the GPLv2 23 | ** must read: "Code from FAAD2 is copyright (c) Nero AG, www.nero.com" 24 | ** 25 | ** Commercial non-GPL licensing of this software is possible. 26 | ** For more info contact Ahead Software through Mpeg4AAClicense@nero.com. 27 | ** 28 | ** $Id: ssr_ipqf.h,v 1.17 2007/11/01 12:33:39 menno Exp $ 29 | **/ 30 | 31 | #ifndef __SSR_IPQF_H__ 32 | #define __SSR_IPQF_H__ 33 | 34 | #ifdef __cplusplus 35 | extern "C" { 36 | #endif 37 | 38 | void ssr_ipqf(ssr_info *ssr, real_t *in_data, real_t *out_data, 39 | real_t buffer[SSR_BANDS][96/4], 40 | uint16_t frame_len, uint8_t bands); 41 | 42 | 43 | #ifdef __cplusplus 44 | } 45 | #endif 46 | #endif 47 | -------------------------------------------------------------------------------- /components/libfaad/syntax.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/libfaad/syntax.c -------------------------------------------------------------------------------- /components/libfaad/tns.h: -------------------------------------------------------------------------------- 1 | /* 2 | ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding 3 | ** Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com 4 | ** 5 | ** This program is free software; you can redistribute it and/or modify 6 | ** it under the terms of the GNU General Public License as published by 7 | ** the Free Software Foundation; either version 2 of the License, or 8 | ** (at your option) any later version. 9 | ** 10 | ** This program is distributed in the hope that it will be useful, 11 | ** but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | ** GNU General Public License for more details. 14 | ** 15 | ** You should have received a copy of the GNU General Public License 16 | ** along with this program; if not, write to the Free Software 17 | ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 18 | ** 19 | ** Any non-GPL usage of this software or parts of this software is strictly 20 | ** forbidden. 21 | ** 22 | ** The "appropriate copyright message" mentioned in section 2c of the GPLv2 23 | ** must read: "Code from FAAD2 is copyright (c) Nero AG, www.nero.com" 24 | ** 25 | ** Commercial non-GPL licensing of this software is possible. 26 | ** For more info contact Nero AG through Mpeg4AAClicense@nero.com. 27 | ** 28 | ** $Id: tns.h,v 1.23 2007/11/01 12:33:41 menno Exp $ 29 | **/ 30 | 31 | #ifndef __TNS_H__ 32 | #define __TNS_H__ 33 | 34 | #ifdef __cplusplus 35 | extern "C" { 36 | #endif 37 | 38 | 39 | #define TNS_MAX_ORDER 20 40 | 41 | 42 | void tns_decode_frame(ic_stream *ics, tns_info *tns, uint8_t sr_index, 43 | uint8_t object_type, real_t *spec, uint16_t frame_len); 44 | void tns_encode_frame(ic_stream *ics, tns_info *tns, uint8_t sr_index, 45 | uint8_t object_type, real_t *spec, uint16_t frame_len); 46 | 47 | 48 | #ifdef __cplusplus 49 | } 50 | #endif 51 | #endif 52 | -------------------------------------------------------------------------------- /components/libfaad_decoder/component.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -DHAVE_MEMCPY -DSTDC_HEADERS -DHAVE_INTTYPES_H -DHAVE_INTTYPES_H -DHAVE_STRINGS_H -Wno-unused-variable -Wno-unused-but-set-variable -------------------------------------------------------------------------------- /components/libfaad_decoder/include/libfaad_decoder.h: -------------------------------------------------------------------------------- 1 | /* 2 | * libfaad_decoder.h 3 | * 4 | * Created on: 28.04.2017 5 | * Author: michaelboeckling 6 | */ 7 | 8 | #ifndef _INCLUDE_LIBFAAD_DECODER_H_ 9 | #define _INCLUDE_LIBFAAD_DECODER_H_ 10 | 11 | void libfaac_decoder_task(void *pvParameters); 12 | 13 | #endif /* _INCLUDE_LIBFAAD_DECODER_H_ */ 14 | -------------------------------------------------------------------------------- /components/libm4a/component.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -DROCKBOX_LITTLE_ENDIAN -------------------------------------------------------------------------------- /components/mad/align.c: -------------------------------------------------------------------------------- 1 | 2 | // #include "esp_common.h" 3 | 4 | char unalChar(const char *adr) { 5 | int *p=(int *)((int)adr&0xfffffffc); 6 | int v=*p; 7 | int w=((int)adr&3); 8 | if (w==0) return ((v>>0)&0xff); 9 | if (w==1) return ((v>>8)&0xff); 10 | if (w==2) return ((v>>16)&0xff); 11 | if (w==3) return ((v>>24)&0xff); 12 | } 13 | 14 | 15 | short unalShort(const short *adr) { 16 | int *p=(int *)((int)adr&0xfffffffc); 17 | int v=*p; 18 | int w=((int)adr&3); 19 | if (w==0) return (v&0xffff); else return (v>>16); 20 | } 21 | -------------------------------------------------------------------------------- /components/mad/align.h: -------------------------------------------------------------------------------- 1 | char unalChar(char const *adr); 2 | short unalShort(short const *adr); 3 | -------------------------------------------------------------------------------- /components/mad/bit.h: -------------------------------------------------------------------------------- 1 | /* 2 | * libmad - MPEG audio decoder library 3 | * Copyright (C) 2000-2004 Underbit Technologies, Inc. 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 2 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program; if not, write to the Free Software 17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | * 19 | * $Id: bit.h,v 1.12 2004/01/23 09:41:32 rob Exp $ 20 | */ 21 | 22 | # ifndef LIBMAD_BIT_H 23 | # define LIBMAD_BIT_H 24 | 25 | struct mad_bitptr { 26 | unsigned char const *byte; 27 | unsigned short cache; 28 | unsigned short left; 29 | }; 30 | 31 | void mad_bit_init(struct mad_bitptr *, unsigned char const *); 32 | 33 | # define mad_bit_finish(bitptr) /* nothing */ 34 | 35 | unsigned int mad_bit_length(struct mad_bitptr const *, 36 | struct mad_bitptr const *); 37 | 38 | # define mad_bit_bitsleft(bitptr) ((bitptr)->left) 39 | unsigned char const *mad_bit_nextbyte(struct mad_bitptr const *); 40 | 41 | void mad_bit_skip(struct mad_bitptr *, unsigned int); 42 | unsigned long mad_bit_read(struct mad_bitptr *, unsigned int); 43 | void mad_bit_write(struct mad_bitptr *, unsigned int, unsigned long); 44 | 45 | unsigned short mad_bit_crc(struct mad_bitptr, unsigned int, unsigned short); 46 | 47 | # endif 48 | -------------------------------------------------------------------------------- /components/mad/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Main Makefile. This is basically the same as a component makefile. 3 | # 4 | # This Makefile should, at the very least, just include $(SDK_PATH)/make/component_common.mk. By default, 5 | # this will take the sources in the src/ directory, compile them and link them into 6 | # lib(subdirectory_name).a in the build directory. This behaviour is entirely configurable, 7 | # please read the ESP-IDF documents if you need to do this. 8 | # 9 | 10 | COMPONENT_SRCDIRS := . 11 | 12 | CFLAGS += -Wno-error=unused-label -Wno-error=return-type -Wno-error=missing-braces -Wno-error=pointer-sign -Wno-error=parentheses -I./include 13 | 14 | -------------------------------------------------------------------------------- /components/mad/global.h: -------------------------------------------------------------------------------- 1 | /* 2 | * libmad - MPEG audio decoder library 3 | * Copyright (C) 2000-2004 Underbit Technologies, Inc. 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 2 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program; if not, write to the Free Software 17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | * 19 | * $Id: global.h,v 1.11 2004/01/23 09:41:32 rob Exp $ 20 | */ 21 | 22 | # ifndef LIBMAD_GLOBAL_H 23 | # define LIBMAD_GLOBAL_H 24 | 25 | // #include "esp_common.h" 26 | #include "config.h" 27 | /* conditional debugging */ 28 | 29 | # if defined(DEBUG) && defined(NDEBUG) 30 | # error "cannot define both DEBUG and NDEBUG" 31 | # endif 32 | 33 | # if defined(DEBUG) 34 | # include 35 | # endif 36 | 37 | /* conditional features */ 38 | 39 | # if defined(OPT_SPEED) && defined(OPT_ACCURACY) 40 | # error "cannot optimize for both speed and accuracy" 41 | # endif 42 | 43 | # if defined(OPT_SPEED) && !defined(OPT_SSO) 44 | # define OPT_SSO 45 | # endif 46 | 47 | # if defined(HAVE_UNISTD_H) && defined(HAVE_WAITPID) && \ 48 | defined(HAVE_FCNTL) && defined(HAVE_PIPE) && defined(HAVE_FORK) 49 | # define USE_ASYNC 50 | # endif 51 | 52 | # if !defined(HAVE_ASSERT_H) 53 | //# if defined(NDEBUG) 54 | # define assert(x) /* nothing */ 55 | //# else 56 | //# define assert(x) do { if (!(x)) abort(); } while (0) 57 | //# endif 58 | # endif 59 | 60 | # endif 61 | -------------------------------------------------------------------------------- /components/mad/layer12.h: -------------------------------------------------------------------------------- 1 | /* 2 | * libmad - MPEG audio decoder library 3 | * Copyright (C) 2000-2004 Underbit Technologies, Inc. 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 2 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program; if not, write to the Free Software 17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | * 19 | * $Id: layer12.h,v 1.10 2004/01/23 09:41:32 rob Exp $ 20 | */ 21 | 22 | # ifndef LIBMAD_LAYER12_H 23 | # define LIBMAD_LAYER12_H 24 | 25 | # include "stream.h" 26 | # include "frame.h" 27 | 28 | int mad_layer_I(struct mad_stream *, struct mad_frame *); 29 | int mad_layer_II(struct mad_stream *, struct mad_frame *); 30 | 31 | # endif 32 | -------------------------------------------------------------------------------- /components/mad/layer3.h: -------------------------------------------------------------------------------- 1 | /* 2 | * libmad - MPEG audio decoder library 3 | * Copyright (C) 2000-2004 Underbit Technologies, Inc. 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 2 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program; if not, write to the Free Software 17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | * 19 | * $Id: layer3.h,v 1.10 2004/01/23 09:41:32 rob Exp $ 20 | */ 21 | 22 | # ifndef LIBMAD_LAYER3_H 23 | # define LIBMAD_LAYER3_H 24 | 25 | # include "stream.h" 26 | # include "frame.h" 27 | 28 | int mad_layer_III(struct mad_stream *, struct mad_frame *); 29 | 30 | extern main_data_t MainData; 31 | 32 | # endif 33 | -------------------------------------------------------------------------------- /components/mad/version.h: -------------------------------------------------------------------------------- 1 | /* 2 | * libmad - MPEG audio decoder library 3 | * Copyright (C) 2000-2004 Underbit Technologies, Inc. 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 2 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program; if not, write to the Free Software 17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | * 19 | * $Id: version.h,v 1.26 2004/01/23 09:41:33 rob Exp $ 20 | */ 21 | 22 | # ifndef LIBMAD_VERSION_H 23 | # define LIBMAD_VERSION_H 24 | 25 | # define MAD_VERSION_MAJOR 0 26 | # define MAD_VERSION_MINOR 15 27 | # define MAD_VERSION_PATCH 1 28 | # define MAD_VERSION_EXTRA " (beta)" 29 | 30 | # define MAD_VERSION_STRINGIZE(str) #str 31 | # define MAD_VERSION_STRING(num) MAD_VERSION_STRINGIZE(num) 32 | 33 | # define MAD_VERSION MAD_VERSION_STRING(MAD_VERSION_MAJOR) "." \ 34 | MAD_VERSION_STRING(MAD_VERSION_MINOR) "." \ 35 | MAD_VERSION_STRING(MAD_VERSION_PATCH) \ 36 | MAD_VERSION_EXTRA 37 | 38 | # define MAD_PUBLISHYEAR "2000-2004" 39 | # define MAD_AUTHOR "Underbit Technologies, Inc." 40 | # define MAD_EMAIL "info@underbit.com" 41 | 42 | extern char const mad_version[]; 43 | extern char const mad_copyright[]; 44 | extern char const mad_author[]; 45 | extern char const mad_build[]; 46 | 47 | # endif 48 | -------------------------------------------------------------------------------- /components/mdns_task/component.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/mdns_task/component.mk -------------------------------------------------------------------------------- /components/mdns_task/include/mdns_task.h: -------------------------------------------------------------------------------- 1 | /* 2 | * mdns.h 3 | * 4 | * Created on: 23.04.2017 5 | * Author: michaelboeckling 6 | */ 7 | 8 | #ifndef _INCLUDE_MDNS_H_ 9 | #define _INCLUDE_MDNS_H_ 10 | 11 | void mdns_task(EventGroupHandle_t wifi_event_group); 12 | 13 | #endif /* _INCLUDE_MDNS_H_ */ 14 | -------------------------------------------------------------------------------- /components/mdns_task/mdns_task.c: -------------------------------------------------------------------------------- 1 | /* 2 | * mdns.c 3 | * 4 | * Created on: 23.04.2017 5 | * Author: michaelboeckling 6 | */ 7 | 8 | 9 | #include 10 | #include "freertos/FreeRTOS.h" 11 | #include "freertos/task.h" 12 | #include "freertos/event_groups.h" 13 | #include "esp_system.h" 14 | #include "esp_wifi.h" 15 | #include "esp_event_loop.h" 16 | #include "esp_log.h" 17 | #include "nvs_flash.h" 18 | 19 | #include "mdns.h" 20 | #include "wifi.h" 21 | 22 | #define TAG "mDNS" 23 | #define MDNS_HOSTNAME "esp32-radio" 24 | #define MDNS_INSTANCE "ESP32 Web Radio" 25 | 26 | void mdns_task(EventGroupHandle_t wifi_event_group) 27 | { 28 | // mdns_server_t definition is moved to a private include ... 29 | // so it not anymore visible 30 | //mdns_server_t * mdns = NULL; 31 | mdns_txt_item_t items[] = { {"board", "esp32"} }; 32 | 33 | while(1) { 34 | /* Wait for the callback to set the CONNECTED_BIT in the 35 | event group. 36 | */ 37 | xEventGroupWaitBits(wifi_event_group, CONNECTED_BIT, 38 | false, true, portMAX_DELAY); 39 | // We go below if we receive a connected_bit event 40 | 41 | ESP_LOGI(TAG, "starting mDNS"); 42 | 43 | //esp_err_t err = mdns_init(TCPIP_ADAPTER_IF_STA, &mdns); 44 | //if (err) { 45 | // ESP_LOGE(TAG, "Failed starting MDNS: %u", err); 46 | // continue; 47 | //} 48 | ESP_ERROR_CHECK( mdns_init() ); 49 | 50 | ESP_ERROR_CHECK( mdns_hostname_set( MDNS_HOSTNAME ) ); 51 | ESP_ERROR_CHECK( mdns_instance_name_set( MDNS_INSTANCE ) ); 52 | 53 | ESP_ERROR_CHECK( mdns_service_add(NULL, "_http", "_tcp", 80, items, 1) ); 54 | ESP_ERROR_CHECK( mdns_service_instance_name_set("_http", "_tcp", "ESP32 WebServer") ); 55 | 56 | // sleep 10 seconds 57 | vTaskDelay(10000 / portTICK_PERIOD_MS); 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /components/mp3_decoder/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Main Makefile. This is basically the same as a component makefile. 3 | # 4 | # This Makefile should, at the very least, just include $(SDK_PATH)/make/component_common.mk. By default, 5 | # this will take the sources in the src/ directory, compile them and link them into 6 | # lib(subdirectory_name).a in the build directory. This behaviour is entirely configurable, 7 | # please read the ESP-IDF documents if you need to do this. 8 | # 9 | 10 | COMPONENT_SRCDIRS := . 11 | # CFLAGS += -------------------------------------------------------------------------------- /components/mp3_decoder/include/mp3_decoder.h: -------------------------------------------------------------------------------- 1 | /* 2 | * mp3_decoder.c 3 | * 4 | * Created on: 13.03.2017 5 | * Author: michaelboeckling 6 | */ 7 | 8 | void mp3_decoder_task(void *pvParameters); 9 | -------------------------------------------------------------------------------- /components/nghttp/COPYING: -------------------------------------------------------------------------------- 1 | The MIT License 2 | 3 | Copyright (c) 2012, 2014, 2015, 2016 Tatsuhiro Tsujikawa 4 | Copyright (c) 2012, 2014, 2015, 2016 nghttp2 contributors 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining 7 | a copy of this software and associated documentation files (the 8 | "Software"), to deal in the Software without restriction, including 9 | without limitation the rights to use, copy, modify, merge, publish, 10 | distribute, sublicense, and/or sell copies of the Software, and to 11 | permit persons to whom the Software is furnished to do so, subject to 12 | the following conditions: 13 | 14 | The above copyright notice and this permission notice shall be 15 | included in all copies or substantial portions of the Software. 16 | 17 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 18 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 19 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 20 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 21 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 22 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 23 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 24 | -------------------------------------------------------------------------------- /components/nghttp/LICENSE: -------------------------------------------------------------------------------- 1 | See COPYING 2 | -------------------------------------------------------------------------------- /components/nghttp/Makefile.projbuild: -------------------------------------------------------------------------------- 1 | CFLAGS += -DHAVE_CONFIG_H 2 | -------------------------------------------------------------------------------- /components/nghttp/README: -------------------------------------------------------------------------------- 1 | See README.rst 2 | -------------------------------------------------------------------------------- /components/nghttp/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Component Makefile 3 | # 4 | 5 | COMPONENT_ADD_INCLUDEDIRS := port/include include 6 | 7 | COMPONENT_SRCDIRS := library port 8 | -------------------------------------------------------------------------------- /components/nghttp/include/nghttp2/nghttp2ver.h: -------------------------------------------------------------------------------- 1 | /* 2 | * nghttp2 - HTTP/2 C Library 3 | * 4 | * Copyright (c) 2012, 2013 Tatsuhiro Tsujikawa 5 | * 6 | * Permission is hereby granted, free of charge, to any person obtaining 7 | * a copy of this software and associated documentation files (the 8 | * "Software"), to deal in the Software without restriction, including 9 | * without limitation the rights to use, copy, modify, merge, publish, 10 | * distribute, sublicense, and/or sell copies of the Software, and to 11 | * permit persons to whom the Software is furnished to do so, subject to 12 | * the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be 15 | * included in all copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 18 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 20 | * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 21 | * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 22 | * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 23 | * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 24 | */ 25 | #ifndef NGHTTP2VER_H 26 | #define NGHTTP2VER_H 27 | 28 | /** 29 | * @macro 30 | * Version number of the nghttp2 library release 31 | */ 32 | #define NGHTTP2_VERSION "1.23.1" 33 | 34 | /** 35 | * @macro 36 | * Numerical representation of the version number of the nghttp2 library 37 | * release. This is a 24 bit number with 8 bits for major number, 8 bits 38 | * for minor and 8 bits for patch. Version 1.2.3 becomes 0x010203. 39 | */ 40 | #define NGHTTP2_VERSION_NUM 0x011701 41 | 42 | #endif /* NGHTTP2VER_H */ 43 | -------------------------------------------------------------------------------- /components/nghttp/include/nghttp2_debug.h: -------------------------------------------------------------------------------- 1 | /* 2 | * nghttp2 - HTTP/2 C Library 3 | * 4 | * Copyright (c) 2016 Tatsuhiro Tsujikawa 5 | * 6 | * Permission is hereby granted, free of charge, to any person obtaining 7 | * a copy of this software and associated documentation files (the 8 | * "Software"), to deal in the Software without restriction, including 9 | * without limitation the rights to use, copy, modify, merge, publish, 10 | * distribute, sublicense, and/or sell copies of the Software, and to 11 | * permit persons to whom the Software is furnished to do so, subject to 12 | * the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be 15 | * included in all copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 18 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 20 | * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 21 | * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 22 | * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 23 | * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 24 | */ 25 | #ifndef NGHTTP2_DEBUG_H 26 | #define NGHTTP2_DEBUG_H 27 | 28 | #ifdef HAVE_CONFIG_H 29 | #include 30 | #endif /* HAVE_CONFIG_H */ 31 | 32 | #include 33 | 34 | #ifdef DEBUGBUILD 35 | #define DEBUGF(...) nghttp2_debug_vprintf(__VA_ARGS__) 36 | void nghttp2_debug_vprintf(const char *format, ...); 37 | #else 38 | #define DEBUGF(...) \ 39 | do { \ 40 | } while (0) 41 | #endif 42 | 43 | #endif /* NGHTTP2_DEBUG_H */ 44 | -------------------------------------------------------------------------------- /components/nghttp/include/nghttp2_mem.h: -------------------------------------------------------------------------------- 1 | /* 2 | * nghttp2 - HTTP/2 C Library 3 | * 4 | * Copyright (c) 2014 Tatsuhiro Tsujikawa 5 | * 6 | * Permission is hereby granted, free of charge, to any person obtaining 7 | * a copy of this software and associated documentation files (the 8 | * "Software"), to deal in the Software without restriction, including 9 | * without limitation the rights to use, copy, modify, merge, publish, 10 | * distribute, sublicense, and/or sell copies of the Software, and to 11 | * permit persons to whom the Software is furnished to do so, subject to 12 | * the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be 15 | * included in all copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 18 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 20 | * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 21 | * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 22 | * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 23 | * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 24 | */ 25 | #ifndef NGHTTP2_MEM_H 26 | #define NGHTTP2_MEM_H 27 | 28 | #ifdef HAVE_CONFIG_H 29 | #include 30 | #endif /* HAVE_CONFIG_H */ 31 | 32 | #include 33 | 34 | /* The default, system standard memory allocator */ 35 | nghttp2_mem *nghttp2_mem_default(void); 36 | 37 | /* Convenient wrapper functions to call allocator function in 38 | |mem|. */ 39 | void *nghttp2_mem_malloc(nghttp2_mem *mem, size_t size); 40 | void nghttp2_mem_free(nghttp2_mem *mem, void *ptr); 41 | void nghttp2_mem_free2(nghttp2_free free_func, void *ptr, void *mem_user_data); 42 | void *nghttp2_mem_calloc(nghttp2_mem *mem, size_t nmemb, size_t size); 43 | void *nghttp2_mem_realloc(nghttp2_mem *mem, void *ptr, size_t size); 44 | 45 | #endif /* NGHTTP2_MEM_H */ 46 | -------------------------------------------------------------------------------- /components/nghttp/include/nghttp2_npn.h: -------------------------------------------------------------------------------- 1 | /* 2 | * nghttp2 - HTTP/2 C Library 3 | * 4 | * Copyright (c) 2012 Tatsuhiro Tsujikawa 5 | * 6 | * Permission is hereby granted, free of charge, to any person obtaining 7 | * a copy of this software and associated documentation files (the 8 | * "Software"), to deal in the Software without restriction, including 9 | * without limitation the rights to use, copy, modify, merge, publish, 10 | * distribute, sublicense, and/or sell copies of the Software, and to 11 | * permit persons to whom the Software is furnished to do so, subject to 12 | * the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be 15 | * included in all copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 18 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 20 | * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 21 | * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 22 | * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 23 | * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 24 | */ 25 | #ifndef NGHTTP2_NPN_H 26 | #define NGHTTP2_NPN_H 27 | 28 | #ifdef HAVE_CONFIG_H 29 | #include 30 | #endif /* HAVE_CONFIG_H */ 31 | 32 | #include 33 | 34 | #endif /* NGHTTP2_NPN_H */ 35 | -------------------------------------------------------------------------------- /components/nghttp/include/nghttp2_priority_spec.h: -------------------------------------------------------------------------------- 1 | /* 2 | * nghttp2 - HTTP/2 C Library 3 | * 4 | * Copyright (c) 2014 Tatsuhiro Tsujikawa 5 | * 6 | * Permission is hereby granted, free of charge, to any person obtaining 7 | * a copy of this software and associated documentation files (the 8 | * "Software"), to deal in the Software without restriction, including 9 | * without limitation the rights to use, copy, modify, merge, publish, 10 | * distribute, sublicense, and/or sell copies of the Software, and to 11 | * permit persons to whom the Software is furnished to do so, subject to 12 | * the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be 15 | * included in all copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 18 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 20 | * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 21 | * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 22 | * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 23 | * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 24 | */ 25 | #ifndef NGHTTP2_PRIORITY_SPEC_H 26 | #define NGHTTP2_PRIORITY_SPEC_H 27 | 28 | #ifdef HAVE_CONFIG_H 29 | #include 30 | #endif /* HAVE_CONFIG_H */ 31 | 32 | #include 33 | 34 | /* 35 | * This function normalizes pri_spec->weight if it is out of range. 36 | * If pri_spec->weight is less than NGHTTP2_MIN_WEIGHT, it is set to 37 | * NGHTTP2_MIN_WEIGHT. If pri_spec->weight is larger than 38 | * NGHTTP2_MAX_WEIGHT, it is set to NGHTTP2_MAX_WEIGHT. 39 | */ 40 | void nghttp2_priority_spec_normalize_weight(nghttp2_priority_spec *pri_spec); 41 | 42 | #endif /* NGHTTP2_PRIORITY_SPEC_H */ 43 | -------------------------------------------------------------------------------- /components/nghttp/include/nghttp2_queue.h: -------------------------------------------------------------------------------- 1 | /* 2 | * nghttp2 - HTTP/2 C Library 3 | * 4 | * Copyright (c) 2012 Tatsuhiro Tsujikawa 5 | * 6 | * Permission is hereby granted, free of charge, to any person obtaining 7 | * a copy of this software and associated documentation files (the 8 | * "Software"), to deal in the Software without restriction, including 9 | * without limitation the rights to use, copy, modify, merge, publish, 10 | * distribute, sublicense, and/or sell copies of the Software, and to 11 | * permit persons to whom the Software is furnished to do so, subject to 12 | * the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be 15 | * included in all copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 18 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 20 | * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 21 | * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 22 | * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 23 | * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 24 | */ 25 | #ifndef NGHTTP2_QUEUE_H 26 | #define NGHTTP2_QUEUE_H 27 | 28 | #ifdef HAVE_CONFIG_H 29 | #include "config.h" 30 | #endif /* HAVE_CONFIG_H */ 31 | 32 | #include 33 | 34 | typedef struct nghttp2_queue_cell { 35 | void *data; 36 | struct nghttp2_queue_cell *next; 37 | } nghttp2_queue_cell; 38 | 39 | typedef struct { nghttp2_queue_cell *front, *back; } nghttp2_queue; 40 | 41 | void nghttp2_queue_init(nghttp2_queue *queue); 42 | void nghttp2_queue_free(nghttp2_queue *queue); 43 | int nghttp2_queue_push(nghttp2_queue *queue, void *data); 44 | void nghttp2_queue_pop(nghttp2_queue *queue); 45 | void *nghttp2_queue_front(nghttp2_queue *queue); 46 | void *nghttp2_queue_back(nghttp2_queue *queue); 47 | int nghttp2_queue_empty(nghttp2_queue *queue); 48 | 49 | #endif /* NGHTTP2_QUEUE_H */ 50 | -------------------------------------------------------------------------------- /components/nghttp/include/nghttp2_submit.h: -------------------------------------------------------------------------------- 1 | /* 2 | * nghttp2 - HTTP/2 C Library 3 | * 4 | * Copyright (c) 2012 Tatsuhiro Tsujikawa 5 | * 6 | * Permission is hereby granted, free of charge, to any person obtaining 7 | * a copy of this software and associated documentation files (the 8 | * "Software"), to deal in the Software without restriction, including 9 | * without limitation the rights to use, copy, modify, merge, publish, 10 | * distribute, sublicense, and/or sell copies of the Software, and to 11 | * permit persons to whom the Software is furnished to do so, subject to 12 | * the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be 15 | * included in all copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 18 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 20 | * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 21 | * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 22 | * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 23 | * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 24 | */ 25 | #ifndef NGHTTP2_SUBMIT_H 26 | #define NGHTTP2_SUBMIT_H 27 | 28 | #ifdef HAVE_CONFIG_H 29 | #include 30 | #endif /* HAVE_CONFIG_H */ 31 | 32 | #include 33 | 34 | #endif /* NGHTTP2_SUBMIT_H */ 35 | -------------------------------------------------------------------------------- /components/nghttp/library/nghttp2_version.c: -------------------------------------------------------------------------------- 1 | /* 2 | * nghttp2 - HTTP/2 C Library 3 | * 4 | * Copyright (c) 2012, 2013 Tatsuhiro Tsujikawa 5 | * 6 | * Permission is hereby granted, free of charge, to any person obtaining 7 | * a copy of this software and associated documentation files (the 8 | * "Software"), to deal in the Software without restriction, including 9 | * without limitation the rights to use, copy, modify, merge, publish, 10 | * distribute, sublicense, and/or sell copies of the Software, and to 11 | * permit persons to whom the Software is furnished to do so, subject to 12 | * the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be 15 | * included in all copies or substantial portions of the Software. 16 | * 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 18 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 20 | * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 21 | * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 22 | * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 23 | * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 24 | */ 25 | #ifdef HAVE_CONFIG_H 26 | #include 27 | #endif /* HAVE_CONFIG_H */ 28 | 29 | #include 30 | 31 | static nghttp2_info version = {NGHTTP2_VERSION_AGE, NGHTTP2_VERSION_NUM, 32 | NGHTTP2_VERSION, NGHTTP2_PROTO_VERSION_ID}; 33 | 34 | nghttp2_info *nghttp2_version(int least_version) { 35 | if (least_version > NGHTTP2_VERSION_NUM) 36 | return NULL; 37 | return &version; 38 | } 39 | -------------------------------------------------------------------------------- /components/nghttp/port/include/config.h: -------------------------------------------------------------------------------- 1 | #ifndef __HAVE_CONFIG_H_ 2 | #define __HAVE_CONFIG_H_ 3 | 4 | #define _U_ 5 | 6 | #define SIZEOF_INT_P 2 7 | 8 | //#define DEBUGBUILD 9 | #include "stdio.h" 10 | #include "stdlib.h" 11 | #include "string.h" 12 | 13 | #if (!defined(nghttp_unlikely)) 14 | #define nghttp_unlikely(Expression) !!(Expression) 15 | #endif 16 | 17 | #define nghttp_ASSERT(Expression) do{if (!(Expression)) printf("%d\n", __LINE__);}while(0) 18 | 19 | #define CU_ASSERT(a) nghttp_ASSERT(a) 20 | #define CU_ASSERT_FATAL(a) nghttp_ASSERT(a) 21 | 22 | #if 1 23 | #define NGHTTP2_DEBUG_INFO() printf("%s %d\n", __FILE__, __LINE__) 24 | #else 25 | #define NGHTTP2_DEBUG_INFO() 26 | #endif 27 | 28 | #define NGHTTP_PLATFORM_HTONS(_n) ((uint16_t)((((_n) & 0xff) << 8) | (((_n) >> 8) & 0xff))) 29 | #define NGHTTP_PLATFORM_HTONL(_n) ((uint32_t)( (((_n) & 0xff) << 24) | (((_n) & 0xff00) << 8) | (((_n) >> 8) & 0xff00) | (((_n) >> 24) & 0xff) )) 30 | 31 | #define htons(x) NGHTTP_PLATFORM_HTONS(x) 32 | #define ntohs(x) NGHTTP_PLATFORM_HTONS(x) 33 | #define htonl(x) NGHTTP_PLATFORM_HTONL(x) 34 | #define ntohl(x) NGHTTP_PLATFORM_HTONL(x) 35 | 36 | #endif 37 | -------------------------------------------------------------------------------- /components/playlist/component.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/playlist/component.mk -------------------------------------------------------------------------------- /components/playlist/include/playlist.h: -------------------------------------------------------------------------------- 1 | /* 2 | * playlist.h 3 | * 4 | * Created on: 10.06.2017 5 | * Author: michaelboeckling 6 | */ 7 | 8 | #ifndef _INCLUDE_PLAYLIST_H_ 9 | #define _INCLUDE_PLAYLIST_H_ 10 | 11 | typedef struct { 12 | int16_t curr_pos; 13 | vec_t *entries_vec; 14 | } playlist_t; 15 | 16 | typedef struct { 17 | const char *name; 18 | const char *url; 19 | } playlist_entry_t; 20 | 21 | 22 | playlist_t *playlist_create(void); 23 | 24 | void playlist_destroy(playlist_t *p); 25 | 26 | void playlist_load_pls(playlist_t *playlist); 27 | 28 | playlist_entry_t *playlist_next(playlist_t *p); 29 | playlist_entry_t *playlist_prev(playlist_t *p); 30 | playlist_entry_t *playlist_curr_track(playlist_t *p); 31 | 32 | #endif /* _INCLUDE_PLAYLIST_H_ */ 33 | -------------------------------------------------------------------------------- /components/ssd1306/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Main Makefile. This is basically the same as a component makefile. 3 | # 4 | # This Makefile should, at the very least, just include $(SDK_PATH)/make/component_common.mk. By default, 5 | # this will take the sources in the src/ directory, compile them and link them into 6 | # lib(subdirectory_name).a in the build directory. This behaviour is entirely configurable, 7 | # please read the ESP-IDF documents if you need to do this. 8 | # 9 | 10 | COMPONENT_SRCDIRS := . 11 | # CFLAGS += -------------------------------------------------------------------------------- /components/ssd1306/include/fonts.h: -------------------------------------------------------------------------------- 1 | #ifndef FONTS_H 2 | #define FONTS_H 3 | 4 | #include "string.h" 5 | #include 6 | #include "esp_system.h" 7 | 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | typedef struct { 13 | uint8_t FontWidth; /*!< Font width in pixels */ 14 | uint8_t FontHeight; /*!< Font height in pixels */ 15 | const uint16_t *data; /*!< Pointer to data font data array */ 16 | } FontDef_t; 17 | 18 | /** 19 | * @brief String length and height 20 | */ 21 | typedef struct { 22 | uint16_t Length; /*!< String length in units of pixels */ 23 | uint16_t Height; /*!< String height in units of pixels */ 24 | } FontSize_t; 25 | 26 | /** 27 | * @brief 7 x 10 pixels font size structure 28 | */ 29 | extern FontDef_t Font_7x10; 30 | 31 | /** 32 | * @brief 11 x 18 pixels font size structure 33 | */ 34 | extern FontDef_t Font_11x18; 35 | 36 | /** 37 | * @brief 16 x 26 pixels font size structure 38 | */ 39 | extern FontDef_t Font_16x26; 40 | 41 | /** 42 | * @brief Calculates string length and height in units of pixels depending on string and font used 43 | * @param *str: String to be checked for length and height 44 | * @param *SizeStruct: Pointer to empty @ref TM_FONTS_SIZE_t structure where informations will be saved 45 | * @param *Font: Pointer to @ref TM_FontDef_t font used for calculations 46 | * @retval Pointer to string used for length and height 47 | */ 48 | char* Font_GetStringSize(char* str, FontSize_t* SizeStruct, FontDef_t* Font); 49 | 50 | #ifdef __cplusplus 51 | } 52 | #endif 53 | 54 | #endif 55 | -------------------------------------------------------------------------------- /components/ui/component.mk: -------------------------------------------------------------------------------- 1 | #include $(IDF_PATH)/make/component_common.mk -------------------------------------------------------------------------------- /components/ui/include/logo.h: -------------------------------------------------------------------------------- 1 | #ifndef _LOGO_H_ 2 | #define _LOGO_H_ 3 | 4 | 5 | #ifdef __cplusplus 6 | extern "C" { 7 | #endif 8 | 9 | #include 10 | 11 | typedef struct { 12 | uint8_t XbmWidth; /*!< Xbm width in pixels */ 13 | uint8_t XbmHeight; /*!< Xbm height in pixels */ 14 | const uint8_t *data; /*!< Pointer to data font data array */ 15 | } XbmDef_t; 16 | 17 | 18 | extern XbmDef_t Wifi_Logo; 19 | 20 | #ifdef __cplusplus 21 | } 22 | #endif 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /components/ui/include/ui.h: -------------------------------------------------------------------------------- 1 | /* 2 | * ui.h 3 | * 4 | * Created on: 01.04.2017 5 | * Author: michaelboeckling 6 | */ 7 | 8 | #ifndef _INCLUDE_UI_H_ 9 | #define _INCLUDE_UI_H_ 10 | 11 | #define UI_QUEUE_LENGTH 3 12 | #define UI_MESSAGE_LENGTH 100 13 | 14 | typedef enum { 15 | UI_NONE, 16 | UI_CONNECTING, 17 | UI_CONNECTED, 18 | UI_STATION_UPDATE 19 | } ui_event_t; 20 | 21 | typedef struct { 22 | ui_event_t event; 23 | char data[UI_MESSAGE_LENGTH]; // Data to pass, ex. Station Name 24 | } ui_queue_message_t; 25 | 26 | // Queue and event without payload data 27 | void ui_queue_event(ui_event_t evt); 28 | // Queue message with payload string data 29 | void ui_queue_event_message(ui_event_t evt, const char * message); 30 | int ui_init(); 31 | 32 | #endif /* _INCLUDE_UI_H_ */ 33 | -------------------------------------------------------------------------------- /components/url_parser/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Main Makefile. This is basically the same as a component makefile. 3 | # 4 | # This Makefile should, at the very least, just include $(SDK_PATH)/make/component_common.mk. By default, 5 | # this will take the sources in the src/ directory, compile them and link them into 6 | # lib(subdirectory_name).a in the build directory. This behaviour is entirely configurable, 7 | # please read the ESP-IDF documents if you need to do this. 8 | # 9 | 10 | COMPONENT_SRCDIRS := . 11 | # CFLAGS += -------------------------------------------------------------------------------- /components/url_parser/include/url_parser.h: -------------------------------------------------------------------------------- 1 | /* 2 | * url_parser.h 3 | * 4 | * Created on: 29.03.2017 5 | * Author: michaelboeckling 6 | */ 7 | 8 | #ifndef _URL_PARSER_H_ 9 | #define _URL_PARSER_H_ 10 | 11 | 12 | typedef struct 13 | { 14 | /* The host portion of the |uri|, NULL-terminated */ 15 | char *host; 16 | 17 | /* The schema portion of the |uri|, NULL-terminated */ 18 | char *scheme; 19 | 20 | /* The port portion of the |uri|, or the schema's default port */ 21 | uint16_t port; 22 | 23 | /* The authority portion of the |uri|, NULL-terminated */ 24 | char *authority; 25 | 26 | /* The path portion of the |uri|, including query, NULL-terminated */ 27 | char *path; 28 | 29 | } url_t; 30 | 31 | 32 | url_t *url_parse(char *uri); 33 | 34 | void url_free(url_t *url); 35 | 36 | 37 | #endif /* _URL_PARSER_H_ */ 38 | -------------------------------------------------------------------------------- /components/user_driver/component.mk: -------------------------------------------------------------------------------- 1 | #include $(IDF_PATH)/make/component_common.mk -------------------------------------------------------------------------------- /components/user_driver/include/ws2812.h: -------------------------------------------------------------------------------- 1 | /* Created 19 Nov 2016 by Chris Osborn 2 | * http://insentricity.com 3 | * 4 | * This is a driver for the WS2812 RGB LEDs using the RMT peripheral on the ESP32. 5 | * 6 | * This code is placed in the public domain (or CC0 licensed, at your option). 7 | */ 8 | 9 | #ifndef WS2812_DRIVER_H 10 | #define WS2812_DRIVER_H 11 | 12 | #include 13 | 14 | typedef union { 15 | struct __attribute__ ((packed)) { 16 | uint8_t r, g, b; 17 | }; 18 | uint32_t num; 19 | } rgbVal; 20 | 21 | extern void ws2812_init(int gpioNum); 22 | extern void ws2812_setColors(unsigned int length, rgbVal *array); 23 | 24 | inline rgbVal makeRGBVal(uint8_t r, uint8_t g, uint8_t b) 25 | { 26 | rgbVal v; 27 | 28 | 29 | v.r = r; 30 | v.g = g; 31 | v.b = b; 32 | return v; 33 | } 34 | 35 | #endif /* WS2812_DRIVER_H */ 36 | -------------------------------------------------------------------------------- /components/vector/component.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/components/vector/component.mk -------------------------------------------------------------------------------- /components/vector/include/vector.h: -------------------------------------------------------------------------------- 1 | /* 2 | * vector.h 3 | * 4 | * Created on: 10.06.2017 5 | * Author: michaelboeckling 6 | */ 7 | 8 | #ifndef _INCLUDE_VECTOR_H_ 9 | #define _INCLUDE_VECTOR_H_ 10 | 11 | typedef struct vec_struct_t vec_t; 12 | 13 | vec_t *vec_init(size_t elem_size, size_t init_capacity); 14 | void vec_add(vec_t *v, void* elem); 15 | void *vec_get(vec_t *v, size_t idx); 16 | size_t vec_size(vec_t *v); 17 | 18 | #endif /* _INCLUDE_VECTOR_H_ */ 19 | -------------------------------------------------------------------------------- /components/vector/vector.c: -------------------------------------------------------------------------------- 1 | /* 2 | * vector.c 3 | * 4 | * Created on: 10.06.2017 5 | * Author: michaelboeckling 6 | */ 7 | 8 | #include 9 | #include 10 | #include 11 | #include 12 | #include "vector.h" 13 | 14 | struct vec_struct_t { 15 | void *data; 16 | size_t capacity; 17 | size_t elems; 18 | size_t elem_size; 19 | }; 20 | 21 | 22 | vec_t *vec_init(size_t elem_size, size_t init_capacity) 23 | { 24 | vec_t *v = calloc(1, sizeof(vec_t)); 25 | if(!v) return NULL; 26 | 27 | v->data = malloc(init_capacity * elem_size); 28 | if (!v->data) { 29 | free(v); 30 | return NULL; 31 | } 32 | 33 | v->elems = 0; 34 | v->capacity = init_capacity; 35 | v->elem_size = elem_size; 36 | 37 | return v; 38 | } 39 | 40 | void vec_add(vec_t *v, void* elem) 41 | { 42 | if(v->elems == v->capacity) { 43 | // add 50% capacity 44 | v->capacity = v->capacity + (v->capacity / 2); 45 | v->data = realloc(v->data, v->capacity * v->elem_size); 46 | } 47 | memcpy(v->data + (v->elems * v->elem_size), elem, v->elem_size); 48 | v->elems++; 49 | } 50 | 51 | void *vec_get(vec_t *v, size_t idx) 52 | { 53 | if(idx >= v->elems) { 54 | return NULL; 55 | } 56 | 57 | return v->data + idx * v->elem_size; 58 | } 59 | 60 | size_t vec_size(vec_t *v) 61 | { 62 | return v->elems; 63 | } 64 | -------------------------------------------------------------------------------- /components/web_radio/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Main Makefile. This is basically the same as a component makefile. 3 | # 4 | # This Makefile should, at the very least, just include $(SDK_PATH)/make/component_common.mk. By default, 5 | # this will take the sources in the src/ directory, compile them and link them into 6 | # lib(subdirectory_name).a in the build directory. This behaviour is entirely configurable, 7 | # please read the ESP-IDF documents if you need to do this. 8 | # 9 | 10 | COMPONENT_SRCDIRS := . 11 | # CFLAGS += -------------------------------------------------------------------------------- /components/web_radio/include/web_radio.h: -------------------------------------------------------------------------------- 1 | /* 2 | * web_radio.h 3 | * 4 | * Created on: 13.03.2017 5 | * Author: michaelboeckling 6 | */ 7 | 8 | #ifndef INCLUDE_WEB_RADIO_H_ 9 | #define INCLUDE_WEB_RADIO_H_ 10 | 11 | #include "audio_player.h" 12 | #include "playlist.h" 13 | 14 | typedef struct { 15 | 16 | } radio_controls_t; 17 | 18 | typedef struct { 19 | player_t *player_config; 20 | playlist_t *playlist; 21 | } web_radio_t; 22 | 23 | void web_radio_init(web_radio_t *config); 24 | void web_radio_start(web_radio_t *config); 25 | 26 | 27 | #endif /* INCLUDE_WEB_RADIO_H_ */ 28 | -------------------------------------------------------------------------------- /main/.app_main.c.un~: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/main/.app_main.c.un~ -------------------------------------------------------------------------------- /main/.init.c.un~: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/main/.init.c.un~ -------------------------------------------------------------------------------- /main/.main.cpp.un~: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/main/.main.cpp.un~ -------------------------------------------------------------------------------- /main/.playlist.pls.un~: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/main/.playlist.pls.un~ -------------------------------------------------------------------------------- /main/Kconfig.projbuild: -------------------------------------------------------------------------------- 1 | menu "Web Radio / Bluetooth Speaker" 2 | 3 | menu "Wifi Configuration" 4 | 5 | config WIFI_SSID 6 | string "WiFi SSID" 7 | default "myssid" 8 | help 9 | SSID (network name) to connect to. 10 | 11 | config WIFI_PASSWORD 12 | string "WiFi Password" 13 | default "myssid" 14 | help 15 | WiFi password (WPA or WPA2) to use. 16 | 17 | Can be left blank if the network has no security set. 18 | 19 | endmenu 20 | 21 | menu "Audio Output" 22 | 23 | choice 24 | prompt "Select Audio Output Mode" 25 | default I2S 26 | help 27 | This option selects the audio output. 28 | 29 | config AUDIO_OUTPUT_MODE_I2S 30 | bool "Generic I2S" 31 | config AUDIO_OUTPUT_MODE_I2S_MERUS 32 | bool "Merus Audio I2S" 33 | config AUDIO_OUTPUT_MODE_DAC_BUILT_IN 34 | bool "Built-In DAC" 35 | config AUDIO_OUTPUT_MODE_PDM 36 | bool "PDM" 37 | endchoice 38 | 39 | config AUDIO_OUTPUT_MODE 40 | int 41 | default 0 if AUDIO_OUTPUT_MODE_I2S 42 | default 1 if AUDIO_OUTPUT_MODE_I2S_MERUS 43 | default 2 if AUDIO_OUTPUT_MODE_DAC_BUILT_IN 44 | default 3 if AUDIO_OUTPUT_MODE_PDM 45 | 46 | endmenu 47 | 48 | menuconfig BT_SPEAKER_MODE 49 | bool "Bluetooth Speaker Mode" 50 | help 51 | Select this option to turn on bluetooth speaker mode. 52 | Web radio streaming will be unavailable. 53 | depends on CLASSIC_BT_ENABLED 54 | 55 | config BT_NAME 56 | string "Bluetooth Name" 57 | default "ESP_SPEAKER" 58 | help 59 | Bluetooth name exposed by the device. 60 | depends on BT_SPEAKER_MODE 61 | 62 | endmenu 63 | -------------------------------------------------------------------------------- /main/component.mk: -------------------------------------------------------------------------------- 1 | COMPONENT_EMBED_FILES := playlist.pls -------------------------------------------------------------------------------- /main/format_test.pls: -------------------------------------------------------------------------------- 1 | [playlist] 2 | NumberOfEntries=4 3 | Title1=MP3 4 | File1=http://mp3ad.egofm.c.nmdn.net/ps-egofmraw_192/livestream.mp3 5 | Title2=AAC 6 | File2=http://ice1.somafm.com/illstreet-128-aac 7 | Title3=AAC+ 8 | File3=http://81.201.157.218:80/a1stg/livestream1.aac 9 | Title4=M4A 10 | File4=http://yourhost/some_file.m4a 11 | -------------------------------------------------------------------------------- /main/include/.init.h.un~: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vpcola/esp32internetRadio/062ac76432dcca0e4abb4edcb9e257b398ec3e21/main/include/.init.h.un~ -------------------------------------------------------------------------------- /main/include/init.h: -------------------------------------------------------------------------------- 1 | #ifndef INIT_MAIN_H_ 2 | #define INIT_MAIN_H_ 3 | 4 | 5 | void init_hardware(); 6 | void start_wifi(); 7 | void start_web_radio(); 8 | 9 | 10 | #endif /* MAIN_INCLUDE_APP_MAIN_H_ */ 11 | -------------------------------------------------------------------------------- /main/include/init.h~: -------------------------------------------------------------------------------- 1 | #ifndef INIT_MAIN_H_ 2 | #define INIT_MAIN_H_ 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | void init_hardware(); 9 | void start_wifi(); 10 | void start_web_radio(); 11 | 12 | #ifdef __cpluplus 13 | } 14 | #endif 15 | 16 | #endif /* MAIN_INCLUDE_APP_MAIN_H_ */ 17 | -------------------------------------------------------------------------------- /main/include/playerconfig.h: -------------------------------------------------------------------------------- 1 | #ifndef _PLAYER_CONFIG_H_ 2 | #define _PLAYER_CONFIG_H_ 3 | 4 | 5 | // defined via 'make menuconfig' 6 | #define WIFI_AP_NAME CONFIG_WIFI_SSID 7 | #define WIFI_AP_PASS CONFIG_WIFI_PASSWORD 8 | 9 | 10 | // defined via 'make menuconfig' 11 | #define AUDIO_OUTPUT_MODE CONFIG_AUDIO_OUTPUT_MODE 12 | 13 | #define FAKE_SPI_BUFF 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /main/include/wifi.h: -------------------------------------------------------------------------------- 1 | /* 2 | * wifi.h 3 | * 4 | * Created on: 16.05.2017 5 | * Author: michaelboeckling 6 | */ 7 | 8 | #ifndef _INCLUDE_WIFI_H_ 9 | #define _INCLUDE_WIFI_H_ 10 | 11 | /* The event group allows multiple bits for each event, 12 | but we only care about one event - are we connected 13 | to the AP with an IP? */ 14 | extern const int CONNECTED_BIT; 15 | 16 | void initialise_wifi(EventGroupHandle_t wifi_event_group); 17 | 18 | #endif /* _INCLUDE_WIFI_H_ */ 19 | -------------------------------------------------------------------------------- /main/playlist.pls: -------------------------------------------------------------------------------- 1 | [playlist] 2 | NumberOfEntries=4 3 | Title1=96.3 WRocK Cebu Philippines 4 | File1=http://37.187.79.93:8248/stream 5 | Title2=V-Hive Radio Philippines - The hottest pop Pinoy, OPM, Tagalog radio 6 | File2=http://192.99.17.12:6266/vhiveradiostream 7 | Title3=CoolFm Hits 901 Philippines & Pino 8 | File3=http://144.217.129.213:8938/stream 9 | Title4=97.9 Love Radio Cebu Philippines 10 | File4=http://176.31.107.8:8019/stream 11 | -------------------------------------------------------------------------------- /main/playlist.pls~: -------------------------------------------------------------------------------- 1 | [playlist] 2 | NumberOfEntries=4 3 | Title1=96.3 WRocK Cebu Philippines 4 | File1=http://37.187.79.93:8248/stream 5 | Title2=V-Hive Radio Philippines - The hottest pop Pinoy, OPM, Tagalog radio 6 | File2=http://192.99.17.12:6266/vhiveradiostream 7 | Title3=CoolFm Hits 901 Philippines & Pino 8 | File3=http://144.217.129.213:8938/stream 9 | Title4=SomaFM / Boot Liquor 10 | File4=http://ice1.somafm.com/bootliquor-128-mp3 11 | -------------------------------------------------------------------------------- /partitions.csv: -------------------------------------------------------------------------------- 1 | # Name, Type, SubType, Offset, Size, Flags 2 | # Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild 3 | nvs, data, nvs, 0x9000, 0x6000, 4 | phy_init, data, phy, 0xf000, 0x1000, 5 | factory, app, factory, 0x10000, 2M, 6 | -------------------------------------------------------------------------------- /sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | # Override defaults here 2 | 3 | 4 | # 5 | # ESP32-specific config 6 | # 7 | 8 | CONFIG_ESP32_DEFAULT_CPU_FREQ_160=y 9 | CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ=160 10 | 11 | FREERTOS_ASSERT_ON_UNTESTED_FUNCTION=n 12 | 13 | # 14 | # Partition Table 15 | # 16 | # CONFIG_PARTITION_TABLE_SINGLE_APP is not set 17 | # CONFIG_PARTITION_TABLE_TWO_OTA is not set 18 | CONFIG_PARTITION_TABLE_CUSTOM=y 19 | CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv" 20 | CONFIG_PARTITION_TABLE_CUSTOM_APP_BIN_OFFSET=0x10000 21 | CONFIG_PARTITION_TABLE_FILENAME="partitions.csv" 22 | CONFIG_APP_OFFSET=0x10000 --------------------------------------------------------------------------------