跳转到内容
View in the app

A better way to browse. Learn more.

彼岸论坛

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
欢迎抵达彼岸 彼岸花开 此处谁在 -彼岸论坛

[问与答] 请教下关于 esp32 处理字节流的问题!

发表于

请教下 V 社的大佬们,用的蓝牙 BLE ,然后通过 app 将 mp3 文件转成字节流发送给了 esp32 ,在控制台打印出来的字节流,接下来我该怎么播放这个音频流呢?那个 22464 是我直接写死了。

6678f27b916d2.jpg 6678f27bd30e0.jpg 6678f27bd9b3c.jpg

我使用的是 arduino,现在遇到的问题就是以下几个:

1.不知道需不需要把 uint8_t*转成 mp3 去播放,还是可以直接播放。

2.如果要转成 mp3 该怎么做,暂时还没有找到把字节流转成文件的资料...

3.如何去进行播放呢?网上找到的方案都是从 sd 读取 mp3 文件或者是蓝牙音箱那一套方案,和需求不符

Featured Replies

No posts to show

创建帐户或登录来提出意见

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.