Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9091801
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T22:41:47+00:00 2026-06-16T22:41:47+00:00

So, I decided to use JAsioHost ( https://github.com/mhroth/jasiohost ) to output audio through ASIO

  • 0

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 sampleTime, long samplePosition, Set<AsioChannel> activeChannels) method each time it wants new samples to playback. If I want to output mono sound, I just write the same data in all channels in the activeChannels. But what if I want to make something more complex and therefore need to know exact channel configuration?

In the simple test stub program ( http://pastebin.com/sC870VJR ) the activeChannels set is printed like:

#{#<AsioChannel Output Channel 0: HD Audio output 1, ASIOSTInt32LSB, group 0, inactive>
  #<AsioChannel Output Channel 1: HD Audio output 2, ASIOSTInt32LSB, group 0, inactive>}

So I can know an index of each channel. The question is – how to determine which channel is really left, right, center, and so on?.. Or there is no way and I should leave it to user, who will manually tell their positions?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T22:41:48+00:00Added an answer on June 16, 2026 at 10:41 pm

    The purpose of ASIO is to provide high-performance abstraction for multi-channel audio interfaces.

    In the domain that it was designed – that is to say professional audio applications – channels counts are often much higher than two, and whether any pair of channels is a stereo bus – and which channel is which – really depends on how the user has connected the inputs and outputs of their interface.

    The ASIO API doesn’t provide a means of retrieving routing information for channels – such as name-labels or where they are connected to. Even – as is often the case – the audio interface’s control panel software does have this facility.
    This has been a long-standing deficit in ASIO.

    The use of a group of channels (e.g. a stereo or 5.1 bus) is purely convention. At least in stereo applications, the left channel is usually the lower numbered channel of the sequential pair.

    If you’re using MacOSX, CoreAudio does provide both names channels and meaning audio routing data. As ASIO works as a thin wrapper between the application and the CoreAudio APIs, you could obtain this.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've decided to use the following ImageMagick library for iPhone development: https://github.com/marforic/imagemagick_lib_iphone It works
I use git on Windows via cygwin and soon decided to use filemode=false (since
Decided to use Apache's Common Configuration package to parse an XML File. I decided
I recently decided to use Apache HTTPD (on CentOS - RPM version httpd-2.2.3-45.el5.centos) with
I've decided to use Entity Framework for O/R Mapping, and DataAnnotations for validation in
I've decided to use this.variableName when referring to string/int etc.. fields. Would that include
My capstone team has decided to use Qooxdoo as the front end for our
On one of our sites we decided to use lighboxes in 2 instances. I
I am new to MVC and decided to use it for my newest project.
I'm developing a user preferences page and I've decided to use AngularJS to control

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.