Dhirendra Singh Kholia wrote:
>>> I am getting 100% noise in output when I try to play any sound.
>>> specs: Auzentech Prelude (0x34), Linux kernel 2.6.27-rc5, gcc 4.2.3,
>>> Ubuntu 8.04.1 AMD64
>>>       
>
>   
>>> Good Revison:  changeset:   398:e81129ea76fa
>>> First Bad Revison: (no sound at all!) changeset:   399:53f2b356c4dd
>>> Second Bad Revison: (100% noise output) changeset: 400:1bd870a52762
>>>       
>
>   
>> The above changesets don't affect X-Fi in any way. Might it be possible
>> that the problem is in ossplay?
>>     
>
> Yes you are right. oss_sbxfi.c is untouched
> (hg diff -r 398 -r 399 kernel/drv/oss_sbxfi/oss_sbxfi.c gives nothing)
> but for reason unknown to me rev. 398 works fine for me but 399 doesn't
> work. Maybe some others changes are resposible for this behavior.
>
>   
>> Do you get sound/no-sound/noise when using osstest?
>>     
>
> The behavior of osstest is same as mpg123 which was used for testing
> across all changesets.
>
>   
>> You may look at the switch (subdevice) statement around line 815 of
>> oss_sbxfi.c and try to add "case 0x34:" to any of the groups inside the
>> switch. It may be possible to get the device to work in this way.
>>     
>
> Adding case for 0x34 after line 830 ->
>
>     case 0x0033:
>     case 0x0034:
>       /*
>        * Original X-Fi hardware revision (SB046x/067x/076x)
>        */
>       devc->name = "Sound Blaster X-Fi (SB046x/067x/076x)";
>
>
> *This fixes the problem and i get proper output, thanks a lot Hannu.*
> Expecting to see the change in hg repo soon
>   
Ok. I will do the change.

Best regards,

Hannu
_______________________________________________
oss-devel mailing list
oss-devel@mailman.opensound.com
http://mailman.opensound.com/mailman/listinfo/oss-devel

Reply via email to