Skip to contentSkip to conversation

RME HDSP

DISCUSSION Remy Bruno 3 participants 3 messages Jun 20, 2006

lore
Share & tools
lore

Remy Bruno

author
#0 lore raw

Hello,

I noticed that the driver hdsp.c now uses by default the "precise_ptr" mode of the RME HDSP cards. However, at least with the last release of the RME HDSP 9652, this makes the sound scratchy (probably sound repeatedly interrupted by short silence). It took me some time to find that this precise_ptr was the cause of the trouble (sound is OK if I switch this off). So maybe it would be advisable to switch back to no precise_ptr by default, letting the user the possibility to activate it using the card controls. I imagine other people have or will have the same problem as I have.

As I got no reply from my last message, I would just like to report again the bug I found in hdsp.c:
there is a bug in the begining of function snd_hdsp_proc_read() of file alsa-kernel/pci/rme9652/hdsp.c: a pair of "{}" is missing after the first "if"

if (hdsp_check_for_iobox (hdsp))

        {
                snd_iprintf(buffer, "No I/O box connected.\nPlease connect one and upload firmware.\n");
                return;
        }

The consequence was that the "return" statement was done systematically and so the file "hdsp" always seemed to be empty.

Regards,

Remy BRUNO

#1 lore raw
Quoted 8 lines · Remy Bruno

As I got no reply from my last message, I would just like to report again the
bug I found in hdsp.c:
there is a bug in the begining of function snd_hdsp_proc_read() of file
alsa-kernel/pci/rme9652/hdsp.c: a pair of "{}" is missing after the first "if"

Quoted 6 lines

if (hdsp_check_for_iobox (hdsp))
{
snd_iprintf(buffer, "No I/O box connected.\nPlease

connect one and upload firmware.\n");
                return;
        } 

Because you did not post it in the form of a patch.

Lee

#2 lore raw

At Tue, 20 Jun 2006 12:16:14 -0400,

Quoted 10 lines · Lee Revell
Quoted 8 lines · Remy Bruno

As I got no reply from my last message, I would just like to report again the
bug I found in hdsp.c:
there is a bug in the begining of function snd_hdsp_proc_read() of file
alsa-kernel/pci/rme9652/hdsp.c: a pair of "{}" is missing after the first "if"

Quoted 8 lines
Quoted 6 lines

if (hdsp_check_for_iobox (hdsp))
{
snd_iprintf(buffer, "No I/O box connected.\nPlease

connect one and upload firmware.\n");
                return;
        } 

Because you did not post it in the form of a patch.

This is bug was already fixed on HG repo...

Takashi