FrankBoesing / Arduino-Teensy-Codec-lib

MP3/AAC/FLAC Codecs for Teensy 3.x
114 stars 42 forks source link

Playing files from different sources #22

Closed Stass48 closed 11 months ago

Stass48 commented 11 months ago

Hello, Now audio library use sdfat, but I can't play file from sdfat card, because method play(); haven't SdFs argument. For example:

SdFs card1;
SdFs card2;
...

Mp3player.play(&card1, "test.mp3");

I get many warnings while compiling and the code not working.

How to chose source sd card for playing files if I have two or more sd cards on one teensy?

Thank you.

FrankBoesing commented 11 months ago

https://github.com/PaulStoffregen/Audio/issues/354