mirror of
https://github.com/nonoo/kappanhang.git
synced 2026-01-02 23:09:58 +01:00
Fix audio pipe filename
This commit is contained in:
parent
c008bb3b3d
commit
56f30cf1ab
|
|
@ -195,7 +195,7 @@ func (a *audioStruct) init(devName string) error {
|
|||
sinks, err := papipes.GetActiveSinks()
|
||||
if err != nil {
|
||||
for _, i := range sinks {
|
||||
if i.Filename == a.source.Filename {
|
||||
if i.Filename == a.sink.Filename {
|
||||
i.Close()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue