Hi, Below is a code snippet from function vmix_setup_play_engine(....) from vmix_output.c file ( at about line 480 ) . "hg log | head" shows latest revision as 881.
/*************************************************************************************/ * 480 /* Find out the "best" sample format supported by the device */ 482 if (adev->oformat_mask & AFMT_S16_NE) 483 fmt = AFMT_S16_OE; 484 if (adev->oformat_mask & AFMT_S16_NE) 485 fmt = AFMT_S16_NE; 487 if (mixer->multich_enable) /* Better quality enabled */ 488 { 489 if (adev->oformat_mask & AFMT_S32_NE) 490 fmt = AFMT_S32_OE; 491 if (adev->oformat_mask & AFMT_S32_NE) 492 fmt = AFMT_S32_NE; 493 } * /**************************************************************************************/ Pardon me, but aren't the two statements at lines 482 and 489 wrong. The comparisons should be made against AFMT_S16_OE and AFMT_S32_OE respectively. I am a newbie , as far as hacking OSS is concerned , so correct me if I am wrong. Regards, Vikas
_______________________________________________ oss-devel mailing list oss-devel@mailman.opensound.com http://mailman.opensound.com/mailman/listinfo/oss-devel