Displaying 1 result from an estimated 1 matches for "vorbis_p".
Did you mean:
vorbis_ip
2007 Sep 25
2
ignoring audio in player_example
...My first attempt was to remove the test for vorbis:
/* identify the codec: try theora */
if(!theora_p && theora_decode_header(&ti,&tc,&op)>=0){
/* it is theora */
memcpy(&to,&test,sizeof(test));
theora_p=1;
}else if(!vorbis_p && vorbis_synthesis_headerin(&vi,&vc,&op)>=0){
/* it is vorbis */
memcpy(&vo,&test,sizeof(test));
vorbis_p=1;
}else{
/* whatever it is, we don't care about it */
ogg_stream_clear(&test);
}
I simply...