Uploading a PCM file and getting am Mp3 in the response

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Using  BCM943341WCD1.

Trying to look for a good example to upload a pcm file to a cloud  endpoint and receiving an mp3 in response.

A bit confused about using wiced_tcp_send_buffer versus wiced_tcp_stream_write.

0 Likes
1 Reply
Anonymous
Not applicable

If you are trying to do this real time - i.e. when you are getting PCM samples and you need to send at PCM sample boundaries for the encoding then use wiced_tcp_send_buffer

If you are accumulating the PCM samples and will send numerous samples at the same time, then use the wiced_tcp_stream_write

0 Likes