C
C#

help

I sucks at thread, so please help me [Answered]

UUUnknown User10/15/2022
Message Not Public
Sign In & Join Server To View
Mmrphil210510/15/2022
Maybe there is a way to play without a new thread? I know NAudio has an asynchronous API Also, why are you creating a StreamReader just to get the base stream that you passed to it? You can just use the return value of GetManifestResourceStream directly StreamReader is meant for text
UUUnknown User10/15/2022
5 Messages Not Public
Sign In & Join Server To View
Mmrphil210510/15/2022
Why don't you want a new package? That is a very common thing to do
UUUnknown User10/15/2022
Message Not Public
Sign In & Join Server To View
Mmrphil210510/15/2022
Well it's def. not complicated Just read their documentation Or StackOverflow posts
UUUnknown User10/15/2022
3 Messages Not Public
Sign In & Join Server To View
Mmrphil210510/15/2022
Is it slow?
UUUnknown User10/15/2022
2 Messages Not Public
Sign In & Join Server To View
Mmrphil210510/15/2022
Well it opens a stream that should give you bytes gradually I don't think that'd be slow
UUUnknown User10/15/2022
3 Messages Not Public
Sign In & Join Server To View
KKouhai /人◕ ‿‿ ◕人\10/15/2022
mp3 is lossy compressed, wav isn't. So choosing between them depends on your requirements
Mmrphil210510/15/2022
NAudio supports both Most people can't hear the difference anyway between a high quality MP3 and WAV
UUUnknown User10/15/2022
Message Not Public
Sign In & Join Server To View
AAccord10/15/2022
✅ This post has been marked as answered!

Looking for more? Join the community!

Want results from more Discord servers?
Add your server
Recommended Posts
UNITY Get Quaterion to rotate towards ObjectHow do I get (return type) a quaternion to rotate towards an objectHelp me again!I got this error where it says Error: response status is 500 Here's my code Repository: ```puHelp! How to fix this?Error CS0815 Cannot assign void to an implicitly-typed variableMatchmaking ConnectionHello, Im building a Matchmaking Server: built on ASP. NET WebAPI Im confused to choose between HTVSCode extension can't find nuget packagesI restored a missing nuget package using msbuild and now I can use msbuild to compile my project witCan msbuild resolve parent directories from pwd instead of through ..?I'm running msbuild while my working directory includes a symlink. When it tries to access `../../..Interpolating a csproj xml property in the text of another property?```xml <PropertyGroup Condition="$([MSBuild]::IsOSPlatform('Windows'))"> <DataFolder>Win64_Dati have a variable in one method and want to use it in a different oneif i try make it public it breaks the whole codehow to code a tic tac toe gameive been coding for almost a month now and wached a bunch of toturlas so i tried making my most advaProject Structure Advice - Common Solution without NuGetPlease could I get some project structure advice? I'd like to build a project which consists of multModify property of object in List [Answered]I have a struct like this: ```cs public struct MyStruct { public ulong Id { get; set; } puSource Generator InterfaceDecleration-IdentifierToken Syntax Tree IssueHellos, I have the following source generator, I can read metadata of methods within namespace and cdoes JsonPropertyName works for deserialization?or just for serialization?✅ Using a method that is running on another threadI am making a program that does few operations to video files. on clicking a button, an dialog box iRound to nearest xIs there a inbuilt function to round to new nearest 10000 or 500000. For example 149288 = 1500000,Need help for loopI need help i want to make a program that makes people infected and the infected people infect otherUnion? of two binary arraysLet's say we have two byte arrays: ```cs byte[] ba1 = { 01, 01, 00, 00 }; byte[] ba2 = { 01, 00, 01,XML Deserialize errorError ```csharp System.InvalidOperationException: There is an error in XML document (4, 2). ---> SyHttpClient DI or USING()Which one is the best, Dependency injection or instance by usingWanna make a program were people get infected by a disease [Answered]if one person is infected i want him to infect someone else and that else to infect another one, and