0
0

Hello
I have an mp3 stream obtained by establishing a sochet with 4u-rock station port and I obtaiend a mp3
however i don’t know how to decode it. Apart of the code:
.
.
.
nbc=send(socket_vers_serveur,buffer,strlen(buffer)+1,0);
if (nbc==SOCKET_ERROR)
printf(“\ncan’t send data : %d\n”,WSAGetLastError());
else
printf(“\nsend : OK\n”);
/* reception des reponses*/

do
{ n = recv(socket_vers_serveur, &c, 1, 0);
if(c == ‘\n’ && old == ‘\n’) entete=0;
if(!entete)
printf(“%c”, c);
old = c;
}
while(n>0);
how can I get the “music” and decode what Ireceived
Other thing the out put of fmod is PCM 64kbps?
Thank you

  • You must to post comments
Showing 0 results
Your Answer

Please first to submit.