Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/gc_sound/ChangeLog
blob: d2f9a76ee17cb8afb7eb970696ede2990537111e (plain)
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
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
2006-12-15  Yves Combe <yves@ycombe.net>

	gc_sound_append_child now accepts varargs for item properties.
	add destroy_after_play property to play and destroy and item.
	fix GcSoundPOlicy names (NONE -> POLICY_NONE)
		
	* configure.in_ALONE:
	* python/Makefile.am:
	* python/demo.py:
	* python/gc_sound.defs:
	* python/gc_sound.override:
	* src/Makefile.am:
	* src/gc-sound-channel.c: (gc_sound_channel_play),
	(root_destroyed):
	* src/gc-sound-channel.h:
	* src/gc-sound-item.c: (gc_sound_item_append_child),
	(gc_sound_item_signal_play_end), (gc_sound_item_init),
	(gc_sound_item_get_property), (gc_sound_item_set_property),
	(gc_sound_item_class_init):
	* src/gc-sound-item.h:
	* src/gc-sound-mixer-SDL.c: (gc_sound_mixer_sdl_destroy):
	* src/test_gc_sound.c: (main):

2006-12-12  Yves Combe <yves@ycombe.net>

	add demo.py little python demo.
	add g_object_ref in mixer_sdl_new (fix bug in destroy).
	get filename returns a copy of the string, not the pointer itself.
	reset channel number when a channel is destroyed.

	* python/demo.py:
	* python/gc_sound.override:
	* src/gc-sound-item.c: (gc_sound_item_set_filename),
	(gc_sound_item_get_filename), (gc_sound_item_class_init):
	* src/gc-sound-mixer-SDL.c:
	(gc_sound_mixer_sdl_open_audio), (reset_channel_number),
	(channel_destroyed), (gc_sound_mixer_sdl_init),
	(gc_sound_mixer_sdl_finalize), (gc_sound_mixer_sdl_destroy):
	* src/gc-sound-object.c:
	* src/test_gc_sound.c: (main):

2006-12-10  Yves Combe <yves@ycombe.net>

	fix errors in destroy (destroy loop).

	* src/gc-sound-channel.c: (root_destroyed),
	(gc_sound_channel_destroy), (gc_sound_channel_class_init):
	* src/gc-sound-channel.h:
	* src/gc-sound-mixer-SDL.c: (gc_sound_mixer_sdl_finalize),
	(gc_sound_mixer_sdl_destroy), (gc_sound_mixer_sdl_class_init):
	* src/gc-sound-mixer-SDL.h:
	* src/gc-sound-object.c: (gc_sound_object_class_init),
	(gc_sound_object_dispose), (parent_destroyed):
	* src/test_gc_sound.c: (main):

