Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
sfnt_info.h File Reference
#include <sound/asound.h>

Go to the source code of this file.

Data Structures

struct  soundfont_patch_info
 
struct  soundfont_open_parm
 
struct  soundfont_voice_parm
 
struct  soundfont_voice_info
 
struct  soundfont_voice_rec_hdr
 
struct  soundfont_sample_info
 
struct  soundfont_voice_map
 
struct  snd_emux_misc_mode
 

Macros

#define SNDRV_OSS_PATCHKEY(id)   ((id<<8)|0xfd)
 
#define SNDRV_OSS_SOUNDFONT_PATCH   SNDRV_OSS_PATCHKEY(0x07)
 
#define SNDRV_SFNT_LOAD_INFO   0 /* awe_voice_rec */
 
#define SNDRV_SFNT_LOAD_DATA   1 /* awe_sample_info */
 
#define SNDRV_SFNT_OPEN_PATCH   2 /* awe_open_parm */
 
#define SNDRV_SFNT_CLOSE_PATCH   3 /* none */
 
#define SNDRV_SFNT_REPLACE_DATA   5 /* awe_sample_info (optarg=#channels)*/
 
#define SNDRV_SFNT_MAP_PRESET   6 /* awe_voice_map */
 
#define SNDRV_SFNT_PROBE_DATA   8 /* optarg=sample */
 
#define SNDRV_SFNT_REMOVE_INFO   9 /* optarg=(bank<<8)|instr */
 
#define SNDRV_SFNT_PATCH_NAME_LEN   32
 
#define SNDRV_SFNT_PAT_TYPE_MISC   0
 
#define SNDRV_SFNT_PAT_TYPE_GUS   6
 
#define SNDRV_SFNT_PAT_TYPE_MAP   7
 
#define SNDRV_SFNT_PAT_LOCKED   0x100 /* lock the samples */
 
#define SNDRV_SFNT_PAT_SHARED   0x200 /* sample is shared */
 
#define SNDRV_SFNT_MODE_ROMSOUND   0x8000
 
#define SNDRV_SFNT_MODE_STEREO   1
 
#define SNDRV_SFNT_MODE_LOOPING   2
 
#define SNDRV_SFNT_MODE_NORELEASE   4 /* obsolete */
 
#define SNDRV_SFNT_MODE_INIT_PARM   8
 
#define SNDRV_SFNT_WR_APPEND   0 /* append anyway */
 
#define SNDRV_SFNT_WR_EXCLUSIVE   1 /* skip if already exists */
 
#define SNDRV_SFNT_WR_REPLACE   2 /* replace if already exists */
 
#define SNDRV_SFNT_SAMPLE_8BITS   1 /* wave data is 8bits */
 
#define SNDRV_SFNT_SAMPLE_UNSIGNED   2 /* wave data is unsigned */
 
#define SNDRV_SFNT_SAMPLE_NO_BLANK   4 /* no blank loop is attached */
 
#define SNDRV_SFNT_SAMPLE_SINGLESHOT   8 /* single-shot w/o loop */
 
#define SNDRV_SFNT_SAMPLE_BIDIR_LOOP   16 /* bidirectional looping */
 
#define SNDRV_SFNT_SAMPLE_STEREO_LEFT   32 /* stereo left sound */
 
#define SNDRV_SFNT_SAMPLE_STEREO_RIGHT   64 /* stereo right sound */
 
#define SNDRV_SFNT_SAMPLE_REVERSE_LOOP   128 /* reverse looping */
 
#define SNDRV_EMUX_HWDEP_NAME   "Emux WaveTable"
 
#define SNDRV_EMUX_VERSION   ((1 << 16) | (0 << 8) | 0) /* 1.0.0 */
 
#define SNDRV_EMUX_IOCTL_VERSION   _IOR('H', 0x80, unsigned int)
 
#define SNDRV_EMUX_IOCTL_LOAD_PATCH   _IOWR('H', 0x81, struct soundfont_patch_info)
 
#define SNDRV_EMUX_IOCTL_RESET_SAMPLES   _IO('H', 0x82)
 
#define SNDRV_EMUX_IOCTL_REMOVE_LAST_SAMPLES   _IO('H', 0x83)
 
#define SNDRV_EMUX_IOCTL_MEM_AVAIL   _IOW('H', 0x84, int)
 
#define SNDRV_EMUX_IOCTL_MISC_MODE   _IOWR('H', 0x84, struct snd_emux_misc_mode)
 

Macro Definition Documentation

#define SNDRV_EMUX_HWDEP_NAME   "Emux WaveTable"

Definition at line 194 of file sfnt_info.h.

#define SNDRV_EMUX_IOCTL_LOAD_PATCH   _IOWR('H', 0x81, struct soundfont_patch_info)

Definition at line 206 of file sfnt_info.h.

#define SNDRV_EMUX_IOCTL_MEM_AVAIL   _IOW('H', 0x84, int)

Definition at line 209 of file sfnt_info.h.

#define SNDRV_EMUX_IOCTL_MISC_MODE   _IOWR('H', 0x84, struct snd_emux_misc_mode)

Definition at line 210 of file sfnt_info.h.

