ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/DecentralizedMedia/BeepRemote.cpp
Revision: 560
Committed: 2005-08-27T17:38:18-07:00 (19 years, 9 months ago) by douglas
File size: 488 byte(s)
Log Message:
Hmm, no worky yet.

File Contents

# Content
1 // Beep Remote
2 //
3 // Douglas Thrift
4 //
5 // $Id$
6
7 #include <cxx/standard.hh>
8
9 #include "BeepRemote.hpp"
10
11 template <>
12 void BeepRemote::PlaylistAdd(const cse::String& item)
13 {
14 ::GList list = { const_cast<char*>(item.NullTerminate()), NULL, NULL };
15
16 ::xmms_remote_playlist_add(session, &list);
17 }
18
19 void BeepRemote::GetEqualizer(float& preamp, float bands[10]) const
20 {
21 float* bands_;
22
23 ::xmms_remote_get_eq(session, &preamp, &bands_);
24 ext::CopyAssign(bands, bands_, 10);
25 ::g_free(bands_);
26 }

Properties

Name Value
svn:eol-style native
svn:keywords Id