I haven’t quoted deano but not many posts so this should be clear.
I haven’t had any loss of sound when I commented out the line
### Honour intended role device property
### Automatically suspend sinks/sources that become idle for too long
## load-module module-suspend-on-idle Don't allow it to drop out ###################
### If autoexit on idle is enabled we want to make sure we only quit
### when no local session needs us anymore.
I thought the last part of that I included was interesting. Might explain it but I do have the module about and wouldn’t have thought it would be set up like that. Also why have both this and an idle timer.
I was confused for a while because I was making changed to /etc/pulse/default.pa not home/config… user settings do over ride.
I’ll try and summarise briefly.
I’m pretty sure alsa doesn’t do anything any more on leap 42.2. For instance if I use it’s mixer the volume controls can’t change it. All it can do if bought down to zero is mute sound - it’s probably telling pulse to mute it so over rides phonon.
I wouldn’t describe the noise as a pop and the 2nd noise after something has played is sometime after the sound has ended. I’ve not timed it but it’s many many seconds. Sit and wait when testing, go put the kettle on etc.
The music sources I have tested have been left-right in phonon, test in phonon, test in yast, youtube and my soundblaster wav file that I use to signal that an email has arrived. The soundblaster file must be at least 15 years old, it came with a card I bought then that’s long since gone. I’d assume that the sounds built into kde are what ever sample rate they think it needs to be and it wouldn’t be a good idea to release something that couldn’t cope with youtube sound. My impression anyway is that the card provides the sample rate. This is from the spec. It’s sure to be able to play anything it can record.
24-bit Analog-to-Digital conversion of analog inputs at up to 96 kHz sample rate 24-bit Digital-to-Analog conversion of digital sources at up to 96 kHz to analog 7.1 speaker output 24-bit Digital-to-Analog conversion of stereo digital sources at up to 192 kHz to stereo output 16-bit to 24-bit recording sampling rates: 8, 11.025, 16, 22.05, 32, 44.1, 48 and 96 kHz ASIO 2.0 support at 16-bit/44.1kHz, 16-bit/48kHz, 24-bit/44.1kHz, 24-bit/48kHz and 24-bit/96kHz Supports Sony/Philips Digital Interface (S/PDIF) format of up to 24-bit/96 kHz quality S/PDIF output at selectable sampling rate of 44.1, 48 or 96 kHz S/PDIF output not available during playback of protected digital audio content authored with DRM (Digital Rights Management) technology ASIO 2.0 with direct monitoring Accelerated ASIO for ultra low latency Enhanced SoundFont support of up to 24-bit resolution
I have wondered if s/pdif needs different handling to iec958. If so it wont be the only card about that needs it.
The web page aspect is interesting. When I followed oldcpu’s idea and logged in the sound was more like a machine gun suggesting it was testing to see if sound would be needed on any of the tabs in a browser window I had left open. I’m pretty sure that the same thing is still happening after the change - longer grunt. If I log in to a blank desktop I’ll probably just get the usual grunt.
I was also getting grunts for no apparent reason. This seemed to be down to sound coming up due to some web pages content and later timing out when I viewed another tab. The unixmen site seemed to be causing that. No apparent sound though. I suspect some of their pages may include a sound that isn’t supported or the browser is blocking.
;)A one week idle time out isn’t all that different to what I have done. If it’s a ras pi chances are that it’s running a special version of ubuntu. It’s also odd that sound went once the idle timer wasn’t loaded. It does seem to be a configuration option.