Mercurial > hg > dmlib
comparison minijss/jssmix.h @ 1269:4b22da2a309f
Comments, cleanups.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 03 Jun 2015 16:17:04 +0300 |
parents | aa3738b121d1 |
children | d6b9410f1b1b |
comparison
equal
deleted
inserted
replaced
1268:6fc71b410cc3 | 1269:4b22da2a309f |
---|---|
40 chPanning, // Panning | 40 chPanning, // Panning |
41 chDeltaP; | 41 chDeltaP; |
42 int chVolumeD, | 42 int chVolumeD, |
43 chPanningD; | 43 chPanningD; |
44 | 44 |
45 int chFreq; // Frequency of sampel in Hz | 45 int chFreq; // Frequency of sample in Hz |
46 | 46 |
47 void *chData; // Pointer to data | 47 void *chData; // Pointer to data |
48 | 48 |
49 BOOL chPlaying, // TRUE = playing | 49 BOOL chPlaying, // TRUE = playing |
50 chMute, // TRUE = muted | 50 chMute, // TRUE = muted |
63 // Virtual software mixer "device" structure | 63 // Virtual software mixer "device" structure |
64 typedef struct _JSSMixer JSSMixer; | 64 typedef struct _JSSMixer JSSMixer; |
65 | 65 |
66 struct _JSSMixer | 66 struct _JSSMixer |
67 { | 67 { |
68 int outFormat, | 68 int outFormat, // Output format (see JSS_AUDIO_* in jss.h) |
69 outChannels, | 69 outChannels, // Number of output channels |
70 outFreq, | 70 outFreq, // Real output frequency |
71 globalVol; | 71 globalVol; |
72 | |
72 JSSChannel channels[jsetNChannels]; | 73 JSSChannel channels[jsetNChannels]; |
73 | 74 |
74 int addBufSize; | 75 int addBufSize; |
75 JMIXER_ADDBUF_TYPE *addBuffer; | 76 JMIXER_ADDBUF_TYPE *addBuffer; |
76 | 77 |