arnage Posted February 26, 2015 Report Share Posted February 26, 2015 Sve o obradi audio signala pod svim verzijama Win... Iskustva, testovi, pitanja, saveti... Pa izvolite. Quote Link to comment Share on other sites More sharing options...
arnage Posted February 26, 2015 Author Report Share Posted February 26, 2015 Win XP od SP2 sampling radi u nativnoj rezoluciji input fajla, odnosno menja se automatski, a mix signala radi na 24bit dok je maksimalni bitdepth 32bit ali paddingom obrađuje na 24bit. Maksimalni sample rate je 200khz. Quote Link to comment Share on other sites More sharing options...
arnage Posted February 26, 2015 Author Report Share Posted February 26, 2015 Win 7 sampling je fiksiran i podeÅ¡ava se zasebno za svaki fajl koji se reprodukuje. Kažu ljudi da može da se podesi da bude automatski sampling preko WASAPI ali u to nisam ubeÄ‘en. WASAPI nema svoju sampling komponentu, jedna je jedina sadržana u WIN Audio arhitekturi. Brka se Äesto zaÅ¡tita od BSOD i neki ni ne primete da je signal preÅ¡ao na DS i fiksiranu vrednost sample rate u podeÅ¡avanjima. Svaki signal se podiže na 32 bit float i primenjuje dither. Ne znam maksimalni podržani sample rate. Quote Link to comment Share on other sites More sharing options...
prophet Posted February 26, 2015 Report Share Posted February 26, 2015 Apropo W7, WASAPI i Asio isporuÄuju nativni sample rate. Proveravam softverom koji ide uz karticu. Foobar za WASAPI daje opciju da se odabere output data format (u bitima) i mogućnost da se aktivira dither. Za Asio nema ove opcije. Quote Link to comment Share on other sites More sharing options...
arnage Posted February 26, 2015 Author Report Share Posted February 26, 2015 Heh kod Win7 je stvarno izgleda kako kome zapadne. Kod mene nije hteo da menja pa se Äulo pucketanje u exclusive modu, a (beÅ¡e) u shared modu pustim 96khz, a u panelu zvuÄne prikazuje da stiže 44.1khz, koliko je podeÅ¡eno u Winu. Haos... A kada sam u Foobaru promenio bit-depth izbacio mi je BSOD. O Asio stvarno ne znam niÅ¡ta. Quote Link to comment Share on other sites More sharing options...
prophet Posted February 26, 2015 Report Share Posted February 26, 2015 Meni je jedno vreme WASAPI radio bez problema. Nisam ukaÄio zaÅ¡to ali odjednom je tražio da potvrdim joÅ¡ jednim klikom na fajl pri promeni rezolucije. Zbog toga sam preÅ¡ao na Asio. Dok sam koristio XP iÅ¡lo je preko KS. Quote Link to comment Share on other sites More sharing options...
arnage Posted February 26, 2015 Author Report Share Posted February 26, 2015 Ne znam, ja sam od onda kada si mi pokazao KS u Foobaru i bio stalno na XP. Sa Win7 sam se zezao u dva navrata po desetak - petnaest dana i ništa nisam uradio pa sam odustao. Nisam pokušavao sa Asio. Mnogo sam kopao pokušavajući da shvatim šta se tu dešava i jedan od tekstova je ovaj sa Well tempered computer: Automatic sample rate switching and hardware In case of a USB DAC (using native mode drivers) you get automatic sample rate switching using WASAPI exclusive. Most of the time the onboard audio allows for automatic sample rate switching as well. A lot of discrete sound cards don’t allow automatic switching using WASAPI. If the discrete sound card comes with ASIO, you better use this driver if you want automatic sample rate switching. Quote Link to comment Share on other sites More sharing options...
prophet Posted February 26, 2015 Report Share Posted February 26, 2015 Možda je i do firmware-a kartice. Quote Link to comment Share on other sites More sharing options...
Dark Magician Posted February 26, 2015 Report Share Posted February 26, 2015 Naravno da ti u Shared modu ne menja sample rate. Ne razumem ni kako to navodiš kao problem? Drugo, zašto nisi koristio ASIO, kad ukoliko ima podršku, WASAPI koristiš jedino ako ASIO drajver nije stabilan. Quote Link to comment Share on other sites More sharing options...
arnage Posted February 26, 2015 Author Report Share Posted February 26, 2015 Možda je i do firmware-a kartice. Možda, ali više nije ni važno. Naravno da ti u Shared modu ne menja sample rate. Ne razumem ni kako to navodiš kao problem? Drugo, zašto nisi koristio ASIO, kad ukoliko ima podršku, WASAPI koristiš jedino ako ASIO drajver nije stabilan. Ne razumeš ti mnogo toga, ali to nije tema. Quote Link to comment Share on other sites More sharing options...
Dark Magician Posted February 26, 2015 Report Share Posted February 26, 2015 Pa kad neko kuka, a ima mogućnost ispred nosa koju neće da proba. Ne znam šta ima tu da se razume? Quote Link to comment Share on other sites More sharing options...
arnage Posted February 26, 2015 Author Report Share Posted February 26, 2015 Prvo treba da razumeš da moj setup nije tema. Šta bre tebe briga što neću Asio? Smatraj ovo prvim i poslednjim upozorenjem da ne truješ temu. Quote Link to comment Share on other sites More sharing options...
Dark Magician Posted February 26, 2015 Report Share Posted February 26, 2015 TrujeÅ¡ je sam. Imamo Äoveka koji ima ASIO drajver za svoj hardver. Koji nudi i najnižu latenciju inaÄe. IzraÄ‘en iskljuÄivo za direkntu komunikaciju. A on neće da ga koristi. To je kao ono spasiće me Bog, dok prolaze brodovi... Quote Link to comment Share on other sites More sharing options...
arnage Posted February 26, 2015 Author Report Share Posted February 26, 2015 Pa da. Zato Å¡to ne znaÅ¡ Å¡ta je Asio ni Å¡ta je Kernel Streaming. Pobogu, ti se javljaÅ¡ koji misliÅ¡ da je coax na Yamahi i Vivax isti. Ti koji misliÅ¡ da je WASAPI drajver sa samling komponentom, ti ćeÅ¡ da preporuÄujeÅ¡ Asio nekome. I koje sve joÅ¡ gluposti ne proÄitah od tebe. Kao kada slepac pokazuje put... Quote Link to comment Share on other sites More sharing options...
Dark Magician Posted February 26, 2015 Report Share Posted February 26, 2015 Ti priÄaÅ¡ o tome da se WASAPI vraća u DS u Shared modu. Ne vraća se, i dalje je WASAPI, SAMO NEMA KONTROLU NAD SAMPLE RATE, NEGO POÅ TUJE SISTEMSKI DEFAULT. Yamahu i Vivax su tvoje delo. A ASIO definitivno nemaÅ¡ pojma, Äim ga izbegavaÅ¡ bez ikakvog razloga i za probu. Quote Link to comment Share on other sites More sharing options...
arnage Posted February 26, 2015 Author Report Share Posted February 26, 2015 Ne priÄam ja već Microsoft. To Å¡to ti ne ÄitaÅ¡ i nemaÅ¡ pojma nije moj problem. Ti si pisao da su svi digitalni izlazi isti, a ja sam ti samo formulisao Å¡ta ti u stvari tvrdiÅ¡. I sada kažeÅ¡ da je to moje delo? Thats not just gay, thats stupid! Quote Link to comment Share on other sites More sharing options...
arnage Posted February 26, 2015 Author Report Share Posted February 26, 2015 Now I have been creating a set of .NET wrappers for WASAPI as part of my NAudioopen source audio library. After the pain of writing the mountains of COM interop required to get .NET talking to WASAPI, I hit a brick wall. WASAPI does not offer sample rate conversion. In other words, to use shared mode, you must either hope that the Vista machine's audio engine is set to the exact sample rate of your audio, or you must write your own sample rate converter. And sample rate conversion is by no means trivial. Especially if your criteria are that it must not degrade the audio quality and it must be as fast as possible. http://mark-dot-net.blogspot.com/2008/06/what-up-with-wasapi.html Quote Link to comment Share on other sites More sharing options...
arnage Posted February 26, 2015 Author Report Share Posted February 26, 2015 We're currently targeting WASAPI for people who need to be as absolutely close to the metal as they need to be. We're not intending it to be a general purpose audio rendering API, frankly WASAPI pushes too many requirements on the application that's rendering audio for it to be useful as a general purpose API. The biggest hurdle is that to successfully use WASAPI, you need to be able to write a sample rate converter - using WASAPI to render audio requires that you be able to generate audio samples at the sample rate specified by the audio engine - the engine won't do the SRC for you. http://blogs.msdn.com/b/larryosterman/archive/2005/12/07/501306.aspx Quote Link to comment Share on other sites More sharing options...
arnage Posted February 26, 2015 Author Report Share Posted February 26, 2015 https://msdn.microsoft.com/en-us/library/dd316780(v=vs.85).aspx Quote Link to comment Share on other sites More sharing options...
Dark Magician Posted February 27, 2015 Report Share Posted February 27, 2015 Insistiraš na WASAPI, a onda se trudiš da ga predstaviš kao da ne valja. Ali i dalje nećeš ASIO? Ajde sada objasni zašto nećeš ni da probaš ASIO? Quote Link to comment Share on other sites More sharing options...
ab Posted February 27, 2015 Report Share Posted February 27, 2015 Cuo da moze da se navuce Quote Link to comment Share on other sites More sharing options...
arnage Posted February 27, 2015 Author Report Share Posted February 27, 2015 Grubo... Quote Link to comment Share on other sites More sharing options...
arnage Posted February 27, 2015 Author Report Share Posted February 27, 2015 Cuo da moze da se navuce A? Quote Link to comment Share on other sites More sharing options...
Dark Magician Posted February 27, 2015 Report Share Posted February 27, 2015 1) If your hardware has a native, well-behaved, ASIO driver, use ASIO. 2) Otherwise, on Windows Vista, Windows 7, or newer, use WASAPI Exclusive Access. 3) Otherwise, use Kernel Streaming if it works. 4) If none of the above are possible, use DirectSound or WaveOut. Neither of these provide hardware direct output, so choose based on performance. Quote Link to comment Share on other sites More sharing options...
arnage Posted February 27, 2015 Author Report Share Posted February 27, 2015 1) If your hardware has a native, well-behaved, ASIO driver, use ASIO. 2) Otherwise, on Windows Vista, Windows 7, or newer, use WASAPI Exclusive Access. 3) Otherwise, use Kernel Streaming if it works. 4) If none of the above are possible, use DirectSound or WaveOut. Neither of these provide hardware direct output, so choose based on performance. Ubuduće navedi izvor, poÅ¡to ti oÄigledno nemaÅ¡ pojma Å¡ta kopiraÅ¡ sa neta. To smo utvrdili viÅ¡e puta. A da si naveo izvor, odmah bi bilo jasno da si kopirao tekst lika koji je umalo bio banovan sa HA jer nije mogao da dokaže svoje tvrdnje, koje si ti upravo kopirao i opet se za'ebao. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.