You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The A2DP source example supports sending pre-encoded SBC packets. We're building an automated test system for a Bluetooth sound system we're making, and part of that is to send audio and make sure the audio comes out properly. I'd love to be able to play any file such as a .wav or .mp3 without having to manually transcode it to SBC format first. That would require at least an SBC encoder, plus whatever decoder is required to turn the source file into PCM audio (which almost certainly already exists for the common formats, such as https://github.com/pylon/streamp3 )
Maybe there's some way to involve https://github.com/google/libsbc - run esbc as a subprocess and take the stdout as the packet source?
The text was updated successfully, but these errors were encountered:
One of the options for this would be to use PyAV, which uses ffmpeg's libav under the hood. It is available for most platforms as a precompiled package, and should support SBC encoding and decoding.
I can take a crack at it soonish to see how well that would work.
The A2DP source example supports sending pre-encoded SBC packets. We're building an automated test system for a Bluetooth sound system we're making, and part of that is to send audio and make sure the audio comes out properly. I'd love to be able to play any file such as a .wav or .mp3 without having to manually transcode it to SBC format first. That would require at least an SBC encoder, plus whatever decoder is required to turn the source file into PCM audio (which almost certainly already exists for the common formats, such as https://github.com/pylon/streamp3 )
Maybe there's some way to involve https://github.com/google/libsbc - run esbc as a subprocess and take the stdout as the packet source?
The text was updated successfully, but these errors were encountered: