bsnes/nall - nothing to see here
This commit is contained in:
parent
4aa0813795
commit
23dc607a1a
|
@ -50,7 +50,7 @@ void ResampleAverage::sample() {
|
||||||
|
|
||||||
void ResampleAverage::sampleLinear() {
|
void ResampleAverage::sampleLinear() {
|
||||||
while(fraction <= 1.0) {
|
while(fraction <= 1.0) {
|
||||||
real channel = alloca(dsp.settings.channels * sizeof(real));
|
real *channel = (real*)alloca(dsp.settings.channels * sizeof(real));
|
||||||
|
|
||||||
for(unsigned n = 0; n < dsp.settings.channels; n++) {
|
for(unsigned n = 0; n < dsp.settings.channels; n++) {
|
||||||
real a = dsp.buffer.read(n, -1);
|
real a = dsp.buffer.read(n, -1);
|
||||||
|
|
|
@ -21,7 +21,7 @@ void ResampleCosine::clear() {
|
||||||
|
|
||||||
void ResampleCosine::sample() {
|
void ResampleCosine::sample() {
|
||||||
while(fraction <= 1.0) {
|
while(fraction <= 1.0) {
|
||||||
real channel = alloca(dsp.settings.channels * sizeof(real));
|
real *channel = (real*)alloca(dsp.settings.channels * sizeof(real));
|
||||||
|
|
||||||
|
|
||||||
for(unsigned n = 0; n < dsp.settings.channels; n++) {
|
for(unsigned n = 0; n < dsp.settings.channels; n++) {
|
||||||
|
|
|
@ -21,7 +21,7 @@ void ResampleCubic::clear() {
|
||||||
|
|
||||||
void ResampleCubic::sample() {
|
void ResampleCubic::sample() {
|
||||||
while(fraction <= 1.0) {
|
while(fraction <= 1.0) {
|
||||||
real channel = alloca(dsp.settings.channels * sizeof(real));
|
real *channel = (real*)alloca(dsp.settings.channels * sizeof(real));
|
||||||
|
|
||||||
for(unsigned n = 0; n < dsp.settings.channels; n++) {
|
for(unsigned n = 0; n < dsp.settings.channels; n++) {
|
||||||
real a = dsp.buffer.read(n, -3);
|
real a = dsp.buffer.read(n, -3);
|
||||||
|
|
|
@ -21,7 +21,7 @@ void ResampleHermite::clear() {
|
||||||
|
|
||||||
void ResampleHermite::sample() {
|
void ResampleHermite::sample() {
|
||||||
while(fraction <= 1.0) {
|
while(fraction <= 1.0) {
|
||||||
real channel = alloca(dsp.settings.channels * sizeof(real));
|
real *channel = (real*)alloca(dsp.settings.channels * sizeof(real));
|
||||||
|
|
||||||
for(unsigned n = 0; n < dsp.settings.channels; n++) {
|
for(unsigned n = 0; n < dsp.settings.channels; n++) {
|
||||||
real a = dsp.buffer.read(n, -3);
|
real a = dsp.buffer.read(n, -3);
|
||||||
|
|
|
@ -21,7 +21,7 @@ void ResampleLinear::clear() {
|
||||||
|
|
||||||
void ResampleLinear::sample() {
|
void ResampleLinear::sample() {
|
||||||
while(fraction <= 1.0) {
|
while(fraction <= 1.0) {
|
||||||
real channel = alloca(dsp.settings.channels * sizeof(real));
|
real *channel = (real*)alloca(dsp.settings.channels * sizeof(real));
|
||||||
|
|
||||||
for(unsigned n = 0; n < dsp.settings.channels; n++) {
|
for(unsigned n = 0; n < dsp.settings.channels; n++) {
|
||||||
real a = dsp.buffer.read(n, -1);
|
real a = dsp.buffer.read(n, -1);
|
||||||
|
|
|
@ -21,7 +21,7 @@ void ResampleNearest::clear() {
|
||||||
|
|
||||||
void ResampleNearest::sample() {
|
void ResampleNearest::sample() {
|
||||||
while(fraction <= 1.0) {
|
while(fraction <= 1.0) {
|
||||||
real channel = alloca(dsp.settings.channels * sizeof(real));
|
real *channel = (real*)alloca(dsp.settings.channels * sizeof(real));
|
||||||
|
|
||||||
for(unsigned n = 0; n < dsp.settings.channels; n++) {
|
for(unsigned n = 0; n < dsp.settings.channels; n++) {
|
||||||
real a = dsp.buffer.read(n, -1);
|
real a = dsp.buffer.read(n, -1);
|
||||||
|
|
Loading…
Reference in New Issue