2006-12-09  Yves Combe <yves@ycombe.net>

	Python bindings:
	- change names from GCSound to GcSound, and names in SoundPolicy enum
	  (uses h2py and glib-mkenums)
	- add bindings for python.

	* INSTALL:
	* Makefile.am:
	* aclocal.m4:
	* compile:
	* configure.in:
	* depcomp:
	* install-sh:
	* missing:
	* python/Makefile.am:
	* python/gc_sound.defs:
	* python/gc_sound.override:
	* python/gc_sound_module.c: (initgc_sound):
	* src/Makefile.am:
	* src/gc-sound-channel.c: (gc_sound_channel_play_item),
	(gc_sound_channel_get_root), (gc_sound_channel_pause),
	(gc_sound_channel_resume), (gc_sound_channel_halt),
	(gc_sound_channel_get_policy), (gc_sound_channel_set_policy),
	(gc_sound_channel_play), (root_destroyed),
	(gc_sound_channel_destroy), (gc_sound_channel_init),
	(gc_sound_channel_get_property), (gc_sound_channel_set_property),
	(gc_sound_channel_signal_chunk_end), (gc_sound_channel_signal_run),
	(gc_sound_channel_class_init):
	* src/gc-sound-channel.h:
	* src/gc-sound-item.c: (gc_sound_item_run_next),
	(gc_sound_item_set_loop), (gc_sound_item_get_policy),
	(gc_sound_item_set_policy), (gc_sound_item_child_start),
	(gc_sound_item_child_end), (gc_sound_item_child_destroyed),
	(gc_sound_item_append_child), (gc_sound_item_play),
	(gc_sound_item_set_filename), (gc_sound_item_get_filename),
	(gc_sound_item_signal_real_play), (gc_sound_item_signal_play_end),
	(gc_sound_item_signal_play_start),
	(gc_sound_item_signal_chunk_end),
	(gc_sound_item_signal_chunk_start), (gc_sound_item_init),
	(gc_sound_item_get_property), (gc_sound_item_set_property),
	(gc_sound_item_class_init)	* src/gc-sound-item.h:
	* src/gc-sound-mixer-SDL.c: (gc_sound_mixer_sdl_new),
	(gc_sound_mixer_sdl_open_audio), (gc_sound_mixer_sdl_close_audio),
	(reset_channel_number), (channel_destroyed),
	(gc_sound_mixer_sdl_new_channel), (gc_sound_mixer_sdl_pause),
	(gc_sound_mixer_sdl_resume), (gc_sound_mixer_sdl_halt),
	(gc_sound_mixer_sdl_pause_channel),
	(gc_sound_mixer_sdl_resume_channel),
	(gc_sound_mixer_sdl_halt_channel), (gc_sound_mixer_sdl_play_item),
	(channel_finished_cb), (gc_sound_mixer_sdl_channel_finished),
	(gc_sound_mixer_sdl_init), (gc_sound_mixer_sdl_finalize),
	(gc_sound_mixer_sdl_destroy), (gc_sound_mixer_sdl_get_property),
	(gc_sound_mixer_sdl_set_property), (gc_sound_mixer_sdl_class_init),
	(gc_init_sound_mixer):
	* src/gc-sound-mixer-SDL.h:
	* src/gc-sound-mixer-private.h:
	* src/gc-sound-mixer.c: (gc_sound_mixer_open_audio),
	(gc_sound_mixer_close_audio), (gc_sound_mixer_new_channel),
	(gc_sound_mixer_pause), (gc_sound_mixer_resume),
	(gc_sound_mixer_halt), (gc_sound_mixer_pause_channel),
	(gc_sound_mixer_resume_channel), (gc_sound_mixer_halt_channel),
	(gc_sound_mixer_play_item), (gc_sound_mixer_get_type):
	* src/gc-sound-mixer.h:
	* src/gc-sound-object.c: (gc_sound_object_get_type),
	(gc_sound_object_base_class_init),
	(gc_sound_object_base_class_finalize),
	(gc_sound_object_class_init), (gc_sound_object_init),
	(gc_sound_object_destroy), (gc_sound_object_dispose),
	(gc_sound_object_real_destroy), (gc_sound_object_finalize),
	(parent_destroyed):
	* src/gc-sound-object.h:
	* src/gc-sound.h:
	* src/test_gc_sound.c: (finish), (start), (main):

