yay for speex
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6269 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
89ea295e8e
commit
9b57d8a926
@ -75,7 +75,7 @@ speex_decoded_media_format()
|
||||
|
||||
|
||||
/*
|
||||
* VorbisDecoder
|
||||
* SpeexDecoder
|
||||
*/
|
||||
|
||||
|
||||
@ -115,7 +115,7 @@ status_t
|
||||
SpeexDecoder::Setup(media_format *inputFormat,
|
||||
const void *infoBuffer, int32 infoSize)
|
||||
{
|
||||
TRACE("VorbisDecoder::Setup\n");
|
||||
TRACE("SpeexDecoder::Setup\n");
|
||||
if (!format_is_compatible(speex_encoded_media_format(),*inputFormat)) {
|
||||
return B_MEDIA_BAD_FORMAT;
|
||||
}
|
||||
@ -275,8 +275,8 @@ SpeexDecoder::Seek(uint32 seekTo,
|
||||
bigtime_t seekTime, bigtime_t *time)
|
||||
{
|
||||
TRACE("SpeexDecoder::Seek\n");
|
||||
// int ignore = 0;
|
||||
// speex_decoder_ctl(fDecoderState, SPEEX_RESET_STATE, &ignore);
|
||||
int ignore = 0;
|
||||
speex_decoder_ctl(fDecoderState, SPEEX_RESET_STATE, &ignore);
|
||||
return B_OK;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user