@greengeek
I am wondering if my problem is caused by me not correctly understanding this coaching:
SoundcardMethod.png
SoundcardMethod.png (14.26 KiB) Viewed 26 times.
Obviously the order of events is significant. Should the application be running first?
eg:
- Application running before loading pet?
- Load pet, then start application?
- Load pet, start application, start recording, then restart application??Maybe my application cannot see the new asound.conf because TAK has not loaded it yet?
I feel as if I am getting the timing wrong.
Yes, order of events is important: Start cast recording (by clicking the "Take a Cast!" button) > Start audio source application.
The point where a new (temporary) ~/.asoundrc is created is exactly after clicking the "Take a Cast" button (the info message appears) from then on you must start the application e.g. browser, audio player ....
Recording audio won't work if the application has been already started earlier, so then you'll have to restart the application and when clicking ok at the info message, then the recording will start (and click on a window or draw rectangle if selected Window or Region)
It's a bit inconvenient with ALSA as it needs custom ~/.asoundrc, with pulse/pipewire it's much easier (order of events doesn't matter).
Btw, after recording, you'll probably need to close the audio source application first and then play the recorded video to be able to hear sound from it.
(order of events in opposite direction actually)
Hope it's clear enough now, it should work ok on Fossapup64, I tested.