Port the SB128 code to AROS.
[AROS.git] / workbench / devs / AHI / Drivers / SB128 / accel.c
blob23903c3783f21b7cf935829eb902e6257d6a82f1
1 /*
3 The contents of this file are subject to the AROS Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
4 http://www.aros.org/license.html
6 Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF
7 ANY KIND, either express or implied. See the License for the specific language governing rights and
8 limitations under the License.
10 The Original Code is (C) Copyright 2004-2011 Ross Vumbaca.
12 The Initial Developer of the Original Code is Ross Vumbaca.
14 All Rights Reserved.
18 #define DEBUG 1
19 #include <aros/debug.h>
21 #include <devices/ahi.h>
22 #include <libraries/ahi_sub.h>
24 #include "library.h"
26 /******************************************************************************
27 ** AHIsub_SetVol **************************************************************
28 ******************************************************************************/
30 ULONG
31 _AHIsub_SetVol( UWORD channel,
32 Fixed volume,
33 sposition pan,
34 struct AHIAudioCtrlDrv* AudioCtrl,
35 ULONG flags,
36 struct DriverBase* AHIsubBase )
38 bug("[SB128]: %s()\n", __PRETTY_FUNCTION__);
40 return AHIS_UNKNOWN;
44 /******************************************************************************
45 ** AHIsub_SetFreq *************************************************************
46 ******************************************************************************/
48 ULONG
49 _AHIsub_SetFreq( UWORD channel,
50 ULONG freq,
51 struct AHIAudioCtrlDrv* AudioCtrl,
52 ULONG flags,
53 struct DriverBase* AHIsubBase )
55 bug("[SB128]: %s()\n", __PRETTY_FUNCTION__);
57 return AHIS_UNKNOWN;
61 /******************************************************************************
62 ** AHIsub_SetSound ************************************************************
63 ******************************************************************************/
65 ULONG
66 _AHIsub_SetSound( UWORD channel,
67 UWORD sound,
68 ULONG offset,
69 LONG length,
70 struct AHIAudioCtrlDrv* AudioCtrl,
71 ULONG flags,
72 struct DriverBase* AHIsubBase )
74 bug("[SB128]: %s()\n", __PRETTY_FUNCTION__);
76 return AHIS_UNKNOWN;
80 /******************************************************************************
81 ** AHIsub_SetEffect ***********************************************************
82 ******************************************************************************/
84 ULONG
85 _AHIsub_SetEffect( APTR effect,
86 struct AHIAudioCtrlDrv* AudioCtrl,
87 struct DriverBase* AHIsubBase )
89 bug("[SB128]: %s()\n", __PRETTY_FUNCTION__);
91 return AHIS_UNKNOWN;
95 /******************************************************************************
96 ** AHIsub_LoadSound ***********************************************************
97 ******************************************************************************/
99 ULONG
100 _AHIsub_LoadSound( UWORD sound,
101 ULONG type,
102 APTR info,
103 struct AHIAudioCtrlDrv* AudioCtrl,
104 struct DriverBase* AHIsubBase )
106 bug("[SB128]: %s()\n", __PRETTY_FUNCTION__);
108 return AHIS_UNKNOWN;
112 /******************************************************************************
113 ** AHIsub_UnloadSound *********************************************************
114 ******************************************************************************/
116 ULONG
117 _AHIsub_UnloadSound( UWORD sound,
118 struct AHIAudioCtrlDrv* AudioCtrl,
119 struct DriverBase* AHIsubBase )
121 bug("[SB128]: %s()\n", __PRETTY_FUNCTION__);
123 return AHIS_UNKNOWN;