Bug 441962 - pipe audio output to a file [feature request]
Summary: pipe audio output to a file [feature request]
Status: RESOLVED NOT A BUG
Alias: None
Product: kasts
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: bart
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-03 19:17 UTC by wartin.lindkvist@gmail.com
Modified: 2021-09-07 08:57 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wartin.lindkvist@gmail.com 2021-09-03 19:17:46 UTC
I want do make a feature request.
It would be super to ave an option to pipe audio output to a file... 


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 bart 2021-09-06 07:19:07 UTC
Just for me to understand what you're trying to achieve: what do you mean exactly with pipe to a file?

If you want to access the audio files that the app downloads, you could simply get them from the folder that they're downloaded to.  This is ~/.local/share/KDE/kasts/enclosures if you haven't customized the path.

Or do you mean that you want to pipe the audio to another program?  In that case, most audio backends allow to re-route audio to e.g. pipes.
Comment 2 wartin.lindkvist@gmail.com 2021-09-06 10:59:11 UTC
Hi .. thanks for answer.
It is the second option you mention there and i think you might be right... I could make pulseaudio pipe to file but it would be a bit more work if for example i have a setup with snapcast and just want to cast the Kasts sound out to snapcast speaker system and not my laptop speakers
Comment 3 wartin.lindkvist@gmail.com 2021-09-06 11:21:55 UTC
hmm hmmm you might be totaly right there ... but then i must have a way in kasts to choose audio output device ?? if i want to switch between audio out in my laptop speakers or to the sink that sends to file?
Comment 4 wartin.lindkvist@gmail.com 2021-09-06 11:39:05 UTC
He he... i think i get it now ... sorry i am not used to sound things....

I see now that i should be able to do this in kde thru the normal pavucontrol-qt ... as long as i in someway can get my sink(output) to file from pulseaudio to show ut there as an output device .... i just have to readup more on this and how it is suppose to be done ... sorry for creating spam in your bug report list :D

You can close this ticket
Comment 5 bart 2021-09-06 11:52:19 UTC
I'm also using snapcast myself for other purposes.  AFAIK, it's possible to pipe all pulseaudio audio directly to snapcast.  Possibly you could set up a dedicated output sink that will directly feed to snapcast.  That way you would avoid the detour through named pipes.
Comment 6 wartin.lindkvist@gmail.com 2021-09-06 13:52:33 UTC
ok ... thanks now i know more how to solve it ...
Comment 7 bart 2021-09-07 08:57:32 UTC
I'll close now (as you suggested).
I hope you manage to set this up.