mirror of
https://github.com/zoriya/ags.git
synced 2026-08-16 02:45:03 +00:00
small fix
This commit is contained in:
@@ -120,7 +120,7 @@ class AudioService extends Service {
|
||||
this._streams = new Map();
|
||||
this._streamBindings = new Map();
|
||||
|
||||
bulkConnect((this._control as unknown) as GObject.Object, [
|
||||
bulkConnect(this._control as unknown as GObject.Object, [
|
||||
['default-sink-changed', (_c, id: number) => this._defaultChanged(id, 'speaker')],
|
||||
['default-source-changed', (_c, id: number) => this._defaultChanged(id, 'microphone')],
|
||||
['stream-added', this._streamAdded.bind(this)],
|
||||
|
||||
+2
-1
@@ -72,7 +72,8 @@ export function bulkConnect(
|
||||
service: GObject.Object,
|
||||
list: [
|
||||
event: string,
|
||||
callback: (...args: unknown[]) => void
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
callback: (...args: any[]) => void
|
||||
][],
|
||||
) {
|
||||
const ids = [];
|
||||
|
||||
Reference in New Issue
Block a user