Subject: oss output plugin doesn't work on FreeBSD 5.4-PRE/AMD64


Author: bleb, 2005-04-11 16:35:48
I'm pretty excited about lamip; it'll be nice to have a good media player. But I'm running FreeBSD 5.4-PRE on a dual Opteron rig, using the drivers from opensound.com (Envy24-based soundcard). And it seems that there's something broken about my setup; the OSS output plugin doesn't seem to like me:

DEBUG: lamip_open
DEBUG: output with : 44100 Hz, 2 ch, (fmt 2), len:285893
DEBUG: pt_getChannels
DEBUG: Output open : 44100 Hz, 2 ch (fmt 2 )
OSS ERROR: not supported formats ! (fmt 2 )
ERROR: ot_open: output plugin open failed
DEBUG: postplay
DEBUG: find_next_on_by_order failed to find any valid song

Can anyone shed some light on this? What is 'fmt 2'?

Replies


Author: ciberfred, 2005-04-12 19:00:31
fmt is 'audio data format', well as you could see in lamip/lamip.h, you will have a list of data format that lamip could manage. This mean 8,16,24,32 bits in integer (the lamipPCMFormat list). The number is the position in the list that begin by 0 so 2 is for Signed 16-bits in little endian.

Well surprising that this can't be handle as it's the most used data format on music files :). maybe Quirk could have a look on it.

Reply

Name : Email :