2006-12-08  Yves Combe <yves@ycombe.net>

	Work on destroy recursive on mixer-SDL/channel/item
	TODO: 
	-  fix if channel is destroyed before mixer, 
	   an error occurs when mixer is destroyed?
	- python bindings
	
	* src/gc-sound-channel.c: (gc_sound_channel_play_item),
	(gc_sound_channel_pause), (gc_sound_channel_resume),
	(gc_sound_channel_halt), (gc_sound_channel_play), (root_destroyed),
	(gc_sound_channel_destroy), (gc_sound_channel_init),
	(gc_sound_channel_get_property), (gc_sound_channel_set_property),
	(gc_sound_channel_signal_chunk_end), (gc_sound_channel_signal_run),
	(gc_sound_channel_class_init):
	* src/gc-sound-channel.h:
	* src/gc-sound-item.c: (gc_sound_item_run_next),
	(gc_sound_item_child_destroyed), (gc_sound_item_append_child),
	(gc_sound_item_signal_real_play), (gc_sound_item_signal_play_end),
	(gc_sound_item_signal_play_start),
	(gc_sound_item_signal_chunk_end),
	(gc_sound_item_signal_chunk_start), (gc_sound_item_init),
	(gc_sound_item_get_property), (gc_sound_item_set_property),
	(gc_sound_item_class_init):
	* src/gc-sound-item.h:
	* src/gc-sound-mixer-SDL.c: (gc_sound_mixer_SDL_open_audio),
	(reset_channel_number), (channel_destroyed),
	(gc_sound_mixer_SDL_new_channel),
	(gc_sound_mixer_SDL_pause_channel),
	(gc_sound_mixer_SDL_resume_channel),
	(gc_sound_mixer_SDL_halt_channel), (gc_sound_mixer_SDL_play_item),
	(channel_finished_cb), (gc_sound_mixer_SDL_channel_finished),
	(gc_sound_mixer_SDL_init), (gc_sound_mixer_SDL_finalize),
	(gc_sound_mixer_SDL_destroy), (gc_sound_mixer_SDL_class_init),
	(gc_init_sound_mixer):
	* src/gc-sound-mixer-SDL.h:
	* src/gc-sound-object.c: (gc_sound_object_class_init),
	(gc_sound_object_init), (gc_sound_object_destroy),
	(parent_destroyed), (gc_sound_object_set_property),
	(gc_sound_object_get_property):
	* src/gc-sound-object.h:
	* src/test_gc_sound.c: (finish), (start), (main):

2006-12-01  Yves Combe <yves@ycombe.net>

	Add GCSoundObject to have a base class with destroy signal/functions.
	Idea (and some code) from GtkObject.
	GCSOundMixerSDL, GCSoundChannel and GCSoundItem now use it.

	* src/Makefile.am:
	* src/gc-sound-channel.h:
	* src/gc-sound-item.h:
	* src/gc-sound-mixer-SDL.c: (gc_sound_mixer_SDL_init),
	(gc_init_sound_mixer):
	* src/gc-sound-mixer-SDL.h:
	* src/gc-sound-object.c: (gc_sound_object_get_type),
	(gc_sound_object_base_class_init),
	(gc_sound_object_base_class_finalize),
	(gc_sound_object_class_init), (gc_sound_object_init),
	(gc_sound_object_destroy), (gc_sound_object_dispose),
	(gc_sound_object_real_destroy), (gc_sound_object_finalize),
	(gc_sound_object_set_property), (gc_sound_object_get_property):
	* src/gc-sound-object.h:

