Changeset 419 for code/branches/FICN/src/audio/AudioStream.cc
- Timestamp:
- Dec 5, 2007, 7:28:46 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/audio/AudioStream.cc
r411 r419 4 4 namespace audio 5 5 { 6 void AudioStream::open(st ring path)6 void AudioStream::open(std::string path) 7 7 { 8 8 int result; … … 61 61 void AudioStream::display() 62 62 { 63 cout63 std::cout 64 64 << "version " << vorbisInfo->version << "\n" 65 65 << "channels " << vorbisInfo->channels << "\n" … … 73 73 74 74 for(int i = 0; i < vorbisComment->comments; i++) 75 cout << " " << vorbisComment->user_comments[i] << "\n";76 77 cout <<endl;75 std::cout << " " << vorbisComment->user_comments[i] << "\n"; 76 77 std::cout << std::endl; 78 78 } 79 79 … … 212 212 return std::string("Invalid Vorbis header."); 213 213 case OV_EFAULT: 214 return st ring("Internal logic fault (bug or heap/stack corruption.");214 return std::string("Internal logic fault (bug or heap/stack corruption."); 215 215 default: 216 216 return std::string("Unknown Ogg error."); … … 218 218 } 219 219 } 220
Note: See TracChangeset
for help on using the changeset viewer.