ENCODER sbc ERROR #742
-
After some diagnose and trouble shooing i observe below line through exception , BELOW IS COMPLETE CODE , |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
You should probably only use Encoders directly if you know what you are doing and if you are able to analyse errors in order to figure out what you are doing wrong. My first rough guess is that you just forgot to indicate the output. If you find any errors, please feel free to correct them and share the correction with a pull request. |
Beta Was this translation helpful? Give feedback.
-
File EncodedDataFile;
SBCEncoder encoder(EncodedDataFile);
In complete code I write encoded data to file , I think this is encoder out
put .it also through same exemption which image I have uploaded .
Further for this test I follow your other example which is without encoded
stream .. I think this should also work ..
…On Sun, Apr 2, 2023, 01:52 Phil Schatzmann ***@***.***> wrote:
You should probably only use Encoders directly if you know what you are
doing and if you are able to analyse errors in order to figure out what you
are doing wrong. My first rough guess is that you just forgot to indicate
the output.
So please stick with the examples using the EncodedAudioStream...
—
Reply to this email directly, view it on GitHub
<#742 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APTMWZXKN7EUM5VN23UIJR3W7CIRZANCNFSM6AAAAAAWP2Z3ZM>
.
You are receiving this because you authored the thread.Message ID:
<pschatzmann/arduino-audio-tools/repo-discussions/742/comments/5498791@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
this is the minimal code which reproduce this issue #include "AudioTools.h" } |
Beta Was this translation helpful? Give feedback.
-
ok some thing like this ? and see the out put 75 bytes have data its means 512 bytes of uncompressed data compressed to 75 bytes ? #include "AudioTools.h"
void loop() { } ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// |
Beta Was this translation helpful? Give feedback.
You should probably only use Encoders directly if you know what you are doing and if you are able to analyse errors in order to figure out what you are doing wrong. My first rough guess is that you just forgot to indicate the output.
So please stick with the examples using the EncodedAudioStream...
If you find any errors, please feel free to correct them and share the correction with a pull request.