Questions tagged [asio]

ASIO stands for Audio Stream Input/Output, a digital audio protocol. For questions about the Boost.Asio C++ library for asynchronous I/O, use the [boost-asio] tag to avoid ambiguity.

Audio Stream Input/Output is a low-latency protocol for sending and receiving audio data from sound interfaces. It was developed by Steinberg, which offers a licensed ASIO SDK among other audio software technology such as VST plugins.


Please note that in order to avoid ambiguity, questions about Boost.Asio should be tagged with as discussed on meta.

479 questions
0
votes
2 answers

How do I determine which channel is left, right, etc.?

So, I decided to use JAsioHost ( https://github.com/mhroth/jasiohost ) to output audio through ASIO in my program. Interaction with ASIO is done via an instance of AsioDriverListener interface. ASIO host will call its void bufferSwitch(long…
Display Name
  • 8,022
  • 3
  • 31
  • 66
0
votes
2 answers

Getting full audio frequency spectrum with Tobybears VST Template?

I'm trying to make a simple frequency analyzer VST plugin using Tobybears VST Template for Delphi. The problem I'm having is that I cant seem to find any documentation or information about how to get something like an array of values that represent…
xaid
  • 740
  • 6
  • 18
0
votes
1 answer

NAudio volume in ASIO

If I wanna change output volume I should not use IWavePlayer.Volume property right? I should just change (multiply by factor) output samples in WaveProvider right? OK, it is fine for WaveOut and DirectSoundOut because you can control them from…
apocalypse
  • 5,764
  • 9
  • 47
  • 95
0
votes
1 answer

waveOutWrite compatible with ASIO?

I am writing an application where I get sound data using low-latency ASIO card. The low-latency means that I get only 128 samples per batch, for 48k sample rate. From the ASIO card, I get raw samples in 32-bit signed integer range. Now I want to…
Jakub Zaverka
  • 8,816
  • 3
  • 32
  • 48
-1
votes
2 answers

Windows Winsock redefinition errors regarding asio/SteamAPI/libssh/SDL_net

Any time I try to use more than 1 networking library in the same (CMake) project, there are many Winsock redefinition errors. These libraries are asio, SteamAPI, libssh, and SDL_net to name a few. I turned to Google for answers, and there are many…
crazicrafter1
  • 309
  • 5
  • 18
-1
votes
2 answers

CPP program background waiting for jobs

I want to split up the following workflow of a C++ program: Read serialized data (1 sec, which is already very fast for that size) Search data (0.01 ms) Return found data(0.00.. ms) Edit: found data is just a small file Obviously reading the data…
schlumpel
  • 174
  • 1
  • 8
-1
votes
1 answer

Boost ASIO write hang when device disconnects

I have a server application that uses boost ASIO to communicate with several clients. The server application runs on a Linux server and the clients run on Windows desktops. The current design is multi-threaded although there is only one boost ASIO…
asimes
  • 5,749
  • 5
  • 39
  • 76
-1
votes
1 answer

Waiting for data on serial port and combining the results

I have multiple Victron Energy devices that communicate through a serial port spitting out information every second. (Each Victron device communicates on a separate serial port) What I want to do is grab the data from each device and put it combined…
Trevin Corkery
  • 653
  • 1
  • 6
  • 12
-1
votes
1 answer

Boost asio socket multicast send data with a specific ethernet interface

boost::asio::ip::address_v4 local_interface = boost::asio::ip::address_v4::from_string(ip); boost::asio::ip::multicast::outbound_interface option(local_interface); sock.set_option(option); //set interface It does not work! I used wireshark to…
Eric Xu
  • 69
  • 4
-1
votes
1 answer

How can I port audio of specific applications audio on Windows?

I'm trying to grab the audio from a couple applications and port them to my DAW program (ableton live or reaper) then to my streaming program (obs-studio). I've been attempting this with ASIO4ALL, Jack, and VB-CABLE (Virtual cable for non asio…
-2
votes
2 answers

C++17 and asynchronous member functions calling with move capture lambda expression

In the other question I've asked, I've learned some of evaluation orders are well defined since C++17. postfix-expression such as a->f(...)and a.b(...) are the part of them. See https://timsong-cpp.github.io/cppwp/n4659/expr.call#5 In the…
Takatoshi Kondo
  • 3,111
  • 17
  • 36
-2
votes
1 answer

How to use boost asio to async_connect every ten seconds?

I want to use boost asio to create a tcp client, and async_connect to a server every ten second until successful. Do you give me an example? Thanks.
lihao
  • 49
  • 4
-2
votes
1 answer

Delphi with multichannel soundcard ( ASIO )

I haven't been able to find any info at all about Delphi and any example with using multichannel external soundcards, preferable via ASIO protocol. I did found some ASIO information, but they're not in any help, since all of the info is provided for…
That Marc
  • 1,134
  • 3
  • 19
  • 42
-2
votes
1 answer

ASIO crashing under Windows 8 when the application is 64-bit and compiled using MSVC2012 or MSVC2013

So I have an interesting huge trouble... I downloaded newest ASIO SDK, compiled the host sample and it is crashing (or doing nonsense...) with several ASIO drivers if ALL of these conditions are met: 1) Compiled using MSVC2012 or MSVC2013 (MSVC2005…
Vojtěch Melda Meluzín
  • 1,117
  • 3
  • 11
  • 22
1 2 3
31
32