Search found 15 matches

by coollofty
Thu May 21, 2020 2:31 pm
Forum: ESP-ADF 中文讨论版
Topic: Encoder的输出缓存的大小如何修改?
Replies: 0
Views: 77

Encoder的输出缓存的大小如何修改?

编码的时候,用的fatfs流,写输出的时候,我发现他基本上是2048字节调用一次fwrite,这个在Wav下没啥问题。但如果是用MP3或者AMR编码,还是2048字节写一次,就有一些问题了(至少在我的应该里是会有问题的)。所以我需要在不是Wav编码的时候,让他比如512字节,或者256字节写一次文件,这个要如何修改呢?谢谢
by coollofty
Thu Feb 20, 2020 12:22 pm
Forum: ESP-IDF 中文讨论版
Topic: 有没有办法支持128G的TF卡?
Replies: 0
Views: 1438

有没有办法支持128G的TF卡?

如题,FAT和FAT32是不可能了,ESP32有没有办法支持exFAT或linux ext分区?
by coollofty
Tue May 14, 2019 10:27 am
Forum: ESP-ADF 中文讨论版
Topic: 如何使用pipeline录制两种不同的格式?
Replies: 1
Views: 4681

如何使用pipeline录制两种不同的格式?

//WAV audio_pipeline_cfg_t pipeline_wav = DEFAULT_AUDIO_PIPELINE_CONFIG(); wav_encoder_cfg_t wav_enc_cfg = DEFAULT_WAV_ENCODER_CONFIG(); wavRecorder = audio_pipeline_init(&pipeline_wav); audio_pipeline_register(wavRecorder, i2s_stream_reader, "i2s"); audio_pipeline_register(wavRecorder, wav_encoder...
by coollofty
Tue May 14, 2019 10:20 am
Forum: ESP-ADF 中文讨论版
Topic: 请问如何设置录音时的音量?
Replies: 1
Views: 1014

请问如何设置录音时的音量?

audio_pipeline_register(wavRecorder, i2s_stream_reader, "i2s"); audio_pipeline_register(wavRecorder, wav_encoder_init(&wav_enc_cfg), "wav"); audio_pipeline_register(wavRecorder, fs_stream_writer, "file"); audio_pipeline_link(wavRecorder, (const char *[]) {"i2s", "wav", "file"}, 3); 这样注册了pipeline,然后p...
by coollofty
Fri Mar 22, 2019 6:40 am
Forum: ESP-IDF 中文讨论版
Topic: WiFi连接时,总是一次成功一次失败
Replies: 5
Views: 1980

Re: WiFi连接时,总是一次成功一次失败

littlesky wrote:
Thu Mar 21, 2019 9:57 am
coollofty wrote:
Tue Mar 19, 2019 2:29 am
基于esp_idf/wifi/simple_wifi这个示例,调用wifi_init_sta函数测试的是STA模式,第一次连接成功,接着马上重启,就会出现连接失败,再重启一次,又会连接成功,再重启又会连接失败,如此规律的重复
请问你使用的 IDF 是哪个版本的?请使用最新的 master 分支测试一下有没有问题。
已经是使用的最新版本的了。就是在出现这个问题的时候,我就git pull+git submodule update过了
by coollofty
Tue Mar 19, 2019 2:29 am
Forum: ESP-IDF 中文讨论版
Topic: WiFi连接时,总是一次成功一次失败
Replies: 5
Views: 1980

WiFi连接时,总是一次成功一次失败

基于esp_idf/wifi/simple_wifi这个示例,调用wifi_init_sta函数测试的是STA模式,第一次连接成功,接着马上重启,就会出现连接失败,再重启一次,又会连接成功,再重启又会连接失败,如此规律的重复
by coollofty
Tue Mar 19, 2019 2:17 am
Forum: ESP-IDF 中文讨论版
Topic: 空间是足够的,但是nvs写入失败
Replies: 3
Views: 2189

空间是足够的,但是nvs写入失败

首先贴出我的分区表代码: nvs, data, nvs, , 0xC000 otadata, data, ota, , 0x2000 phy_init, data, phy, , 0x1000 coredump, data, coredump, , 0x10000 nvs_key, data, nvs_keys, , 0x1000 factory, app, factory, , 0x1D8000 ota_0, app, ota_0, , 0x1D8000 写入使用的是examples/storage/nvs_rw_blob里面的代码,修改了需要写入的内容而来,我写了一个17,368字节的bl...
by coollofty
Sat Mar 09, 2019 8:20 am
Forum: General Discussion
Topic: ESP32 socket always failed
Replies: 0
Views: 636

ESP32 socket always failed

My ESP32-Lyrat can connect to the WiFi, but can't access the Internet or the LAN, other PC and mobile devices connected to the same WiFi are all OK. I flashed the examples/cli app, then power it, below is the relevant logs when it run and play a URL: I (1388) CONSOLE_EXAMPLE: sdcard mounting... I (1...
by coollofty
Fri Mar 08, 2019 3:12 pm
Forum: General Discussion
Topic: Can LuaJIT be build for ESP32?
Replies: 5
Views: 1552

Re: Can LuaJIT be build for ESP32?

I found the Sol2 on Github, it is great! Thanks :)
by coollofty
Thu Mar 07, 2019 1:05 pm
Forum: General Discussion
Topic: nvs_set_blob sayed value to long but the space is enough
Replies: 0
Views: 560

nvs_set_blob sayed value to long but the space is enough

nvs_set_blob returned 0x110E when blob size is 17473 bytes. My partition table: # Name, Type, SubType, Offset, Size, Flags # Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild nvs, data, nvs, , 0xC000 otadata, data, ota, , 0x2000 phy_init, d...

Go to advanced search