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