Opened 16 years ago

Closed 6 years ago

Last modified 5 years ago

#2787 closed bug (invalid)

clicks in audio with cpu activity (Echo Mia MIDI)

Reported by: nutela Owned by: korli
Priority: normal Milestone:
Component: Drivers/Audio/Echo3g Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description (last modified by stippi)

Play a wave file or mp3. Move any window or close or launch apps. Pops and clicks are heard in the audio playing, especially with high cpu usage.

Not sure if it is related to hrev27382. Enabling real time audio does improve the situation slightly.

expected behavior: silky smooth audio playback under all circumstances :)

Change History (12)

comment:1 by stippi, 16 years ago

Description: modified (diff)

comment:2 by stippi, 16 years ago

Well... do you use the OpenSound optional package? At which revision did you first notice the clicks?

comment:3 by nutela, 16 years ago

I'm not sure if it uses OpenSound optional package, I haven't specified so in the haiku.image? build file. Just added there 'echo24' Media prefs notes semi-correctly Echo Mia.

I'm sorry but I think these really audible clicks began from revs from a few weeks ago but I remember it not being 100% OK on Haiku ever...

On R5 playback is good beside the aliasing probably due to mixing but I build it a long time ago. IIRC there is only a echo.settings file on R5 not for Haiku where things like buffer size and sample rates can be set.

I could build the latest version for R5 but does it make sense? If I knew how to tweak the buffer size on Haiku maybe I could tell you more because now latency seems good (scrolling an jumping through audio in mediaplayer) but whenever something happens in the system even when it is practically idle there are clicks which are more severe (horrible) under load (esp firefox)

in reply to:  3 comment:4 by korli, 16 years ago

Replying to nutela: long time ago. IIRC there is only a echo.settings file on R5 not for Haiku where things like buffer size and sample rates can be set.

The same echo.settings file can be used on Haiku. It's just not included in the hd image.

comment:5 by nutela, 16 years ago

Copied the echo.settings from R5 to Haiku, uncommented the lines concerning sample rates, buffers, etc. but left everything default except sample rate which I set to 44100.

Restarted Media Preferences, problem still persists, and there are another bug; the settings are not read (system must be restarted, will file another bug for this)

After system restart problem still persist but settings are at least taken from echo.settings. So a buffer of 512 samples does not fix the problem. On R5 I can go as low as 64 samples on the same HW.

I recall something similar on R5 when I had BIOS USB emulation (so no driver for USB from R5, USB emulated through the BIOS), playing any audio and using USB mouse and keyboard resulted in severe 'clicks' in the audio output.

comment:6 by nutela, 16 years ago

This happens also when recording audio in SoundRecorder, movement of windows for example greatly adds clicks to the recording :(

comment:7 by korli, 16 years ago

Could you try to disable serial output in Haiku ? see in data/settings/kernel/drivers/kernel or config/settings/kernel/drivers/kernel

serial_debug_output false

comment:8 by nutela, 16 years ago

With my older card Cmedia 87xx (cmpci driver on bebits) disableing serial debug output doesn't help much.

Echo Mia Midi I have currently barrowed

comment:9 by scottmc, 13 years ago

Can you recheck this on a recent Haiku build and report back here? Perhaps try the alpha3 when it is available, which looks to be on or after June 20th, 2011.

comment:10 by diver, 13 years ago

Component: Drivers/AudioDrivers/Audio/Echo3g

comment:11 by waddlesplash, 6 years ago

Resolution: invalid
Status: newclosed

No reply in 8 years.

comment:12 by nielx, 5 years ago

Milestone: R1

Remove milestone for tickets with status = closed and resolution != fixed

Note: See TracTickets for help on using tickets.