Skip to content

Commit

Permalink
Fix audio issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ruzickap committed Mar 21, 2020
1 parent 78e28bb commit c91837e
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Vagrantfile-windows.template
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,8 @@ Vagrant.configure("2") do |config|
end

config.vm.provider :virtualbox do |virtualbox, override|
virtualbox.customize ["modifyvm", :id, "--accelerate2dvideo", "on"]
virtualbox.customize ["modifyvm", :id, "--audiocontroller", "hda"]
virtualbox.customize ["modifyvm", :id, "--cpus", 2]
virtualbox.customize ["modifyvm", :id, "--memory", 2048]
virtualbox.customize ["modifyvm", :id, "--vram", 128]
virtualbox.customize ['modifyvm', :id, "--graphicscontroller", "vboxsvga"]
virtualbox.customize ["modifyvm", :id, "--vram", "32"]
virtualbox.customize ["modifyvm", :id, "--audioout", "on"]
virtualbox.customize ["modifyvm", :id, "--clipboard-mode", "bidirectional"]
virtualbox.gui = true
end
Expand Down
12 changes: 12 additions & 0 deletions my_windows.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,18 @@
"--graphicscontroller",
"vboxsvga"
],
[
"modifyvm",
"{{ .Name }}",
"--vram",
"32"
],
[
"modifyvm",
"{{ .Name }}",
"--audio",
"pulse"
],
[
"modifyvm",
"{{ .Name }}",
Expand Down
6 changes: 6 additions & 0 deletions windows.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,12 @@
"--graphicscontroller",
"vboxsvga"
],
[
"modifyvm",
"{{ .Name }}",
"--audio",
"alsa"
],
[
"modifyvm",
"{{ .Name }}",
Expand Down

0 comments on commit c91837e

Please sign in to comment.