diff options
author | deva <deva> | 2005-04-26 09:32:28 +0000 |
---|---|---|
committer | deva <deva> | 2005-04-26 09:32:28 +0000 |
commit | d2458728cd226a2651005acfd3241e1a5f77782c (patch) | |
tree | fc962942aae5e722535dc6384eb266ba6b0d1b8b /src/dv1394.cc | |
parent | 805229c3b5a9b5078a273d175140b42445fd501a (diff) |
Tested some audio output code... didn't work... tesing it again later.
Diffstat (limited to 'src/dv1394.cc')
-rw-r--r-- | src/dv1394.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dv1394.cc b/src/dv1394.cc index d4912e4..004cb3d 100644 --- a/src/dv1394.cc +++ b/src/dv1394.cc @@ -69,7 +69,7 @@ static int raw_reader( raw1394handle_t handle, int channel, size_t length, quadl if(!framedata) { // We're fucked - // errobj->pushError("Were fucked: %s.\n", strerror( errno ) ); + fprintf(stderr, "Framedata allocation error: %s.\n", strerror( errno ) ); fflush(stderr); exit(1); } } @@ -142,12 +142,12 @@ dv1394::dv1394(Error *e, int port, int channel) dv1394::~dv1394() { // Close firewire connection. - raw1394_destroy_handle(handle); + if(handle) raw1394_destroy_handle(handle); } unsigned char *dv1394::readFrame() { - // Firewiare port not correctly opened. + // Firewire port not correctly opened. if(!handle) return NULL; unsigned char *ptr; |