[vorbis-dev] ogg123 oss plugin plays garbage
Chris Cheney
ccheney at cheney.cx
Sun Jan 28 19:42:13 PST 2001
I determined what was the cause of the noise, but I am not sure how to fix
it properly.
tatic int _is_big_endian(void)
{
uint_16 pattern = 0xbabe;
unsigned char *bytewise = (unsigned char *)&pattern;
/* if (bytewise[0] = 0xba) return 1; */
return 0;
}
I just commented out that line above and it fixed my problem. I am running
on an AMD Duron (x86 platform).
Thanks,
Chris Cheney
> I tried to use the current cvs version of ogg123 with oss output and the
> ogg just sounds like static. I wanted to document it on the list in case
> anyone else is having the problem. I can make ogg123 write wav files fine.
> Also Vakor does not have any trouble playing oggs with ogg123, so I am not
> certain what the problem is. I have tried compiling all of ogg vorbis
> (ao,ogg,vorbis,vorbis-tools) several times without success.
>
> Chris
>
> --- >8 ----
> List archives: http://www.xiph.org/archives/
> Ogg project homepage: http://www.xiph.org/ogg/
> To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
> containing only the word 'unsubscribe' in the body. No subject is needed.
> Unsubscribe messages sent to the list will be ignored/filtered.
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Vorbis-dev
mailing list