- Set a default PCM volume so that something can be heard when driver is
[AROS.git] / workbench / devs / AHI / Drivers / ac97 / ac97-accel.c
blobd2d2367acf2bef9b01c9e1dbccec2d96d1836237
2 #include <devices/ahi.h>
3 #include <libraries/ahi_sub.h>
5 #include "DriverData.h"
7 /******************************************************************************
8 ** AHIsub_SetVol **************************************************************
9 ******************************************************************************/
11 ULONG
12 _AHIsub_SetVol( UWORD channel,
13 Fixed volume,
14 sposition pan,
15 struct AHIAudioCtrlDrv* AudioCtrl,
16 ULONG flags,
17 struct DriverBase* AHIsubBase )
19 struct ac97Base* ac97Base = (struct ac97Base*) AHIsubBase;
21 return AHIS_UNKNOWN;
25 /******************************************************************************
26 ** AHIsub_SetFreq *************************************************************
27 ******************************************************************************/
29 ULONG
30 _AHIsub_SetFreq( UWORD channel,
31 ULONG freq,
32 struct AHIAudioCtrlDrv* AudioCtrl,
33 ULONG flags,
34 struct DriverBase* AHIsubBase )
36 struct ac97Base* ac97Base = (struct ac97Base*) AHIsubBase;
38 return AHIS_UNKNOWN;
42 /******************************************************************************
43 ** AHIsub_SetSound ************************************************************
44 ******************************************************************************/
46 ULONG
47 _AHIsub_SetSound( UWORD channel,
48 UWORD sound,
49 ULONG offset,
50 LONG length,
51 struct AHIAudioCtrlDrv* AudioCtrl,
52 ULONG flags,
53 struct DriverBase* AHIsubBase )
55 struct ac97Base* ac97Base = (struct ac97Base*) AHIsubBase;
57 return AHIS_UNKNOWN;
61 /******************************************************************************
62 ** AHIsub_SetEffect ***********************************************************
63 ******************************************************************************/
65 ULONG
66 _AHIsub_SetEffect( APTR effect,
67 struct AHIAudioCtrlDrv* AudioCtrl,
68 struct DriverBase* AHIsubBase )
70 struct ac97Base* ac97Base = (struct ac97Base*) AHIsubBase;
72 return AHIS_UNKNOWN;
76 /******************************************************************************
77 ** AHIsub_LoadSound ***********************************************************
78 ******************************************************************************/
80 ULONG
81 _AHIsub_LoadSound( UWORD sound,
82 ULONG type,
83 APTR info,
84 struct AHIAudioCtrlDrv* AudioCtrl,
85 struct DriverBase* AHIsubBase )
87 struct ac97Base* ac97Base = (struct ac97Base*) AHIsubBase;
89 return AHIS_UNKNOWN;
93 /******************************************************************************
94 ** AHIsub_UnloadSound *********************************************************
95 ******************************************************************************/
97 ULONG
98 _AHIsub_UnloadSound( UWORD sound,
99 struct AHIAudioCtrlDrv* AudioCtrl,
100 struct DriverBase* AHIsubBase )
102 struct ac97Base* ac97Base = (struct ac97Base*) AHIsubBase;
104 return AHIS_UNKNOWN;