|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AudioResource
Interface implemented by subclasses of ContentResource to identify that a content contains audio.
| Field Summary |
|---|
| Fields inherited from interface org.ocap.hn.content.ContentResource |
|---|
UNKNOWN_MIME_TYPE |
| Method Summary | |
|---|---|
int |
getBitsPerSample()
Returns the number of bits per sample or -1 if not known. |
String[] |
getLanguages()
Returns an array of languages associated with this audio content or a zero length array if not known. |
int |
getNumberOfChannels()
Returns the number of audio channels, for example, 1 for mono, 2 for stereo, 6 for DTS 5.1 and 7 for DTS 6.1 |
int |
getSampleFrequency()
Returns the sample frequency in Hz of this audio content or -1 if not known. |
| Methods inherited from interface org.ocap.hn.content.ContentResource |
|---|
delete, getContentFormat, getContentItem, getContentSize, getCreationDate, getExtendedFileAccessPermissions, getLocator, getNetwork, getProtocol, getResourceProperty, isRenderable |
| Method Detail |
|---|
int getSampleFrequency()
int getNumberOfChannels()
int getBitsPerSample()
String[] getLanguages()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||