dont default to pulse

This commit is contained in:
Venelin Dechkov
2026-07-30 11:54:49 +03:00
parent eae82e465d
commit 6799745b3c
+4 -4
View File
@@ -189,7 +189,7 @@ extern "C"
catch(...){ cerr << "EXCEPT\n"; }
// Volume
string amix_out = $(Cmd("amixer", "-Dpulse", "get", AUDIO_DEV));
string amix_out = $(Cmd("amixer", "get", AUDIO_DEV));
size_t vol_bracket = amix_out.find('[');
if(vol_bracket != string::npos)
@@ -315,21 +315,21 @@ extern "C"
void vene_inc_vol(const Arg*)
{
Cmd inc_vol("amixer", "-q", "-Dpulse", "set", AUDIO_DEV, "3%+");
Cmd inc_vol("amixer", "-q", "set", AUDIO_DEV, "3%+");
child = inc_vol.detach();
has_child = true;
}
void vene_dec_vol(const Arg*)
{
Cmd dec_vol("amixer", "-q", "-Dpulse", "set", AUDIO_DEV, "3%-");
Cmd dec_vol("amixer", "-q", "set", AUDIO_DEV, "3%-");
child = dec_vol.detach();
has_child = true;
}
void vene_toggle_vol(const Arg*)
{
Cmd toggle_vol("amixer", "-q", "-Dpulse", "set", AUDIO_DEV, "toggle");
Cmd toggle_vol("amixer", "-q", "set", AUDIO_DEV, "toggle");
child = toggle_vol.detach();
has_child = true;
}