Changeset 35
- Timestamp:
- 03/07/07 13:51:05 (2 years ago)
- Files:
-
- trunk/AC3MovieImport/AC3MovieImport.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/AC3MovieImport/AC3MovieImport.c
r30 r35 48 48 49 49 #include "a52.h" 50 51 #define kTimeScale (48000)52 50 53 51 // Component globals … … 402 400 audioMedia = NewTrackMedia(audioTrack, // Specifies the track for this operation 403 401 SoundMediaType, // Type of media to create 404 kTimeScale, // Set the time scale, this defines the media's time coordinate system402 sample_rate, // Set the time scale, this defines the media's time coordinate system 405 403 dataRef, // Specifies the data reference 406 404 dataRefType); // Specifies the type of data reference … … 466 464 memset(&absd, 0, sizeof(absd)); 467 465 absd.mFormatID = kAudioFormatAC3; 468 absd.mSampleRate = 48000;466 absd.mSampleRate = sample_rate; 469 467 if(flags & A52_LFE) 470 468 channels++;
