mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-04-29 01:56:27 +00:00
[client] audio/pw: fixed another search/replace mistake
This commit is contained in:
parent
5c20a851c6
commit
7f93bbd675
@ -118,7 +118,7 @@ err:
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void pipewire_playbackStop_stream(void)
|
static void pipewire_playbackStopStream(void)
|
||||||
{
|
{
|
||||||
if (!pw.playback.stream)
|
if (!pw.playback.stream)
|
||||||
return;
|
return;
|
||||||
@ -132,7 +132,7 @@ static void pipewire_playbackStop_stream(void)
|
|||||||
|
|
||||||
static void pipewire_free(void)
|
static void pipewire_free(void)
|
||||||
{
|
{
|
||||||
pipewire_playbackStop_stream();
|
pipewire_playbackStopStream();
|
||||||
pw_thread_loop_stop(pw.thread);
|
pw_thread_loop_stop(pw.thread);
|
||||||
pw_thread_loop_destroy(pw.thread);
|
pw_thread_loop_destroy(pw.thread);
|
||||||
pw_loop_destroy(pw.loop);
|
pw_loop_destroy(pw.loop);
|
||||||
@ -160,7 +160,7 @@ static void pipewire_playbackStart(int channels, int sampleRate)
|
|||||||
pw.playback.sampleRate == sampleRate)
|
pw.playback.sampleRate == sampleRate)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
pipewire_playbackStop_stream();
|
pipewire_playbackStopStream();
|
||||||
|
|
||||||
pw.playback.channels = channels;
|
pw.playback.channels = channels;
|
||||||
pw.playback.sampleRate = sampleRate;
|
pw.playback.sampleRate = sampleRate;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user