amisound.c (2fc2991175bf77395e6b15fe6b2304d3bf72da40) amisound.c (b4290a23cfa9040e2f0de5ab57d6ea65abaf053b)
1/*
2 * linux/arch/m68k/amiga/amisound.c
3 *
4 * amiga sound driver for Linux/m68k
5 *
6 * This file is subject to the terms and conditions of the GNU General Public
7 * License. See the file COPYING in the main directory of this archive
8 * for more details.

--- 10 unchanged lines hidden (view full) ---

19
20static unsigned short *snd_data;
21static const signed char sine_data[] = {
22 0, 39, 75, 103, 121, 127, 121, 103, 75, 39,
23 0, -39, -75, -103, -121, -127, -121, -103, -75, -39
24};
25#define DATA_SIZE (sizeof(sine_data)/sizeof(sine_data[0]))
26
1/*
2 * linux/arch/m68k/amiga/amisound.c
3 *
4 * amiga sound driver for Linux/m68k
5 *
6 * This file is subject to the terms and conditions of the GNU General Public
7 * License. See the file COPYING in the main directory of this archive
8 * for more details.

--- 10 unchanged lines hidden (view full) ---

19
20static unsigned short *snd_data;
21static const signed char sine_data[] = {
22 0, 39, 75, 103, 121, 127, 121, 103, 75, 39,
23 0, -39, -75, -103, -121, -127, -121, -103, -75, -39
24};
25#define DATA_SIZE (sizeof(sine_data)/sizeof(sine_data[0]))
26
27#define custom amiga_custom
28
27 /*
28 * The minimum period for audio may be modified by the frame buffer
29 * device since it depends on htotal (for OCS/ECS/AGA)
30 */
31
32volatile unsigned short amiga_audio_min_period = 124; /* Default for pre-OCS */
33
34#define MAX_PERIOD (65535)

--- 79 unchanged lines hidden ---
29 /*
30 * The minimum period for audio may be modified by the frame buffer
31 * device since it depends on htotal (for OCS/ECS/AGA)
32 */
33
34volatile unsigned short amiga_audio_min_period = 124; /* Default for pre-OCS */
35
36#define MAX_PERIOD (65535)

--- 79 unchanged lines hidden ---