When I wish to record the audio output using Audio Recorder or Audacity I have to first use Yast to delete the sound card configuration and then re-configure the sound card.
My system is a 2 Intel Core i3 processor with 200 series PCH HD audio.
The sequence is:
Boot the system - get the audio stream running and listen to the output - start Audio Recorder - try to record the audio output - FAIL - close audio recorder - stop audio stream.
Start Yast - under sound select the device - delete the sound device configuration - select the sound device (now not configured) - edit configuration - quick automatic setup - OK to finish sound setup.
Restart Audio Recorder and sound stream - try recording audio out - SUCCESS - continue recording.
Audio recorder and other application may be closed and reopened and all is well until system is rebooted.
So after a boot up the sound works just fine except for recording but the work round is to re-configure the sound device.
Difficult to say - but I have one idea.
It reads like something is using the audio record device when you first try to use it, and not sharing the record device, such that Audio Recorder or Audacity can not access it.
Then when you restart the audio (in this case using YaST) the device is freed up, and Audio Recorder or Audacity can then use it.
That is a degree of speculation on my part, in the absense of further information.
I remember having had similar problems years ago until somebody recommended pavucontrol-qt to me:
rig:~ ▶ **rpm -qi pavucontrol-qt**
Name : pavucontrol-qt
Version : 0.3.0
Release : lp150.1.8
Install Date: Sun 27 May 2018 11:18:23 PM CEST
Group : System/GUI/LXQt
Size : 269702
License : GPL-2.0
Signature : RSA/SHA256, Sat 24 Mar 2018 06:53:51 AM CET, Key ID b88b2fd43dbdc284
Source RPM : pavucontrol-qt-0.3.0-lp150.1.8.src.rpm
Build Date : Mon 23 Oct 2017 02:00:00 PM CEST
Build Host : lamb24
Relocations : (not relocatable)
Packager : https://bugs.opensuse.org
Vendor : openSUSE
URL : https://github.com/lxde/pavucontrol-qt
Summary : Qt port of pavucontrol
**PulseAudio Volume Control (pavucontrol) is a simple volume control tool
("mixer") for the PulseAudio sound server. In contrast to classic mixer
tools this one allows you to control both the volume of hardware devices
and of each playback stream separately.
I always could rectify any audio issues with it — without the need for reboots, logous/logins or YaST.
There is a GTK-based package as well (pavucontrol) for Gnome/XFCE etc., but since I’m a KDE/Qt/Plasma kinda guy, I use pavucontrol-qt.
Give it a whirl. Cheers!
Thanks unix111, that gives me a better work-round.
I have to start the recorder, go to pavucontrol and change the recording input from Built-in Analog Stereo to Monitor of Built-in Analog Stereo
I then start playback and the recorder will record it OK.
This does leave me with about 7 seconds of blank on the beginning of each recording but I can just cut that off.
It is easier than having to reconfigure the audio with Yast before a recording session.
It may be possible to configure your PC such that this does not happen (albeit emphasis on ‘may’ with no guarantees), but to do so would require more information and a fair amount of your time trying some different configurations. If the ‘7 seconds of blank’ is livable, then we could stop now and go no further.
If you wish to investigate this further, please advise, and I can provide some diagnostic commands to run which might shed more light on this situation.