forked from komh/kai
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlibkai.txt
154 lines (124 loc) · 5.7 KB
/
libkai.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
Upload Information Template for Hobbes.nmsu.edu
===============================================
Archive Filename: libkai-@[email protected]
Short Description: libkai v@VER@
Long Description: K Audio Interface v@VER@.
DART/UNIAUD implementation library.
v2.2.1:
* Built with gcc v9.2.0(rpm)
* Fixed dart: `DART error(xxxx):Multiple defined.' error at startup
* Fixed dart: Dead-lock in dartStop()
* Fixed server: Dead-lock when calling kaiClose() in MCI_CLOSE of MCD
such as ksoftseq(#11)
* Fixed kai: A default audio is not detected correctly even if it changes.
(ksoftseq#12)
v2.2.0:
* Added a server mode
- now, audio devices can be shared among all the programs using
libkai v2.2.0+
- kaisrv.exe should be running
+ you can add RUN=x:\path\to\kaisrv.exe to your config.sys
+ use -q option to quit kaisrv.exe
- kaiMixer*() APIs do not share audio devices even in a server mode
- set KAI_NOSERVER to any value to disable a server mode
* Added kaiGetCardCount() to query the number of installed audio cards
* Added a device index support in soft mixer mode
* Added kaiCapsEx() to query the capability of the given device index
* Added KAI_MIXERRATE#, # is a device index, for a device-specific sampling
rate. For example, KAI_MIXERRATE3 is a sampling rate for the 3rd audio
device
* Added KAI_MINSAMPLES#, # is a device index, for device-specific minimum
samples. For example, KAI_MINSAMPLES3 is minimum samples for the 3rd
audio device
v2.1.0:
* Added actual support of multiple buffers more than 2
* Added KAI_TIMECRITICAL for playing thread boost
- default is to inherit a priority of a current tread
- if set to any value, a playing thread runs in a time critical priority
* Added kaiGetInitCount() to get initialization count of libkai
* Added KAI_MIXERRATE to override sampling rate of a default soft mixer
- default is 48000 Hz
- if using SB16, set KAI_MIXERRATE to 44100 Hz
* Added KAI_PLAYLATENCY to workaround the problem that trying to play
right after completed leads to pause on DART(#8) or silence on UNIAUD(#9)
- default is 100 ms
- If set to 0, workaround is disabled
* Improved compilation for Open Watcom. PR #4, #5, #6 from sezero
* Improved debug message
* Improved thread safety(#10)
* Fixed buffer-underrun at very initial time
v2.0.0:
* Added a soft mixer
- now use a soft mixer by default
- set KAI_NOSOFTMIXER to any value if you want to disable a soft mixer
by default
- added kaiMixer*() APIs
kaiMixerOpen(), kaiMixerClose(),
kaiMixerStreamOpen(), kaiMixerStreamClose(),
kaiEnableSoftMixer()
- a soft mixer should be opend in 16 bits stereo audio mode
- with a soft mixer, it's possible to play multiple instances
simultaneously
- number of instances is limited by RAM size and CPU power
- added KAI_RESAMPLEQ to set resampling quality
0 is lowest and 10 is highest quality.
default is 0
* Added KAI_MINSAMPLES to set minimum audio buffer size in samples
- default value is 2048
- if audio buffer is too small, sound is not played correctly
* Set DLL version to 1, that is, kai1.dll
* Fixed kaidemo3 repeats very first samples in DART mode
v1.3.1:
* Improved volume control
* Fixed freezing in dartClose() in multimedia sub-system
v1.3.0:
* Added kaiFloatToS16() API to convert float samples to s16 samples
v1.2.0:
* Added soft volume control support
- now use soft volume control by default
- set KAI_NOSOFTVOLUME to any value if you want to disable soft volume
control by default
- added kaiEnableSoftVolume() API
* Improved volume control on UNIAUD mode
* Now ignore KAISPEC.ulDataFormat field. It is always MCI_WAVE_FORMAT_PCM
* Device index is not consistent on UNIAUD mode. Fixed
- 0 = default, 1 = first, 2 = second, and so forth
v1.1.4:
* Introduced KAI_AUTOMODE to override kai mode if auto mode
- set KAI_AUTOMODE=UNIAUD if you want to open in uniaud mode
- set KAI_AUTOMODE=DART if you want to open in dart mode
* Allow multiple initialization
* Distribute a DLL, kai0.dll
v1.1.3:
* High-memory is not supported on uniaud mode. Fixed
v1.1.2:
* If uniaud.dll is present even though Uniaud driver is not loaded,
the crash occur in kaiUniaudInit() on a second call time. Fixed
v1.1.1:
* Undefine VERSION macro to avoid a name clash
V1.1.0:
* Try to improve the compatibility with LIBPATHSTRICT
( Thanks to Andy Willis )
* Support multiple instances
* dartPlay() checks whether instance is inactive before playing
* kaiInit() check a parameter validity
* Callback is called one more after EOS. Fixed
* dartGetVolume() returns a volume of both channel. Fixed
v1.0.1:
* Added KAI_VERSION macro
* Sometimes dead lock occur in dartStop(). Fixed
* If it takes too long time returning from callback, looping sounds can be
generated due to underrun. Fixed
Proposed directory
for placement: /pub/os2/dev/libraries/multimedia
Your name: KO Myung-Hun
Email address: [email protected]
Program contact name: (same)
Program contact email: (same)
Program URL: https://github.com/komh/kai
Would you like the
contact email address
included in listings? yes
Operating System/Version:
Additional requirements: LIBCn v0.1.12
Replaces: (none)