Plugins:PepperAudioAPI: Difference between revisions

 
(3 intermediate revisions by one other user not shown)
Line 7: Line 7:
Low level audio component of the Pepper API.
Low level audio component of the Pepper API.


For more on Pepper, please see [[Plugins:PlatformIndependentNPAPI|Pepper Overview]]
For more on Pepper, please see [[NPAPI:Pepper|Pepper Overview]]


=== Specification  ===
=== Specification  ===
Line 89: Line 89:
if (NPERR_NO_ERROR == ret) {
if (NPERR_NO_ERROR == ret) {
   /* successfully obtained Pepper extensions, now acquire audio... */
   /* successfully obtained Pepper extensions, now acquire audio... */
   audio = pepper->AcquireDevice(NPPepperAudioDevice);
   audio = pepper->acquireDevice(NPPepperAudioDevice);
} else {
} else {
   /* Pepper extensions are not available */
   /* Pepper extensions are not available */
Line 869: Line 869:
+----------+
+----------+
       +-----+       +-----+
       +-----+               +-----+
       | ch2 |              | ch3 |
       | ch2 |              | ch3 |
left  +-----+              +-----+ right
left  +-----+              +-----+ right
Line 953: Line 953:
left  +-----+                +-----+ right
left  +-----+                +-----+ right
surround                              surround
surround                              surround
(Ls)                                 (Rs)
(Ls)       +------+      +------+    (Rs)
 
    left  | ch3  |      | ch4  | right
    back  +------+      +------+ back
    (Lb)                        (Rb)
</pre>
</pre>


Line 981: Line 983:
                 | listener |
                 | listener |
       +-----+  +----------+  +-----+
       +-----+  +----------+  +-----+
       | ch4 |                | ch5 |
       | ch6 |                | ch7 |
left  +-----+                +-----+ right
left  +-----+                +-----+ right
surround                              surround
surround                              surround
(Ls)                                 (Rs)
(Ls)       +------+      +------+    (Rs)
    left  | ch4  |      | ch5  | right
    back  +------+      +------+ back
    (Lb)                        (Rb)
 
</pre>
</pre>


Confirmed users, Bureaucrats and Sysops emeriti
1,680

edits