<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Serge Lages wrote:
<blockquote
 cite="mid:2cb6e3010904020836j76cabd22vc210658f7dcb8e76@mail.gmail.com"
 type="cite">
  <div class="gmail_quote">On Thu, Apr 2, 2009 at 5:28 PM, Jason Daly <span
 dir="ltr">&lt;<a moz-do-not-send="true" href="mailto:jdaly@ist.ucf.edu">jdaly@ist.ucf.edu</a>&gt;</span>
wrote:<br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
    <div class="im">Serge Lages wrote:<br>
    <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Dan and Jason,<br>
      <br>
Thanks for your replies. I am a real newbie about sound development so
please excuse me if my questions are a little dumb... :/<br>
      <br>
If I understand it well, having a single 12.2 system managed with 2
cards will be difficult (but possible).<br>
    </blockquote>
    <br>
    </div>
Just to clarify, you'll have to edit the OpenAL implementation (the
library) itself to do this. &nbsp;Since you're a self-described newbie, it
might not be the best solution for you (no offense intended ;-) ).<br>
  </blockquote>
  <div><br>
Don't worry, there's no offense here, I am a real newbie ! :)<br>
&nbsp;</div>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
If you do want to give it a try, Chris Robinson's OpenAL-Soft
implementation would be the best starting point. &nbsp;You can get it at:<br>
    <br>
&nbsp;<a moz-do-not-send="true"
 href="http://kcat.strangesoft.net/openal.html" target="_blank">http://kcat.strangesoft.net/openal.html</a>
    <div class="im"><br>
    <br>
    <br>
    <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
And what about having a single application managing two 6.1 systems ?
Or even two applications, one for each card, then I can make them
communicate to know where to play the sounds.<br>
    </blockquote>
    <br>
    </div>
You can certainly open two devices and contexts in OpenAL. &nbsp;The problem
is that the implementation will assume a typical 6.1 speaker layout (a
la Dolby Surround EX) for both contexts, and there is no way (that I
know of) to tell it where your speakers are. &nbsp;There will always be
sound coming from at least one speaker, even if all of your speakers
are on the left or right side of the room.<br>
    <br>
You're not the first person with a non-standard hardware configuration
like this, but unfortunately, I don't remember anyone contributing an
implementation for your kind of use case, even though the OpenAL API
would be the perfect interface for it.<br>
    <font color="#888888">
    <br>
    </font></blockquote>
  </div>
  <br>
And is it possible to select independently which speaker to send the
sound on ? It would be a good starting point for me, even if the best
would be a real spacialization.<br clear="all">
</blockquote>
<br>
One feature of OpenAL is that it does not spatialize multi-channel
sounds (only mono sounds).&nbsp; If you give OpenAL, for example, a
5.1-channel buffer to render, it will render it on the left, center,
right, surround left, surround right, and LFE channels, just like it
would be rendered without OpenAL in the loop.&nbsp; <br>
<br>
In this way, you could in theory do your own spatialization by creating
a multi-channel sound stream on the fly and passing it to OpenAL for
rendering.&nbsp; This is really the long way around, though.<br>
<br>
I just noticed that OpenAL-Soft 1.7 has support for configuring the
speaker layout.&nbsp; You might want to wait for Chris Robinson to comment
on this before you get going.&nbsp; He may have some other ideas that would
make this easier for you.<br>
<br>
--"J"<br>
<br>
</body>
</html>