Skip to contentSkip to conversation

Audacity-devel reports bug in Alsa OSS emulation

DISCUSSION Richard Chan 2 participants 2 messages Feb 18, 2004

lore
Share & tools
lore
#0 lore raw

Hi,

I'm using Audacity with Alsa OSS emulation - I have observed an infamous Audacity cursor bug with Alsa OSS emulation. Another user has tracked it down as follows:

Quote:

" I made some investigations about this problem and discovered that the ALSA OSS emulation is broken: ioctl(fd, SNDCTL_DSP_GETOPTR, &info) sometimes returns wrong results.
I do not know ALSA enough to fix it, but I have patched an audacity source file as a workaround."

Known bug? Worth fixing?

Regards
Richard

-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click

#1 lore raw
Quoted 8 lines · Richard Chan

Hi,

I'm using Audacity with Alsa OSS emulation - I have observed an infamous Audacity cursor bug
with Alsa OSS emulation. Another user has tracked it down as follows:

Quote:

Quoted 7 lines

" I made some investigations about this problem and discovered that the ALSA OSS emulation is broken: ioctl(fd, SNDCTL_DSP_GETOPTR, &info) sometimes returns wrong results.
I do not know ALSA enough to fix it, but I have patched an audacity source file as a workaround."

Known bug? Worth fixing?

No. I'm actually writting our own test tool. Anyway, what's your hardware? Is resampling on the way (see /proc/asound/card0/pcm0p/sub0/* files for more details)?

Jaroslav

-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs

-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click