#define SNDRV_EMUX_IOCTL_REMOVE_LAST_SAMPLES   _IO('H', 0x83)

Definition at line 208 of file sfnt_info.h.

#define SNDRV_EMUX_IOCTL_RESET_SAMPLES   _IO('H', 0x82)

Definition at line 207 of file sfnt_info.h.

#define SNDRV_EMUX_IOCTL_VERSION   _IOR('H', 0x80, unsigned int)

Definition at line 205 of file sfnt_info.h.

#define SNDRV_EMUX_VERSION   ((1 << 16) | (0 << 8) | 0) /* 1.0.0 */

Definition at line 196 of file sfnt_info.h.

#define SNDRV_OSS_PATCHKEY (   id)    ((id<<8)|0xfd)

Definition at line 34 of file sfnt_info.h.

#define SNDRV_OSS_SOUNDFONT_PATCH   SNDRV_OSS_PATCHKEY(0x07)

Definition at line 40 of file sfnt_info.h.

#define SNDRV_SFNT_CLOSE_PATCH   3 /* none */

Definition at line 51 of file sfnt_info.h.

#define SNDRV_SFNT_LOAD_DATA   1 /* awe_sample_info */

Definition at line 49 of file sfnt_info.h.

#define SNDRV_SFNT_LOAD_INFO   0 /* awe_voice_rec */

Definition at line 48 of file sfnt_info.h.

#define SNDRV_SFNT_MAP_PRESET   6 /* awe_voice_map */

Definition at line 54 of file sfnt_info.h.

#define SNDRV_SFNT_MODE_INIT_PARM   8

Definition at line 126 of file sfnt_info.h.

#define SNDRV_SFNT_MODE_LOOPING   2

Definition at line 124 of file sfnt_info.h.

#define SNDRV_SFNT_MODE_NORELEASE   4 /* obsolete */

Definition at line 125 of file sfnt_info.h.

#define SNDRV_SFNT_MODE_ROMSOUND   0x8000

Definition at line 122 of file sfnt_info.h.

#define SNDRV_SFNT_MODE_STEREO   1

Definition at line 123 of file sfnt_info.h.

#define SNDRV_SFNT_OPEN_PATCH   2 /* awe_open_parm */

Definition at line 50 of file sfnt_info.h.

#define SNDRV_SFNT_PAT_LOCKED   0x100 /* lock the samples */

Definition at line 76 of file sfnt_info.h.

#define SNDRV_SFNT_PAT_SHARED   0x200 /* sample is shared */

Definition at line 77 of file sfnt_info.h.

#define SNDRV_SFNT_PAT_TYPE_GUS   6

Definition at line 74 of file sfnt_info.h.

#define SNDRV_SFNT_PAT_TYPE_MAP   7

Definition at line 75 of file sfnt_info.h.

#define SNDRV_SFNT_PAT_TYPE_MISC   0

Definition at line 73 of file sfnt_info.h.

#define SNDRV_SFNT_PATCH_NAME_LEN   32

Definition at line 69 of file sfnt_info.h.

#define SNDRV_SFNT_PROBE_DATA   8 /* optarg=sample */

Definition at line 56 of file sfnt_info.h.

#define SNDRV_SFNT_REMOVE_INFO   9 /* optarg=(bank<<8)|instr */

Definition at line 57 of file sfnt_info.h.

#define SNDRV_SFNT_REPLACE_DATA   5 /* awe_sample_info (optarg=#channels)*/

Definition at line 53 of file sfnt_info.h.

#define SNDRV_SFNT_SAMPLE_8BITS   1 /* wave data is 8bits */

Definition at line 168 of file sfnt_info.h.

#define SNDRV_SFNT_SAMPLE_BIDIR_LOOP   16 /* bidirectional looping */

Definition at line 172 of file sfnt_info.h.

#define SNDRV_SFNT_SAMPLE_NO_BLANK   4 /* no blank loop is attached */

Definition at line 170 of file sfnt_info.h.

#define SNDRV_SFNT_SAMPLE_REVERSE_LOOP   128 /* reverse looping */

Definition at line 175 of file sfnt_info.h.

#define SNDRV_SFNT_SAMPLE_SINGLESHOT   8 /* single-shot w/o loop */

Definition at line 171 of file sfnt_info.h.

#define SNDRV_SFNT_SAMPLE_STEREO_LEFT   32 /* stereo left sound */

Definition at line 173 of file sfnt_info.h.

#define SNDRV_SFNT_SAMPLE_STEREO_RIGHT   64 /* stereo right sound */

Definition at line 174 of file sfnt_info.h.

#define SNDRV_SFNT_SAMPLE_UNSIGNED   2 /* wave data is unsigned */

Definition at line 169 of file sfnt_info.h.

#define SNDRV_SFNT_WR_APPEND   0 /* append anyway */

Definition at line 149 of file sfnt_info.h.

#define SNDRV_SFNT_WR_EXCLUSIVE   1 /* skip if already exists */

Definition at line 150 of file sfnt_info.h.

#define SNDRV_SFNT_WR_REPLACE   2 /* replace if already exists */

Definition at line 151 of file sfnt_info.h.