pschatzmann / ESP32-A2DP

A Simple ESP32 Bluetooth A2DP Library (to implement a Music Receiver or Sender) that supports Arduino, PlatformIO and Espressif IDF
Apache License 2.0
1.65k stars 270 forks source link

Compilation Error in BluetoothA2DPSink.cpp #241

Closed williamesp2015 closed 2 years ago

williamesp2015 commented 2 years ago

Compiled with latest PlatrormIO- ESP32

BluetoothA2DPSink.cpp:31:20: error: no match for 'operator=' (operand types are 'i2s_config_t' a nd '') i2s_config = { ^

pschatzmann commented 2 years ago

Can you try again. I think this is because a pull request has removed a cast which is necessary in some old ADF version...

mitchjs commented 2 years ago

yes... sorry... i didnt know why you casted, it... add that back in @pschatzmann one thing i didnt exactly mean merge the pull request to main, i ment merge the pull request with the update to the pull request... sorry, but i guess it is what it is and done part of learning GIT crap... i really felt more people should have tested the pull request...

mitchjs commented 2 years ago

@williamesp2015

fix its prob line 36 .communication_format = (i2s_comm_format_t) (I2S_COMM_FORMAT_STAND_I2S),

what version if ESP-IDF/ADF you using? just curious

pschatzmann commented 2 years ago

No worries: With the latest changes the old releases should be working again... It seems that there are still plenty of people which work with the old Arduino ESP32 versions which are based on ESP-IDF v3.3.5