2006-11-29  Yves Combe <yves@ycombe.net>

	Rewrite gc_sound without gob (in C).
	Architecture change:
	- GCSoundMixer is an interface. GCSoundMixerSDL just implement it. 
	That to allow change libsdl dependencie to gstreamer when needed.
	- GCSoundChannel and GCSoundItem just uses GCSoundMixer interface to run.

	TODO:
	- object_ref is not correct.
	- python binding.
	- add a record capability in interface (for now SDL_mixer can not do it).
	- future way. add a gstreamer implementation of interface.	
	
	* aclocal.m4:
	* configure.in:
	* src/Makefile.am:
	* src/gc-sound-channel.c: (gc_sound_channel_play_item),
	(gc_sound_channel_get_root), (gc_sound_channel_pause),
	(gc_sound_channel_resume), (gc_sound_channel_halt),
	(gc_sound_channel_get_policy), (gc_sound_channel_set_policy),
	(gc_sound_channel_play), (gc_sound_channel_init),
	(gc_sound_channel_get_property), (gc_sound_channel_set_property),
	(gc_sound_channel_signal_chunk_end), (gc_sound_channel_signal_run),
	(gc_sound_channel_class_init):
	* src/gc-sound-channel.gob:
	* src/gc-sound-channel.h:
	* src/gc-sound-item.c: (gc_sound_item_run_next),
	(gc_sound_item_set_loop), (gc_sound_item_get_policy),
	(gc_sound_item_set_policy), (gc_sound_item_child_start),
	(gc_sound_item_child_end), (gc_sound_item_append_child),
	(gc_sound_item_play), (gc_sound_item_set_filename),
	(gc_sound_item_get_filename), (gc_sound_item_signal_real_play),
	(gc_sound_item_signal_play_end), (gc_sound_item_signal_play_start),
	(gc_sound_item_signal_chunk_end),
	(gc_sound_item_signal_chunk_start), (gc_sound_item_init),
	(gc_sound_item_get_property), (gc_sound_item_set_property),
	(gc_sound_item_class_init):
	* src/gc-sound-item.gob:
	* src/gc-sound-item.h:
	* src/gc-sound-marshallers.c:
	* src/gc-sound-marshallers.h:
	* src/gc-sound-mixer-SDL.c: (gc_sound_mixer_SDL_new),
	(gc_sound_mixer_SDL_open_audio), (gc_sound_mixer_SDL_close_audio),
	(gc_sound_mixer_SDL_new_channel), (gc_sound_mixer_SDL_pause),
	(gc_sound_mixer_SDL_resume), (gc_sound_mixer_SDL_halt),
	(gc_sound_mixer_SDL_pause_channel),
	(gc_sound_mixer_SDL_resume_channel),
	(gc_sound_mixer_SDL_halt_channel), (gc_sound_mixer_SDL_play_item),
	(channel_finished_cb), (gc_sound_mixer_SDL_channel_finished),
	(gc_sound_mixer_SDL_init), (gc_sound_mixer_SDL_finalize),
	(gc_sound_mixer_SDL_get_property),
	(gc_sound_mixer_SDL_set_property), (gc_sound_mixer_SDL_class_init),
	(gc_init_sound_mixer):
	* src/gc-sound-mixer-SDL.h:
	* src/gc-sound-mixer-private.h:
	* src/gc-sound-mixer.c: (gc_sound_mixer_open_audio),
	(gc_sound_mixer_close_audio), (gc_sound_mixer_new_channel),
	(gc_sound_mixer_pause), (gc_sound_mixer_resume),
	(gc_sound_mixer_halt), (gc_sound_mixer_pause_channel),
	(gc_sound_mixer_resume_channel), (gc_sound_mixer_halt_channel),
	(gc_sound_mixer_play_item), (gc_sound_mixer_get_type),
	(_gc_sound_mixer_install_property), (gc_sound_mixer_iface_init):
	* src/gc-sound-mixer.gob:
	* src/gc-sound-mixer.h:
	* src/gc-sound.h:
	* src/marshallers.list:
	* src/test_gc_sound.c: (main):

2006-11-16  Yves Combe <yves@ycombe.net>

	Added sound policy (play only if iddle, after current, or interrupt and play).
        Seems works !

	* src/gc-sound-channel.gob:
	* src/gc-sound-item.gob:
	* src/gc-sound-mixer.gob:
	* src/test_gc_sound.c: (finish), (main):

2006-11-15  Yves Combe <yves@ycombe.net>

	Play loop of items/group.
	Mute items/groups.

	* src/gc-sound-channel.gob:
	* src/gc-sound-item.gob:
	* src/test_gc_sound.c: (main):

2006-11-14  Yves Combe <yves@ycombe.net>

	Play music with groups of sound items.

	* src/gc-sound-channel.gob:
	* src/gc-sound-item.gob:
	* src/gc-sound-mixer.gob:
	* src/test_gc_sound.c: (finish), (start), (main):

2006-11-14  Yves Combe <yves@ycombe.net>

	initial import of gc_sound objects library. Works, without grouping.

	* COPYING:
	* INSTALL:
	* Makefile.am:
	* aclocal.m4:
	* compile:
	* config.guess:
	* config.sub:
	* configure.in:
	* install-sh:
	* ltmain.sh:
	* missing:
	* src/Makefile.am:
	* src/gc-sound-channel.gob:
	* src/gc-sound-item.gob:
	* src/gc-sound-mixer.gob:
	* src/gc-sound.h:
	* src/test_gc_sound.c: (finish), (main):