Coder Social home page Coder Social logo

Comments (6)

clementgallet avatar clementgallet commented on July 23, 2024

Can you check if you have sound when doing an encode?

from libtas.

Nix40 avatar Nix40 commented on July 23, 2024

Well, I managed to solve the problem in Kubuntu by creating a file called "default.conf" with "options snd_hda_intel index=1" as content, then stuffing it in "/etc/modprobe.d/".

I still have another related problem, though. I can't get audio through WSL. The following error happens:

image

I did some research and it's apparently because WSL doesn't support ALSA, only PulseAudio. Source:
https://stackoverflow.com/questions/68310978/playing-sound-in-docker-container-on-wsl-in-windows-11

So is there really no way to get audio and working save states at the same time through WSL?

from libtas.

clementgallet avatar clementgallet commented on July 23, 2024

Can you test this solution: microsoft/wslg#864

from libtas.

Nix40 avatar Nix40 commented on July 23, 2024

Can you test this solution: microsoft/wslg#864

Where exactly is that ".asoundrc" file located? I'm not sure where to look.

from libtas.

InfoTeddy avatar InfoTeddy commented on July 23, 2024

Where exactly is that ".asoundrc" file located? I'm not sure where to look.

It's located at ~/.asoundrc, as it says in the linked issue. ~ refers to your home directory.

from libtas.

Nix40 avatar Nix40 commented on July 23, 2024

There was no .asounrc file in that directory (I also had "Show Hidden Files" checked).
Anyway, I created a file with such a name there, and added this as content:
file

Is this right? Because it didn't work. I'm still basically a noob with linux and don't know how to deal with coding very well. I read elsewhere that there needs to be something like this involved:

pcm.!default {
type hw
card 0
}

ctl.!default {
type hw
card 0
}

I don't know where the "pulse" part should go in that. If possible, please tell me exactly how the text should be like so I can just copy paste it.

from libtas.

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.