Coder Social home page Coder Social logo

Adding sound device about windows HOT 2 CLOSED

dockur avatar dockur commented on June 25, 2024
Adding sound device

from windows.

Comments (2)

y0utubeperson1 avatar y0utubeperson1 commented on June 25, 2024 1

@kroese not sure if i can comment on a closed thread but do these arguments need to be put on installation only? For example, if i have a windows container and then put it, would it fail? I have a windows container already and tried both but I get these errors
image
image

My docker-compose:

version: "3"
services:
  windows:
    image: dockurr/windows
    container_name: windows
    environment:
      VERSION: "winxp"
      ARGUMENTS: "-device ich9-intel-hda -device hda-output"
    devices:
      - /dev/kvm
    cap_add:
      - NET_ADMIN
    ports:
      - 8006:8006
      - 3389:3389/tcp
      - 3389:3389/udp
    stop_grace_period: 2m
    restart: on-failure

from windows.

kroese avatar kroese commented on June 25, 2024

Instead of an XML config, you can use the ARGUMENTS variable to add configuration. For a sound device you can try this:

environment:
  ARGUMENTS: "-device ich9-intel-hda -device hda-output"

Or else

environment:
  ARGUMENTS: "-device usb-audio"

The reason why I didnt add it by default is that without any audio device I have working sound via Microsoft RDP on Android. But as soon as I add a soundcard like above, for some strange reason I do not have sound in RDP anymore.

So another solution is to use Microsoft RDP instead of Teamviewer, because it has working sound even without audio device.

from windows.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.