Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-daemon
Commits
b702dea2
Commit
b702dea2
authored
Jun 28, 2010
by
Alexandre Savard
Browse files
[#2165] Implement run method in audiorecorder
parent
1f85379f
Changes
4
Hide whitespace changes
Inline
Side-by-side
sflphone-common/src/audio/recordable.cpp
View file @
b702dea2
...
...
@@ -30,7 +30,7 @@
#include "recordable.h"
#include "manager.h"
Recordable
::
Recordable
()
:
recorder
(
&
recAudio
)
Recordable
::
Recordable
()
:
recorder
(
&
recAudio
,
Manager
::
instance
().
getMainBuffer
()
)
{
FILE_TYPE
fileType
=
FILE_WAV
;
...
...
sflphone-common/src/call.cpp
View file @
b702dea2
...
...
@@ -194,7 +194,7 @@ Call::setRecording()
if
(
!
recordStatus
)
return
false
;
MainBuffer
*
mbuffer
=
&
(
Manager
::
instance
().
_m
ainBuffer
);
MainBuffer
*
mbuffer
=
Manager
::
instance
().
getM
ainBuffer
(
);
CallID
process_id
=
Recordable
::
recorder
.
getRecorderID
();
...
...
sflphone-common/src/conference.cpp
View file @
b702dea2
...
...
@@ -167,7 +167,7 @@ bool Conference::setRecording() {
if
(
!
recordStatus
)
return
false
;
MainBuffer
*
mbuffer
=
&
(
Manager
::
instance
().
_m
ainBuffer
);
MainBuffer
*
mbuffer
=
Manager
::
instance
().
getM
ainBuffer
(
);
ParticipantSet
::
iterator
iter
=
_participants
.
begin
();
...
...
sflphone-common/src/managerimpl.h
View file @
b702dea2
...
...
@@ -1240,7 +1240,6 @@ class ManagerImpl {
void
unloadAccountMap
();
public:
/**
* Instance of the MainBuffer for the whole application
*
...
...
@@ -1251,6 +1250,14 @@ class ManagerImpl {
MainBuffer
_mainBuffer
;
public:
/**
* Return a pointer to the instance of the mainbuffer
*/
MainBuffer
*
getMainBuffer
(
void
)
{
return
&
_mainBuffer
;
}
/**
* Tell if there is a current call processed
* @return bool True if there is a current call
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment