From 39999df6a876cb7a9d8cb28fb11a06c484d2bb55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Santi=20Nore=C3=B1a?= Date: Thu, 21 Feb 2013 13:33:19 +0100 Subject: [PATCH] - empty --- bin/lms.conf | Bin 84 -> 84 bytes manual_en.txt | 2 +- manual_es.txt | 14 ++++++-------- src/libremediaserver.cpp | 28 +++++++++++----------------- 4 files changed, 18 insertions(+), 26 deletions(-) diff --git a/bin/lms.conf b/bin/lms.conf index b03d3ff1754ab3b2b2aa86c75e0d0cfef74722f5..99259ccccd0c85487d2a866ac3edb932898ad573 100644 GIT binary patch delta 9 QcmWFunV` Init. Antes tendrás que haber generado los thumbnails desde el mismo menu --> Make Thumbs. Si tienes una biblioteca grande de medios esto puede tardar un rato y consumir muchos recurso del ordenador. No lo hagas en directo! @@ -367,7 +365,7 @@ PureMediaServer Audio: 5 - Playback 0-24 : Play. Reproduce desde el inicio del fichero. 25-49: Stop. - 50-74: Resume. Reproduce desde el punto desde el que ss paró, o desde el punto designado por Entry Point. + 50-74: Resume. Reproduce desde el punto desde el que se paró, o desde el punto designado por Entry Point. 6 - Control - Reservado, sin uso en este momento. 7 - Volume Fine 8 - Entry Point Coarse - Punto de entrada de reproducción. diff --git a/src/libremediaserver.cpp b/src/libremediaserver.cpp index 48cbc34..03b11bd 100644 --- a/src/libremediaserver.cpp +++ b/src/libremediaserver.cpp @@ -156,6 +156,7 @@ libreMediaServer::libreMediaServer(QWidget *parent) connect(m_msex,SIGNAL(frameRequest()), this, SLOT(sendFrame())); } +/////////////////////////////////////////////////////////////////// // Destructor /////////////////////////////////////////////////////////////////// @@ -204,7 +205,7 @@ libreMediaServer::~libreMediaServer() } socket.remove(); qDebug() << "PD Video starts: " << m_startvideo << " PD Audio starts: " << m_startaudio; - qDebug() << "Date: " << QDate::currentDate() << "Time: "<< QTime::currentTime(); + qDebug() << QDate::currentDate() << QTime::currentTime(); qDebug() << "******************************************************************************************************"; return; } @@ -499,6 +500,7 @@ void libreMediaServer::makeThumbs() /////////////////////////////////////////////////////////////////// // Window Configuration + void libreMediaServer::on_window_stateChanged(int state) { if ((state == 2)) { @@ -792,7 +794,6 @@ void libreMediaServer::on_layer8Add_valueChanged() } // Open the connection with OLA and start reading DMX - void libreMediaServer::on_readDMX_stateChanged(int state) { if ((state == 0)) { @@ -818,8 +819,7 @@ void libreMediaServer::on_readDMX_stateChanged(int state) } } -// Open the video process - +// Start the video process void libreMediaServer::on_video_stateChanged(int state) { if ((state == 0)) @@ -839,13 +839,12 @@ void libreMediaServer::on_video_stateChanged(int state) } /////////////////////////////////////////////////////////////////// -/* - * Pure Data Video Stuff - */ +// +// Pure Data Video +// /////////////////////////////////////////////////////////////////// // Start the PD Process, open the ports and connects stdout de Pure Data. - void libreMediaServer::pdstart() { if (m_pd_video->state() != 0) @@ -875,7 +874,6 @@ void libreMediaServer::pdstart() } // Restart the Pure Data process if crash. Connected with signal finished of QProcess - void libreMediaServer::pdrestart() { if (m_pd_video->state()) @@ -890,7 +888,6 @@ void libreMediaServer::pdrestart() } // New conexion on TCP Server - void libreMediaServer::newPeer() { m_read_vid = m_server_vid->nextPendingConnection(); @@ -899,7 +896,6 @@ void libreMediaServer::newPeer() } // New message in a TCP socket stablished connection - void libreMediaServer::newmessage() { if (m_read_vid == NULL) @@ -1023,7 +1019,6 @@ void libreMediaServer::newconexion() } // Sends packets to Pure Data video - bool libreMediaServer::sendPacket(const char *buffer, int bufferLen) { if (m_pd_write_video == NULL) { @@ -1044,7 +1039,6 @@ bool libreMediaServer::sendPacket(const char *buffer, int bufferLen) } // Function error sending packets to PD video - void libreMediaServer::errorsending() { if (ui.video->checkState()) { @@ -1350,14 +1344,14 @@ void libreMediaServer::on_audio_stateChanged(int state) pdstart_audio(); } } + /////////////////////////////////////////////////////////////////// -/* - * Pure Data Audio Stuff - */ +// +// Pure Data Audio +// /////////////////////////////////////////////////////////////////// // Start the PD Process, open the ports and connects stdout de Pure Data. - void libreMediaServer::pdstart_audio() { if (m_pd_audio->state() != 0)