~mixxxdevelopers/mixxx/features_multi-track

« back to all changes in this revision

Viewing changes to mixxx/src/soundsourcesndfile.cpp

  • Committer: Raffitea
  • Date: 2012-01-08 22:00:08 UTC
  • mfrom: (2837.3.15 mixxx-1.10)
  • Revision ID: raffitea-20120108220008-kjlduz99xdl84u4q
Merging from 1.10 to get SSMP3 fix.

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
 
75
75
    channels = info->channels;
76
76
 
77
 
    filelength = channels*info->frames; // File length with two interleaved channels
 
77
    // This is the 'virtual' filelength. No matter how many channels the file
 
78
    // actually has, we pretend it has 2.
 
79
    filelength = 2*info->frames; // File length with two interleaved channels
78
80
    m_iSampleRate =  info->samplerate;
79
81
    m_bOpened = true;
80
82
    return OK;