3
Copyright (C) 2001 Martin Vogt
5
This program is free software; you can redistribute it and/or modify
6
it under the terms of the GNU Library General Public License as published by
7
the Free Software Foundation.
9
For more information look at the file COPYRIGHT in this package
27
const char* Frame::getMajorFrameName(int type) {
28
int majorID=type >> 12;
35
return "_FRAME_AUDIO";
37
return "_FRAME_VIDEO";
39
return "_FRAME_PAKET";
41
return "unknown major frameType";
43
return "never happens Frame::getMajorFrameName";
48
const char* Frame::getFrameName(int type) {
52
return "_FRAME_RAW_BASE";
54
return "_FRAME_RAW_OGG";
58
case _FRAME_AUDIO_BASE:
59
return "_FRAME_AUDIO_BASE";
60
case _FRAME_AUDIO_PCM:
61
return "_FRAME_AUDIO_PCM";
62
case _FRAME_AUDIO_FLOAT:
63
return "_FRAME_AUDIO_FLOAT";
69
return "cannot find name";
71
return "never happens Frame::getFrameName";