Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Edzelf/ESP32-Radio
/ functions
Functions
596 in github.com/Edzelf/ESP32-Radio
⨍
Functions
596
◇
Types & classes
96
↓ 3 callers
Function
showstreamtitle
S H O W S T R E A M T I T L E Show artist and songtitle if present in metadata. Show always if full=true. Returns true if title has changed.
main.cpp:1215
↓ 3 callers
Function
ssconv
S S C O N V Convert an array with 4 "synchsafe integers" to a number. There are 7 bits used per byte.
main.cpp:1414
↓ 3 callers
Function
stop_mp3client
S T O P _ M P 3 C L I E N T Disconnect from the server.
main.cpp:1296
↓ 3 callers
Function
updateNr
U P D A T E N R Used by nextPreset because update for preset and playlist number is about the same. Modify the pnr, handle over- and underflow. handl
main.cpp:833
↓ 2 callers
Function
AACDecoder_FreeBuffers
* Function: AACDecoder_FreeBuffers * * Description: allocate all the memory needed for the AAC decoder * * Inputs: none * * Outputs:
lib/codecs/src/aac_decoder.cpp:1753
↓ 2 callers
Function
AACFindSyncWord
* Function: AACFindSyncWord * * Description: locate the next byte-alinged sync word in the raw AAC stream * * Inputs: buffer to search for
lib/codecs/src/aac_decoder.cpp:1813
↓ 2 callers
Function
AACGetBitsPerSample
lib/codecs/src/aac_decoder.cpp:1828
↓ 2 callers
Function
AACGetChannels
lib/codecs/src/aac_decoder.cpp:1827
↓ 2 callers
Function
AACGetOutputSamps
0-unknown 1-ADTS 2-ADIF, 3-RAW
lib/codecs/src/aac_decoder.cpp:1832
↓ 2 callers
Function
AACGetSampRate
lib/codecs/src/aac_decoder.cpp:1826
↓ 2 callers
Function
CalcBitsUsed
----------------------------------------------------------------------------------------------------------------------
lib/codecs/src/mp3_decoder.cpp:727
↓ 2 callers
Function
DCT4
* Function: DCT4 * * Description: type-IV DCT * * Inputs: table index (for transform size) * buffer of nmdct samples *
lib/codecs/src/aac_decoder.cpp:2862
↓ 2 callers
Function
DecodeICSInfo
* Function: DecodeICSInfo * * Description: decode individual channel stream info * * Inputs: sample rate index * * Outputs: updated
lib/codecs/src/aac_decoder.cpp:4064
↓ 2 callers
Function
DecodeNextElement
* Function: DecodeNextElement * * Description: decode next syntactic element in AAC frame * * Inputs: double pointer to buffer containing
lib/codecs/src/aac_decoder.cpp:2538
↓ 2 callers
Function
DecodeNoiselessData
* Function: DecodeNoiselessData * * Description: decode noiseless data (side info and transform coefficients) * * Inputs: double pointer t
lib/codecs/src/aac_decoder.cpp:4429
↓ 2 callers
Function
DecodeProgramConfigElement
* Function: DecodeProgramConfigElement * * Description: decode one PCE * * Inputs: none * * Outputs: filled-in ProgConfigElement_t s
lib/codecs/src/aac_decoder.cpp:2407
↓ 2 callers
Function
DequantBlock
* Function: DequantBlock * * Description: Ken's highly-optimized, low memory dequantizer performing the operation * y = pow(x, 4
lib/codecs/src/mp3_decoder.cpp:2156
↓ 2 callers
Function
FindFreq
* Function: FindFreq * * Description: search buffer of uint8_ts for a specific value * * Inputs: buffer of elements to search *
lib/codecs/src/aac_decoder.cpp:7106
↓ 2 callers
Function
FreqInvertRescale
lib/codecs/src/mp3_decoder.cpp:2851
↓ 2 callers
Function
GenerateNoiseVector
* Function: GenerateNoiseVector * * Description: create vector of noise coefficients for one scalefactor band * * Inputs: seed for number
lib/codecs/src/aac_decoder.cpp:5292
↓ 2 callers
Function
LCD1602_dsp_update_line
D S P _U P D A T E _ L I N E Show a selected line
lib/LCD1602/src/LCD1602.cpp:274
↓ 2 callers
Function
MP3Decoder_ClearBuffer
* Function: MP3Decoder_ClearBuffer * * Description: clear all the memory needed for the MP3 decoder * * Inputs: none * * Outputs:
lib/codecs/src/mp3_decoder.cpp:1479
↓ 2 callers
Function
MP3FindSyncWord
* Function: MP3FindSyncWord * * Description: locate the next byte-alinged sync word in the raw mp3 stream * * Inputs: buffer to search
lib/codecs/src/mp3_decoder.cpp:1166
↓ 2 callers
Function
MP3GetLastFrameInfo
* Function: MP3GetLastFrameInfo * * Description: get info about last MP3 frame decoded (number of sampled decoded, * sample ra
lib/codecs/src/mp3_decoder.cpp:1244
↓ 2 callers
Function
R4Core
* Function: R4Core * * Description: radix-4 pass for decimation-in-time FFT * * Inputs: buffer of samples * number of R4 but
lib/codecs/src/aac_decoder.cpp:3091
↓ 2 callers
Function
R4FFT
* Function: R4FFT * * Description: Ken's very fast in-place radix-4 decimation-in-time FFT * * Inputs: table index (for transform size) *
lib/codecs/src/aac_decoder.cpp:3205
↓ 2 callers
Function
RatioPowInv
* Function: RatioPowInv * * Description: use Taylor (MacLaurin) series expansion to calculate (a/b) ^ (1/c) * * Inputs: a = [1, 64], b = [
lib/codecs/src/aac_decoder.cpp:5636
↓ 2 callers
Function
RefillBitstreamCache
* Function: RefillBitstreamCache * * Description: read new data from bitstream buffer into 32-bit cache * * Inputs: none * * Outputs:
lib/codecs/src/aac_decoder.cpp:6249
↓ 2 callers
Function
RemoveFreq
* Function: RemoveFreq * * Description: remove one element from a buffer of uint8_ts * * Inputs: buffer of elements * number
lib/codecs/src/aac_decoder.cpp:7129
↓ 2 callers
Function
SetRawBlockParams
* Function: SetRawBlockParams * * Description: set internal state variables for decoding a stream of raw data blocks * * Inputs: flag indicati
lib/codecs/src/aac_decoder.cpp:4826
↓ 2 callers
Function
UnpackFrameHeader
----------------------------------------------------------------------------------------------------------------------
lib/codecs/src/mp3_decoder.cpp:739
↓ 2 callers
Function
UnpackPairsEsc
* Function: UnpackPairsEsc * * Description: decode a section of 2-way vector Huffman coded coefficients, * using esc table (11)
lib/codecs/src/aac_decoder.cpp:3353
↓ 2 callers
Function
UnpackPairsNoEsc
* Function: UnpackPairsNoEsc * * Description: decode a section of 2-way vector Huffman coded coefficients, * using non-esc tables
lib/codecs/src/aac_decoder.cpp:3311
↓ 2 callers
Function
UnpackQuads
* Function: UnpackQuads * * Description: decode a section of 4-way vector Huffman coded coefficients * * Inputs index of Huffman codebook
lib/codecs/src/aac_decoder.cpp:3264
↓ 2 callers
Method
clear
O L E D :: C L E A R Clear the display buffer and the display.
src/oled.h:420
↓ 2 callers
Function
connecttofile
C O N N E C T T O F I L E Connect to USB or SD file.
src/main.cpp:1890
↓ 2 callers
Function
connecttofile_SD
C O N N E C T T O F I L E _ S D Open the local mp3-file.
src/SDcard.h:388
↓ 2 callers
Function
connecttohost
C O N N E C T T O H O S T Connect to the Internet radio server specified by newpreset.
src/main.cpp:2050
↓ 2 callers
Method
data_request
Test communication with module
src/main.cpp:790
↓ 2 callers
Function
displaybattery
D I S P L A Y B A T T E R Y Show the current battery charge level on the screen. It will overwrite the top divider. No action if bat0/bat100 not defi
src/oled.h:543
↓ 2 callers
Function
displayvolume
D I S P L A Y V O L U M E Show the current volume as an indicator on the screen. The indicator is 2 pixels heigh.
src/oled.h:579
↓ 2 callers
Function
dsp_begin
src/oled.h:91
↓ 2 callers
Function
dsp_update_line
D S P _U P D A T E _ L I N E Show a selected line
src/LCD1602.h:326
↓ 2 callers
Function
fillkeylist
F I L L K E Y L I S T File the list of all relevant keys in NVS. The keys will be sorted.
main.cpp:2327
↓ 2 callers
Function
fillkeylist
F I L L K E Y L I S T File the list of all relevant keys in NVS. The keys will be sorted.
src/main.cpp:3216
↓ 2 callers
Function
get_FS_nodecount
G E T _ F S _ N O D E C O U N T Return the number of nodes on USB/SD.
src/main.cpp:1936
↓ 2 callers
Function
gettime
G E T T I M E Retrieve the local time from NTP server and convert to string. Will be called every second.
main.cpp:4239
↓ 2 callers
Function
gettime
G E T T I M E Retrieve the local time from NTP server and convert to string. Will be called every second.
src/main.cpp:5481
↓ 2 callers
Function
helixInit
H E L I X I N I T Initialize helix buffering.
include/helixfuncs.h:58
↓ 2 callers
Function
idct9
require at least 3 guard bits in x[] to ensure no overflow */
lib/codecs/src/mp3_decoder.cpp:2949
↓ 2 callers
Function
listsdtracks
L I S T S D T R A C K S Search all MP3 files on directory of SD card. Return the number of files found. A "node" of max. 4 levels ( the subdirectory
src/SDcard.h:150
↓ 2 callers
Function
listusbtracks
L I S T U S B T R A C K S Search all MP3 files on directory of USB drive. Return the number of files found. A "node" of max. 4 levels ( the subdirec
src/CH376.h:343
↓ 2 callers
Function
mount_SDCARD
M O U N T _ S D C A R D Initialize the SD card.
include/SDcard.h:478
↓ 2 callers
Method
playChunk
src/main.cpp:1041
↓ 2 callers
Function
player_getVolume
P L A Y E R _ G E T V O L U M E Get volume percentage.
include/helixfuncs.h:47
↓ 2 callers
Function
player_setVolume
P L A Y E R _ S E T V O L U M E Set volume percentage.
include/helixfuncs.h:27
↓ 2 callers
Method
print
L C D 2 0 0 4 :: P R I N T Put a character in the buffer.
lib/LCD2004/src/LCD2004.cpp:118
↓ 2 callers
Function
queuefunc
Q U E U E F U N C Queue a special function for the play task.
src/main.cpp:1355
↓ 2 callers
Function
radiofuncs
R A D I O F U N C S Handles commands for the connection to a icecast server. Commands are received in the input queue. Data from the server is handle
main.cpp:3278
↓ 2 callers
Function
readprefs
R E A D P R E F S Read the preferences and interpret the commands. If output == true, the key / value pairs are returned to the caller as a String.
main.cpp:1864
↓ 2 callers
Function
readprefs
R E A D P R E F S Read the preferences and interpret the commands. If output == true, the key / value pairs are returned to the caller as a String.
src/main.cpp:2652
↓ 2 callers
Function
rinbyt
R I N B Y T Read next byte from http inputbuffer. Buffered for speed reasons.
src/main.cpp:3539
↓ 2 callers
Function
scan_content_length
S C A N _ C O N T E N T _ L E N G T H If the line contains content-length information: set clength (content length counter).
src/main.cpp:4539
↓ 2 callers
Function
sdfuncs
S D F U N C S Handles data of SD card and commands in the sdqueue. Commands are received in the input queue.
main.cpp:4510
↓ 2 callers
Method
startSong
src/main.cpp:1035
↓ 2 callers
Method
stopSong
src/main.cpp:1046
↓ 2 callers
Function
update_software
U P D A T E _ S O F T W A R E Update software by download from remote host.
src/main.cpp:2335
↓ 2 callers
Function
utf8ascii
U T F 8 A S C I I UTF8-Decoder: convert UTF8-string to extended ASCII. Convert a single Character from UTF8 to Extended ASCII. Return "0" if a byte h
src/main.cpp:1413
↓ 1 callers
Function
AACDecode
* Function: AACDecode * * Description: decode AAC frame * * Inputs: double pointer to buffer of AAC data * pointer to number
lib/codecs/src/aac_decoder.cpp:1889
↓ 1 callers
Function
AACDecoder_AllocateBuffers
* Function: AACDecoder_AllocateBuffers * * Description: allocate all the memory needed for the AAC decoder * try heap first, becaus
lib/codecs/src/aac_decoder.cpp:1636
↓ 1 callers
Function
AACDequantize
* Function: AACDequantize * * Description: dequantize all transform coefficients for one channel * * Inputs: index of current channel *
lib/codecs/src/aac_decoder.cpp:5042
↓ 1 callers
Function
AACGetBitrate
lib/codecs/src/aac_decoder.cpp:1833
↓ 1 callers
Function
AdjustHighFreq
* Function: AdjustHighFreq * * Description: adjust high frequencies and add noise and sinusoids (4.6.18.7) * * Inputs: initialized SBRHead
lib/codecs/src/aac_decoder.cpp:8022
↓ 1 callers
Method
AdjustRate
src/main.cpp:1109
↓ 1 callers
Function
AntiAlias
* Function: AntiAlias * * Description: smooth transition across DCT block boundaries (every 18 coefficients) * * Inputs: vector of deq
lib/codecs/src/mp3_decoder.cpp:2690
↓ 1 callers
Function
ApplyBoost
* Function: ApplyBoost * * Description: calculate and apply boost factor for envelope, sinusoids, and noise * in this limiter ban
lib/codecs/src/aac_decoder.cpp:7714
↓ 1 callers
Function
BitReverse
* Function: BitReverse * * Description: Ken's fast in-place bit reverse, using super-small table * * Inputs: buffer of samples *
lib/codecs/src/aac_decoder.cpp:2891
↓ 1 callers
Function
BitReverse32
* Function: BitReverse32 * * Description: Ken's fast in-place bit reverse * * Inputs: buffer of 32 complex samples * * Outputs: bit-
lib/codecs/src/aac_decoder.cpp:5775
↓ 1 callers
Function
BuildPatches
* Function: BuildPatches * * Description: build high frequency patches (4.6.18.6.3) * * Inputs: master frequency table * num
lib/codecs/src/aac_decoder.cpp:7038
↓ 1 callers
Function
CVKernel1
* Function: CVKernel1 * * Description: kernel of covariance matrix calculation for p01, p11, p12, p22 * * Inputs: buffer of low-freq sampl
lib/codecs/src/aac_decoder.cpp:6102
↓ 1 callers
Function
CVKernel2
* Function: CVKernel2 * * Description: kernel of covariance matrix calculation for p02 * * Inputs: buffer of low-freq samples, starting at
lib/codecs/src/aac_decoder.cpp:6175
↓ 1 callers
Function
CalcComponentGains
* Function: CalcComponentGains * * Description: calculate gain of envelope, sinusoids, and noise in one limiter band * (4.6.18.7.
lib/codecs/src/aac_decoder.cpp:7556
↓ 1 callers
Function
CalcCovariance1
* Function: CalcCovariance1 * * Description: calculate covariance matrix for p01, p12, p11, p22 (4.6.18.6.2) * * Inputs: buffer of low-fre
lib/codecs/src/aac_decoder.cpp:8076
↓ 1 callers
Function
CalcCovariance2
* Function: CalcCovariance2 * * Description: calculate covariance matrix for p02 (4.6.18.6.2) * * Inputs: buffer of low-freq samples, star
lib/codecs/src/aac_decoder.cpp:8155
↓ 1 callers
Function
CalcFreqHigh
* Function: CalcFreqHigh * * Description: calculate high resolution frequency table (4.6.18.3.2.2) * * Inputs: master frequency table *
lib/codecs/src/aac_decoder.cpp:6948
↓ 1 callers
Function
CalcFreqLimiter
* Function: CalcFreqLimiter * * Description: calculate limiter frequency table (4.6.18.3.2.3) * * Inputs: number of subbands in each patch
lib/codecs/src/aac_decoder.cpp:7154
↓ 1 callers
Function
CalcFreqLow
* Function: CalcFreqLow * * Description: calculate low resolution frequency table (4.6.18.3.2.2) * * Inputs: high resolution frequency tab
lib/codecs/src/aac_decoder.cpp:6971
↓ 1 callers
Function
CalcFreqMaster
* Function: CalcFreqMasterScale * * Description: calculate master frequency table when freqScale > 0 * (4.6.18.3.2.1, figure 4.39
lib/codecs/src/aac_decoder.cpp:6845
↓ 1 callers
Function
CalcFreqMasterScaleZero
* Function: CalcFreqMasterScaleZero * * Description: calculate master frequency table when freqScale == 0 * (4.6.18.3.2.1, figure
lib/codecs/src/aac_decoder.cpp:6777
↓ 1 callers
Function
CalcFreqNoise
* Function: CalcFreqNoise * * Description: calculate noise floor frequency table (4.6.18.3.2.2) * * Inputs: low resolution frequency table
lib/codecs/src/aac_decoder.cpp:6999
↓ 1 callers
Function
CalcFreqTables
* Function: CalcFreqTables * * Description: calulate master and derived frequency tables, and patches * * Inputs: initialized SBRHeader st
lib/codecs/src/aac_decoder.cpp:7226
↓ 1 callers
Function
CalcGain
* Function: CalcGain * * Description: calculate and apply proper gain to HF components in one envelope * (4.6.18.7.5) * * Input
lib/codecs/src/aac_decoder.cpp:7813
↓ 1 callers
Function
CalcLPCoefs
* Function: CalcLPCoefs * * Description: calculate linear prediction coefficients for one subband (4.6.18.6.2) * * Inputs: buffer of low-f
lib/codecs/src/aac_decoder.cpp:8220
↓ 1 callers
Function
CalcMaxGain
* Function: CalcMaxGain * * Description: calculate max gain in one limiter band (4.6.18.7.5) * * Inputs: initialized SBRHeader struct for
lib/codecs/src/aac_decoder.cpp:7449
↓ 1 callers
Function
CalcNoiseDivFactors
* Function: CalcNoiseDivFactors * * Description: calculate 1/(1+Q) and Q/(1+Q) (4.6.18.7.4; 4.6.18.7.5) * * Inputs: dequantized noise floo
lib/codecs/src/aac_decoder.cpp:7518
↓ 1 callers
Function
CheckPadBit
----------------------------------------------------------------------------------------------------------------------
lib/codecs/src/mp3_decoder.cpp:735
↓ 1 callers
Function
CopyCouplingGrid
* Function: CopyCouplingGrid * * Description: copy grid parameters from left to right for channel coupling * * Inputs: initialized SBRGrid
lib/codecs/src/aac_decoder.cpp:10029
↓ 1 callers
Function
CopyCouplingInverseFilterMode
* Function: CopyCouplingInverseFilterMode * * Description: copy invf flags from left to right for channel coupling * * Inputs: invf flags
lib/codecs/src/aac_decoder.cpp:10062
↓ 1 callers
Function
CopyNoiseVector
* Function: CopyNoiseVector * * Description: copy vector of noise coefficients for one scalefactor band from L to R * * Inputs: buffer of
lib/codecs/src/aac_decoder.cpp:5312
↓ 1 callers
Function
DecWindowOverlap
* Function: DecWindowOverlap * * Description: apply synthesis window, do overlap-add, clip to 16-bit PCM, * for winSequence LONG-
lib/codecs/src/aac_decoder.cpp:3545
← previous
next →
101–200 of 596, ranked by callers