SoundRecorder : Several style "fixup". No functional change.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33077 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Philippe Saint-Pierre
2009-09-12 05:19:52 +00:00
parent 0da53e3dd0
commit 8e32a27e6f
2 changed files with 14 additions and 1 deletions
+11 -1
View File
@@ -135,6 +135,7 @@ RecorderWindow::RecorderWindow() :
Show(); Show();
} }
RecorderWindow::~RecorderWindow() RecorderWindow::~RecorderWindow()
{ {
// The sound consumer and producer are Nodes; it has to be released and the Roster // The sound consumer and producer are Nodes; it has to be released and the Roster
@@ -673,6 +674,7 @@ RecorderWindow::Record(BMessage * message)
} }
} }
void void
RecorderWindow::Play(BMessage * message) RecorderWindow::Play(BMessage * message)
{ {
@@ -714,6 +716,7 @@ RecorderWindow::Play(BMessage * message)
fPlayer->SetHasData(true); fPlayer->SetHasData(true);
} }
void void
RecorderWindow::Stop(BMessage * message) RecorderWindow::Stop(BMessage * message)
{ {
@@ -724,6 +727,7 @@ RecorderWindow::Stop(BMessage * message)
StopPlaying(); StopPlaying();
} }
void void
RecorderWindow::Save(BMessage * message) RecorderWindow::Save(BMessage * message)
{ {
@@ -749,6 +753,7 @@ RecorderWindow::Save(BMessage * message)
fSavePanel->Show(); fSavePanel->Show();
} }
void void
RecorderWindow::DoSave(BMessage * message) RecorderWindow::DoSave(BMessage * message)
{ {
@@ -814,6 +819,7 @@ RecorderWindow::Input(BMessage * message)
} }
} }
void void
RecorderWindow::Selected(BMessage * message) RecorderWindow::Selected(BMessage * message)
{ {
@@ -831,6 +837,7 @@ RecorderWindow::Selected(BMessage * message)
UpdateButtons(); UpdateButtons();
} }
status_t status_t
RecorderWindow::MakeRecordConnection(const media_node & input) RecorderWindow::MakeRecordConnection(const media_node & input)
{ {
@@ -940,6 +947,7 @@ RecorderWindow::BreakRecordConnection()
return err; return err;
} }
status_t status_t
RecorderWindow::StopRecording() RecorderWindow::StopRecording()
{ {
@@ -1032,6 +1040,7 @@ RecorderWindow::UpdateButtons()
extern "C" status_t DecodedFormat__11BMediaTrackP12media_format(BMediaTrack *self, media_format *inout_format); extern "C" status_t DecodedFormat__11BMediaTrackP12media_format(BMediaTrack *self, media_format *inout_format);
#endif #endif
status_t status_t
RecorderWindow::UpdatePlayFile(SoundListItem* item, bool updateDisplay) RecorderWindow::UpdatePlayFile(SoundListItem* item, bool updateDisplay)
{ {
@@ -1059,7 +1068,7 @@ RecorderWindow::UpdatePlayFile(SoundListItem* item, bool updateDisplay)
return err; return err;
} }
for (int ix=0; ix<fPlayFile->CountTracks(); ix++) { for (int ix=0; ix < fPlayFile->CountTracks(); ix++) {
BMediaTrack * track = fPlayFile->TrackAt(ix); BMediaTrack * track = fPlayFile->TrackAt(ix);
fPlayFormat.type = B_MEDIA_RAW_AUDIO; fPlayFormat.type = B_MEDIA_RAW_AUDIO;
#ifdef __HAIKU__ #ifdef __HAIKU__
@@ -1250,6 +1259,7 @@ RecorderWindow::PlayFile(void * cookie, void * data, size_t size,
} }
} }
void void
RecorderWindow::NotifyPlayFile(void * cookie, RecorderWindow::NotifyPlayFile(void * cookie,
BSoundPlayer::sound_player_notification code, ...) BSoundPlayer::sound_player_notification code, ...)
+3
View File
@@ -17,10 +17,12 @@ SoundListView::SoundListView(
{ {
} }
SoundListView::~SoundListView() SoundListView::~SoundListView()
{ {
} }
void void
SoundListView::Draw(BRect updateRect) SoundListView::Draw(BRect updateRect)
{ {
@@ -65,6 +67,7 @@ SoundListItem::SoundListItem(
SetText(name); SetText(name);
} }
SoundListItem::~SoundListItem() SoundListItem::~SoundListItem()
{ {
} }