diff org/add-new-device.org @ 33:3caceef436ea tip

formatting for web
author Robert McIntyre <rlm@mit.edu>
date Sat, 11 Feb 2012 12:25:55 -0700
parents f9476ff7637e
children
line wrap: on
line diff
     1.1 --- a/org/add-new-device.org	Sat Feb 04 01:43:33 2012 -0700
     1.2 +++ b/org/add-new-device.org	Sat Feb 11 12:25:55 2012 -0700
     1.3 @@ -1,13 +1,10 @@
     1.4 -#+title: all the steps to add a device to open-al
     1.5 +#+title: Steps to add a new Device to Open-AL
     1.6  #+author: Robert McIntyre
     1.7  #+email: rlm@mit.edu
     1.8  #+description: how to add a new device to open-al
     1.9  #+SETUPFILE: ../../aurellem/org/setup.org
    1.10  #+INCLUDE: ../../aurellem/org/level-0.org
    1.11  
    1.12 -
    1.13 -* How to add a new backend device
    1.14 -
    1.15  * In Alc/backends/<your-device>.c 
    1.16     
    1.17  #+begin_src C
    1.18 @@ -15,11 +12,13 @@
    1.19  
    1.20  ALCboolean alc_<your-device>_init(BackendFuncs *func_list)
    1.21  void alc_<your-device>_deinit(void)
    1.22 -
    1.23 -static ALCboolean <your-device>_open_playback(ALCdevice *device, const ALCchar *deviceName)
    1.24 +  
    1.25 +static ALCboolean <your-device>_open_playback
    1.26 +  (ALCdevice *device,const ALCchar *deviceName)
    1.27  static void <your-device>_close_playback(ALCdevice *device)
    1.28  static ALCboolean <your-device>_reset_playback(ALCdevice *device)
    1.29  static void <your-device>_stop_playback(ALCdevice *device)
    1.30 +
    1.31  #+end_src
    1.32  
    1.33  #+begin_src C
    1.34 @@ -90,7 +89,7 @@
    1.35                # Default backends, always available
    1.36                Alc/backends/loopback.c
    1.37                Alc/backends/null.c
    1.38 -	      # : add <your-device> device
    1.39 +	      # : add <your-device> herex
    1.40  	      Alc/backends/<your-device>.c
    1.41  )
    1.42  #+end_src