Комментарии:
Audio driver programming will teach you the foundations needed to master languages such C/C++ and or assembly! Especially if you're below the Operating Systems API and system calls, below the what use to be the HAL (Hardware Abstraction Layer) of a system, etc... When you're down to the registers and controllers, and converters going back and forth between digital and analog manipulating individual bytes and bits... that's where the fun begins. Might want to brush up on your trig, on your understanding of FFTs. Then it's a matter of not just playback, but how the audio data is being internally represented. Is it raw? Is it compressed? Is it in a mp3 format, a wav format, or structured as a MIDI sequence? Ah yes, Audio Programming will definitely teach you to use C/C++, Assembly properly!
ОтветитьSound Drivers... much to explore there! Takes me back to the DOS days of gaming and having to manually configure each and every game to have the correct sound / video card, that they're assigned to the right IRQ channels, setting the correct DMAs, etc. during the setup procedure after installing the game. The fun old days!
Ответитьbreaking out the baby powder ...
ОтветитьOld school DirectX - OpenGL rendering window with Windows API setup 500+ lines of code before modifying any of the pixels other than the default screen color at startup. Learning how to have Windows Procedural Callback, dealing with the Windows HANDLE's... The messaging system... then configuring your Application's main window attributes and settings such as size and position, resizing it, windowed or fullscreen resolution modes. Then having to modify or configure it's HDWC drawing commands for either DirectX or OpenGL to be the primary drawing context. The good old days of having 500+ required boilerplate code up and running for every project before you even render your first graphical triangle. Oh how we are spoiled today... That can be now done in about 4-20 lines of code pending on preferred initial setup and assigned functionalities all through the use of a a simple library.
However, it's not all fun and games... If there are any unforeseen bugs which I'm sure there are in said libraries and APIs that you're using within your projects then your applications have those same bugs. You're also at the mercy of the library / API vendor(s) for when they update or make any changes to it. If and when you migrate to their newer version(s), you have to make sure your entire code base works as expected. Of course any newer versions or releases may provide many or most of those bug fixes but more than likely they've also introduced a bunch of new ones... So there's always a tradeoff!
Roll your own and carefully manage your own internal bugs (good luck). It does take a little bit longer to get your project(s) up and running yet it also provides you with more control and flexibility towards what you want your applications to do. Otherwise you'll have to rely on some outside library or API trusting that they will do in the hopes exactly what they claim or are intended, expected to do, also (good luck). For we all know too well that bugs or badly written, badly structured, poor choice of algorithm, etc... can and will show up anywhere at any time causing invalid results, code - program crashes, or even system wide crashes; all because someone missed an edge case, or improperly accessed an invalid or dangling pointer - reference object, out of bounds indexing, off by one errors, division by zero, error in calculations from narrowing or widening a type... stack and or buffer under or overflows, page or segmentation faults, and much much more... So either way there are always trade offs and bound to be bugs, so again(Good Luck).
I guess it's time to dive into doing some Vulkan programming...
When I was young and trying to learn to program I remember getting "Tricks of the Windows Game Programming Gurus" and just the function signatures for spawning a basic window turned me off programming for year. I thought I was just too dumb since I thought I had to memorize all the parameters for _everything_. Fortunately I've been in the software industry for a decade now, but I still shudder thinking back on those insane signatures.
ОтветитьPrime preaching C being "the real mans language" while reacting to a video about Jai
ОтветитьWatching the best doing their thing always seems easy. I think this guy is just next level.
ОтветитьrandeezNuts
Ответитьthe yearly randy tries something and eventually gives up
Ответитьthe amount of capital letters in directx lmaoooo hahahaha
ОтветитьAnd his editor is like.. "yeah I'm not gonna do any of that"
ОтветитьYou gota watch mizizizi hahahaha
ОтветитьMan, I love your videos. You both hilarious and inspiring!
ОтветитьDude weak move to cut it early, not including the part that doesn't let you monetize the video, when this is just react content and the original creator took the hit on his actual content...
ОтветитьJai is the most joyful programming language I ever used and I tried Zig and Rust before. Nothing comes close. It's just beautifully crafted for game development and you get all the power you need + convenience and lots of built-in goodies.
Ответить"Piece of piss" is British slang.
Ответитьbtw if you use calloc in C instead of malloc, it get's 0 initialized
ОтветитьIt looks easy in his video because he only mentions the top level things to do.
e.g. make a triagle, make two of them so it's a quad, make it show a texture instead of just single colors.
There is a lot of code behind it that he is not showing.
Also, Jai makes it a lot easier to make games, etc (it was designed for game development) so it's easier to accomplish what you need.
For example, there is a library/module named Window_Creation that you can use to create a window with one line of code on Windows, Linux, and Mac.
There is also a library/module named Input, so you can just get input, without any hassle.
TL;DR: It's complicated to do stuff, but Jai makes it easier to accomplish, and he only shows milestones instead of every line of code.
When I write c its instant legacy code
ОтветитьAs an Australian I can confirm, we are all actually form Nebraska.
Ответитьgo back to the days BEFORE debuggers to solve that soul destroying bug in c.
hard times create strong men, strong men create good times, good times create weak men, and weak men create hard times
Prime, please send my compliments to your editor, excellent zoom skills. very subtle and understated.
Ответить"Piece of piss?" distant TF2 laughter
Ответитьeven their headset microphones are upsidedown.
ОтветитьFlip was on a strike
Ответить"from scratch"
>uses existing libraries
>uses premade assets
too bad it was so short too, cut out all the good boring bits
Spoiler:
FLIP DIDN'T ZOOM IN, NO CANDLES, NUFFN
serach for NITRONIC RUSH
ОтветитьC is a real man's language because you get to see men cry
ОтветитьIf you just add the samples for the wave audio, the loudness increases. You have to average it out. So for two sources, halve the result... No worder his ears blew off!
ОтветитьPiece of piss is a popular phrase in England too
Ответить"When someone says that I have the building blocks to make absolutely anything; it really means, I have currently made something in which when I make something it will still take an incredible amount of time." -ThePrimeagen
That one cut me deep.
Where the hell is flip filip
Ответитьyou C, but you don't C# enough to spot your bugs.
ОтветитьYou haven't truly lived until you've built your own audio player. I have. Was it good? No. Was it streamlined? Easy to use? No. But, it was beautiful. And now when I use SDL2_mixer, I don't ask, "what in sam hell is this shit" No. I say, "Thank you based god." And as I call upon Mix_LoadMUS, our lord Gaben looks down from his throne of Steam Decks on high, and he says, "It is well my good and faithful servant." And then I run it through a profiler, and I agree it is well. Amen.
ОтветитьNature? In computer science we see the sun less than the people in Dark City do
ОтветитьTime to jump into 4coder
ОтветитьI went from windows to mac-os. MS-DoS is an advanced, highly customisable OS compared to what this piece of crap is... It does the job tho... kinda
ОтветитьYou gotta turn on caps lock to get anything done in dx 🥲
ОтветитьJust a video just to show off his skills..
Ответитьwhy does this looks fun?
ОтветитьI spat out my coffee when you said the tech lead
Ответить