Skip to content

Commit

Permalink
bump audio version to v8 from v4 (#1248)
Browse files Browse the repository at this point in the history
  • Loading branch information
braindigitalis authored Sep 24, 2024
2 parents aa29f33 + 2358d88 commit 472f6d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dpp/discordvoiceclient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ void discord_voice_client::voice_courier_loop(discord_voice_client& client, cour
}

discord_voice_client::discord_voice_client(dpp::cluster* _cluster, snowflake _channel_id, snowflake _server_id, const std::string &_token, const std::string &_session_id, const std::string &_host)
: websocket_client(_host.substr(0, _host.find(":")), _host.substr(_host.find(":") + 1, _host.length()), "/?v=4", OP_TEXT),
: websocket_client(_host.substr(0, _host.find(":")), _host.substr(_host.find(":") + 1, _host.length()), "/?v=8", OP_TEXT),
runner(nullptr),
connect_time(0),
mixer(std::make_unique<audio_mixer>()),
Expand Down

0 comments on commit 472f6d3

Please sign in to comment.