Mercurial > otakunoraifu
comparison music2/wavfile.cc @ 48:ed6c21dde840
* use correct format (%p) for pointers
author | thib |
---|---|
date | Wed, 15 Apr 2009 20:28:19 +0000 |
parents | 5f548e5957a8 |
children | 15a18fbe6f21 |
comparison
equal
deleted
inserted
replaced
47:5f548e5957a8 | 48:ed6c21dde840 |
---|---|
748 }; | 748 }; |
749 | 749 |
750 MP3FILE_impl::MP3FILE_impl(FILE* _stream) { | 750 MP3FILE_impl::MP3FILE_impl(FILE* _stream) { |
751 stream = _stream; | 751 stream = _stream; |
752 info = SMPEG_new_descr(fileno(stream), NULL, 0); | 752 info = SMPEG_new_descr(fileno(stream), NULL, 0); |
753 fprintf(stderr,"mp3 %x\n",info); | 753 fprintf(stderr,"mp3 %p\n",info); |
754 if (info && SMPEG_error(info) ) info = 0; | 754 if (info && SMPEG_error(info) ) info = 0; |
755 SMPEG_enableaudio(info, 0); | 755 SMPEG_enableaudio(info, 0); |
756 SMPEG_enableaudio(info, 1); | 756 SMPEG_enableaudio(info, 1); |
757 SMPEG_play(info); | 757 SMPEG_play(info); |
758 } | 758 } |