Music Hub  ..
A session-wide music playback service
core::ubuntu::media Namespace Reference

Namespaces

 apparmor
 
 audio
 
 Connection
 
 helper
 
 impl
 
 power
 
 telephony
 
 video
 

Classes

struct  AVBackend
 
struct  ClientDeathObserver
 
class  Engine
 
class  HashedKeyedPlayerStore
 
class  HybrisClientDeathObserver
 
class  HybrisRecorderObserver
 
class  KeyedPlayerStore
 
class  Logger
 
struct  NonCopyable
 
class  Player
 
class  PlayerImplementation
 
class  PlayerSkeleton
 
class  PlayerStub
 
class  Property
 
struct  RecorderObserver
 
class  Service
 
class  ServiceImplementation
 
class  ServiceSkeleton
 
class  ServiceStub
 
class  StubClientDeathObserver
 
class  StubRecorderObserver
 
class  timeout
 
class  Track
 
class  TrackList
 
class  TrackListImplementation
 
class  TrackListSkeleton
 
class  TrackListStub
 
class  UriCheck
 
struct  Utils
 

Typedefs

typedef std::function< std::string(const std::string &, const std::string &, const std::string &)> CoverArtResolver
 
typedef int64_t TimestampNs
 
typedef int64_t TimestampUs
 

Enumerations

enum  RecordingState {
  RecordingState::stopped,
  RecordingState::started
}
 

Functions

std::ostream & operator<< (std::ostream &out, Player::PlaybackStatus status)
 
std::ostream & operator<< (std::ostream &out, Player::LoopStatus loop_status)
 
std::ostream & operator<< (std::ostream &out, Player::Error e)
 
ClientDeathObserver::Ptr platform_default_client_death_observer ()
 
CoverArtResolver always_missing_cover_art_resolver ()
 
std::ostream & operator<< (std::ostream &strm, Logger::Severity severity)
 
std::ostream & operator<< (std::ostream &out, const Logger::Location &location)
 
LoggerLog ()
 
void SetLogger (const std::shared_ptr< Logger > &logger)
 
RecorderObserver::Ptr make_platform_default_recorder_observer ()
 
core::dbus::Bus::Ptr the_session_bus ()
 
std::ostream & operator<< (std::ostream &out, const core::ubuntu::media::TrackList &tracklist)
 

Typedef Documentation

◆ CoverArtResolver

typedef std::function< std::string ( const std::string&, const std::string&, const std::string& )> core::ubuntu::media::CoverArtResolver

Definition at line 41 of file cover_art_resolver.h.

◆ TimestampNs

Definition at line 31 of file utils.h.

◆ TimestampUs

Definition at line 32 of file utils.h.

Enumeration Type Documentation

◆ RecordingState

Enumerator
stopped 
started 

Definition at line 33 of file recorder_observer.h.

Function Documentation

◆ always_missing_cover_art_resolver()

core::ubuntu::media::CoverArtResolver core::ubuntu::media::always_missing_cover_art_resolver ( )

Copyright (C) 2013-2014 Canonical Ltd

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License version 3, as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Authored by: Thomas Voß thoma.nosp@m.s.vo.nosp@m.ss@ca.nosp@m.noni.nosp@m.cal.c.nosp@m.om

Definition at line 21 of file cover_art_resolver.cpp.

◆ Log()

◆ make_platform_default_recorder_observer()

media::RecorderObserver::Ptr core::ubuntu::media::make_platform_default_recorder_observer ( )

◆ operator<<() [1/6]

std::ostream & core::ubuntu::media::operator<< ( std::ostream &  out,
const core::ubuntu::media::TrackList tracklist 
)
inline

◆ operator<<() [2/6]

std::ostream & core::ubuntu::media::operator<< ( std::ostream &  strm,
Logger::Severity  severity 
)

Definition at line 135 of file logger.cpp.

◆ operator<<() [3/6]

std::ostream & core::ubuntu::media::operator<< ( std::ostream &  out,
const Logger::Location location 
)

◆ operator<<() [4/6]

std::ostream& core::ubuntu::media::operator<< ( std::ostream &  out,
Player::PlaybackStatus  status 
)
inline

◆ operator<<() [5/6]

std::ostream& core::ubuntu::media::operator<< ( std::ostream &  out,
Player::LoopStatus  loop_status 
)
inline

Definition at line 236 of file player.h.

◆ operator<<() [6/6]

std::ostream& core::ubuntu::media::operator<< ( std::ostream &  out,
Player::Error  e 
)
inline

Definition at line 251 of file player.h.

◆ platform_default_client_death_observer()

media::ClientDeathObserver::Ptr core::ubuntu::media::platform_default_client_death_observer ( )

◆ SetLogger()

void core::ubuntu::media::SetLogger ( const std::shared_ptr< Logger > &  logger)

Definition at line 155 of file logger.cpp.

Referenced by core::ubuntu::media::Logger::Fatalf().

◆ the_session_bus()

core::dbus::Bus::Ptr core::ubuntu::media::the_session_bus ( )