Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 100773
Collapse All | Expand All

(-)xmms-OpenSPC-0.0.3.orig/src/id666.c (+1 lines)
Lines 100-105 Link Here
100
					break;
100
					break;
101
101
102
			default:	/* Who knows. Ignore it. */
102
			default:	/* Who knows. Ignore it. */
103
					break;
103
		}
104
		}
104
	}
105
	}
105
	
106
	
(-)xmms-OpenSPC-0.0.3.orig/src/resample.c (-1 / +1 lines)
Lines 125-131 Link Here
125
}
125
}
126
126
127
127
128
int res_init(res_state *state, int channels, int outfreq, int infreq, res_parameter op1, ...)
128
int res_initialize(res_state *state, int channels, int outfreq, int infreq, res_parameter op1, ...)
129
{
129
{
130
	double beta = 16.0,
130
	double beta = 16.0,
131
		cutoff = 0.80,
131
		cutoff = 0.80,
(-)xmms-OpenSPC-0.0.3.orig/src/resample.h (-1 / +1 lines)
Lines 42-48 Link Here
42
	RES_BETA	/* (double)16.0 */
42
	RES_BETA	/* (double)16.0 */
43
} res_parameter;
43
} res_parameter;
44
44
45
int res_init(res_state *state, int channels, int outfreq, int infreq, res_parameter op1, ...);
45
int res_initialize(res_state *state, int channels, int outfreq, int infreq, res_parameter op1, ...);
46
/*
46
/*
47
 * Configure *state to manage a data stream with the specified parameters.  The
47
 * Configure *state to manage a data stream with the specified parameters.  The
48
 * string 'params' is currently unspecified, but will configure the parameters
48
 * string 'params' is currently unspecified, but will configure the parameters
(-)xmms-OpenSPC-0.0.3.orig/src/spc.c (-1 / +1 lines)
Lines 235-241 Link Here
235
	spc_ip.output->flush(0);
235
	spc_ip.output->flush(0);
236
236
237
	if (!OSPC_Init(spc_p->data, sizeof(spc_p->data)))
237
	if (!OSPC_Init(spc_p->data, sizeof(spc_p->data)))
238
	if (!res_init(&resampler, OSPC_CHANNELS, OUTPUT_FREQ, OSPC_FREQ, RES_END)) {
238
	if (!res_initialize(&resampler, OSPC_CHANNELS, OUTPUT_FREQ, OSPC_FREQ, RES_END)) {
239
	while (spc_p->going) {
239
	while (spc_p->going) {
240
		if (spc_p->seek_to != -1) {
240
		if (spc_p->seek_to != -1) {
241
			dist = (spc_p->seek_to * 32) - pos;
241
			dist = (spc_p->seek_to * 32) - pos;

Return to bug 100773