Documentation ¶
Index ¶
- Variables
- func HandleDispRemote(req *ipod.Command, tr ipod.CommandWriter, dev DeviceDispRemote) error
- type ACK
- type ACKStatus
- type ArtworkFormat
- type DeviceDispRemote
- type GetArtworkFormats
- type GetCurrentEQProfileIndex
- type GetIndexedEQProfileName
- type GetIndexedPlayingTrackInfo
- type GetNumEQProfiles
- type GetNumPlayingTracks
- type GetPlayStatus
- type GetPowerBatteryState
- type GetRemoteEventStatus
- type GetSoundCheckState
- type GetTrackArtworkData
- type GetTrackArtworkTimes
- type GetiPodStateInfo
- type InfoAudiobookSpeed
- type InfoBacklight
- type InfoChapterIndex
- type InfoDateTime
- type InfoEqualizer
- type InfoHoldSwitch
- type InfoPlayStatus
- type InfoPower
- type InfoRepeat
- type InfoShuffle
- type InfoSoundCheck
- type InfoTrackIndex
- type InfoTrackPositionMs
- type InfoTrackPositionSec
- type InfoType
- type InfoVolume
- type InfoVolume2
- type PlayStatusType
- type RemoteEventNotification
- type RetArtworkFormats
- type RetCurrentEQProfileIndex
- type RetIndexedEQProfileName
- type RetIndexedPlayingTrackInfo
- type RetNumEQProfiles
- type RetNumPlayingTracks
- type RetPlayStatus
- type RetPowerBatteryState
- type RetRemoteEventStatus
- type RetSoundCheckState
- type RetTrackArtworkData
- type RetTrackArtworkTimes
- type RetiPodStateInfo
- type SetCurrentEQProfileIndex
- type SetCurrentPlayingTrack
- type SetRemoteEventNotification
- type SetSoundCheckState
- type SetiPodStateInfo
- type TrackInfoAlbum
- type TrackInfoArtist
- type TrackInfoArtworkCount
- type TrackInfoCaps
- type TrackInfoChapterTimeName
- type TrackInfoComposer
- type TrackInfoGenre
- type TrackInfoLyrics
- type TrackInfoTrack
- type TrackInfoType
Constants ¶
This section is empty.
Variables ¶
View Source
var Lingos struct { ACK `id:"0x00"` GetCurrentEQProfileIndex `id:"0x01"` RetCurrentEQProfileIndex `id:"0x02"` SetCurrentEQProfileIndex `id:"0x03"` GetNumEQProfiles `id:"0x04"` RetNumEQProfiles `id:"0x05"` GetIndexedEQProfileName `id:"0x06"` RetIndexedEQProfileName `id:"0x07"` SetRemoteEventNotification `id:"0x08"` RemoteEventNotification `id:"0x09"` GetRemoteEventStatus `id:"0x0A"` RetRemoteEventStatus `id:"0x0B"` GetiPodStateInfo `id:"0x0C"` RetiPodStateInfo `id:"0x0D"` SetiPodStateInfo `id:"0x0E"` GetPlayStatus `id:"0x0F"` RetPlayStatus `id:"0x10"` SetCurrentPlayingTrack `id:"0x11"` GetIndexedPlayingTrackInfo `id:"0x12"` RetIndexedPlayingTrackInfo `id:"0x13"` GetNumPlayingTracks `id:"0x14"` RetNumPlayingTracks `id:"0x15"` GetArtworkFormats `id:"0x16"` RetArtworkFormats `id:"0x17"` GetTrackArtworkData `id:"0x18"` RetTrackArtworkData `id:"0x19"` GetPowerBatteryState `id:"0x1A"` RetPowerBatteryState `id:"0x1B"` GetSoundCheckState `id:"0x1C"` RetSoundCheckState `id:"0x1D"` SetSoundCheckState `id:"0x1E"` GetTrackArtworkTimes `id:"0x1F"` RetTrackArtworkTimes `id:"0x20"` }
Functions ¶
func HandleDispRemote ¶
func HandleDispRemote(req *ipod.Command, tr ipod.CommandWriter, dev DeviceDispRemote) error
Types ¶
type ArtworkFormat ¶
type DeviceDispRemote ¶
type DeviceDispRemote interface { }
type GetArtworkFormats ¶
type GetArtworkFormats struct { }
type GetCurrentEQProfileIndex ¶
type GetCurrentEQProfileIndex struct { }
type GetIndexedEQProfileName ¶
type GetIndexedEQProfileName struct {
EQProfileIndex uint32
}
type GetIndexedPlayingTrackInfo ¶
type GetIndexedPlayingTrackInfo struct { InfoType TrackInfoType TrackIndex uint32 ChapterIndex uint16 }
type GetNumEQProfiles ¶
type GetNumEQProfiles struct { }
type GetNumPlayingTracks ¶
type GetNumPlayingTracks struct { }
type GetPlayStatus ¶
type GetPlayStatus struct { }
type GetPowerBatteryState ¶
type GetPowerBatteryState struct { }
type GetRemoteEventStatus ¶
type GetRemoteEventStatus struct { }
type GetSoundCheckState ¶
type GetSoundCheckState struct { }
type GetTrackArtworkData ¶
type GetTrackArtworkTimes ¶
type GetiPodStateInfo ¶
type GetiPodStateInfo struct {
InfoType InfoType
}
type InfoAudiobookSpeed ¶
type InfoAudiobookSpeed struct {
PlaybackSpeed uint8
}
type InfoBacklight ¶
type InfoBacklight struct {
BacklightLevel uint8
}
type InfoChapterIndex ¶
type InfoDateTime ¶
type InfoEqualizer ¶
type InfoEqualizer struct {
EqIndex uint32
}
type InfoHoldSwitch ¶
type InfoHoldSwitch struct {
HoldSwitchState uint8
}
type InfoPlayStatus ¶
type InfoPlayStatus struct {
PlayStatus PlayStatusType
}
type InfoRepeat ¶
type InfoRepeat struct {
RepeatState uint8
}
type InfoShuffle ¶
type InfoShuffle struct {
ShuffleState uint8
}
type InfoSoundCheck ¶
type InfoSoundCheck struct {
SoundCheckState uint8
}
type InfoTrackIndex ¶
type InfoTrackIndex struct {
TrackIndex uint32
}
type InfoTrackPositionMs ¶
type InfoTrackPositionMs struct {
TrackPositionMs uint32
}
type InfoTrackPositionSec ¶
type InfoTrackPositionSec struct {
TrackPositionSec uint16
}
type InfoType ¶
type InfoType uint8
const ( InfoTypeTrackPositionMs InfoType = iota InfoTypeTrackIndex InfoTypeChapterIndex InfoTypePlayStatus InfoTypeVolume InfoTypePower InfoTypeEqualizer InfoTypeShuffle InfoTypeRepeat InfoTypeDateTime InfoTypeBacklight InfoTypeHoldSwitch InfoTypeSoundCheck InfoTypeAudiobookSpeed InfoTypeTrackPositionSec InfoTypeVolume2 )
type InfoVolume ¶
type InfoVolume2 ¶
type PlayStatusType ¶
type PlayStatusType uint8
const ( PlayStatusStopped PlayStatusType = iota PlayStatusPlaying PlayStatusPaused PlayStatusFF PlayStatusREW PlayStatusEndFFREW )
func (PlayStatusType) String ¶
func (i PlayStatusType) String() string
type RemoteEventNotification ¶
type RetArtworkFormats ¶
type RetArtworkFormats struct {
Formats []ArtworkFormat
}
type RetCurrentEQProfileIndex ¶
type RetCurrentEQProfileIndex struct {
CurrentEQIndex uint32
}
type RetIndexedEQProfileName ¶
type RetIndexedEQProfileName struct {
EQProfileName []byte
}
type RetIndexedPlayingTrackInfo ¶
type RetIndexedPlayingTrackInfo struct { InfoType TrackInfoType InfoData interface{} }
func (*RetIndexedPlayingTrackInfo) MarshalBinary ¶
func (t *RetIndexedPlayingTrackInfo) MarshalBinary() ([]byte, error)
func (*RetIndexedPlayingTrackInfo) UnmarshalBinary ¶
func (t *RetIndexedPlayingTrackInfo) UnmarshalBinary(data []byte) error
type RetNumEQProfiles ¶
type RetNumEQProfiles struct {
NumEQProfiles uint32
}
type RetNumPlayingTracks ¶
type RetNumPlayingTracks struct {
NumPlayTracks uint32
}
type RetPlayStatus ¶
type RetPowerBatteryState ¶
type RetRemoteEventStatus ¶
type RetRemoteEventStatus struct {
EventStatus uint32
}
type RetSoundCheckState ¶
type RetSoundCheckState struct {
Enabled bool
}
type RetTrackArtworkData ¶
type RetTrackArtworkData struct { }
type RetTrackArtworkTimes ¶
type RetTrackArtworkTimes struct {
TimeOffset []uint32
}
type RetiPodStateInfo ¶
type RetiPodStateInfo struct { InfoType InfoType InfoData interface{} }
func (*RetiPodStateInfo) MarshalBinary ¶
func (t *RetiPodStateInfo) MarshalBinary() ([]byte, error)
func (*RetiPodStateInfo) UnmarshalBinary ¶
func (t *RetiPodStateInfo) UnmarshalBinary(data []byte) error
type SetCurrentPlayingTrack ¶
type SetCurrentPlayingTrack struct {
TrackIndex uint32
}
type SetRemoteEventNotification ¶
type SetRemoteEventNotification struct {
EventMask uint32
}
type SetSoundCheckState ¶
type SetiPodStateInfo ¶
type TrackInfoAlbum ¶
type TrackInfoAlbum struct {
Name []byte
}
type TrackInfoArtist ¶
type TrackInfoArtist struct {
Name []byte
}
type TrackInfoArtworkCount ¶
type TrackInfoArtworkCount struct {
None byte // empty = 0x08
}
type TrackInfoCaps ¶
type TrackInfoComposer ¶
type TrackInfoComposer struct {
Name []byte
}
type TrackInfoGenre ¶
type TrackInfoGenre struct {
Name []byte
}
type TrackInfoLyrics ¶
type TrackInfoTrack ¶
type TrackInfoTrack struct {
Title []byte
}
type TrackInfoType ¶
type TrackInfoType uint8
const ( TrackInfoTypeCaps TrackInfoType = iota TrackInfoTypeChapterTimeName TrackInfoTypeArtist TrackInfoTypeAlbum TrackInfoTypeGenre TrackInfoTypeTrack TrackInfoTypeComposer TrackInfoTypeLyrics TrackInfoTypeArtworkCount )
func (TrackInfoType) String ¶
func (i TrackInfoType) String() string
Click to show internal directories.
Click to hide internal directories.