Continue ironing out i2s pipeline
still at least one heap corruption issue, plus the i2s write method seems to block forever :/
This commit is contained in:
@@ -55,12 +55,13 @@ void RegisterListDir() {
|
||||
|
||||
int CmdPlayFile(int argc, char** argv) {
|
||||
static const std::string usage = "usage: play [file]";
|
||||
if (argc < 2 || argc > 3) {
|
||||
if (argc != 2) {
|
||||
std::cout << usage << std::endl;
|
||||
return 1;
|
||||
}
|
||||
|
||||
sInstance->playback_->Play(toSdPath(argv[1]));
|
||||
std::string path = "/";
|
||||
sInstance->playback_->Play(path + argv[1]);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user