search for: object_s

Displaying 7 results from an estimated 7 matches for "object_s".

Did you mean: objects
2004 Sep 10
1
mistake in FLAC++ metadata interface?
Hi all, Using the FLAC++ level 2 metadata interface the following function doesn't do what you would expect: cuesheet->get_track(i).get_num_indices(); (where cuesheet is a FLAC::Metadata::CueSheet *) It returns a bool instead of an int, why is this? To get the mumber of indicies in a track I need to use: cuesheet->get_track(i).get_track()->num_indices; ie. retrieve the C struct
2010 Oct 20
1
is get() really what I want here?
# Let's say I have 5 objects, object_1, object_2, etc. for (i in 1:5) { assign(paste("object_",i, sep=""), i+500) } # Now, for whatever reason, I don't know the names of the objects I've created, but I want to operate on them. list<-ls(pattern="^obj") #Is get best? for (l in list) { cat("\n", l, "is", get(l), sep="
2004 Sep 10
3
reading vorbis comments with FLAC++?
Well, I'm quite frankly stumped. I'm writing a program that recurses into directories and reads (among others) FLAC files and should be able to read the vorbis comments ARTIST and TITLE from the file. A while back, I was popen()ing to metaflac, because I didn't want to mess with libFLAC. But now, it's the weekend, so I can mess around with this. Here's the code in question:
2006 Feb 23
7
How to set a relationship with a value from a selection list
I realize this is probably a very basic problem but I''m developing my first rails app and running into this problem. I''m trying to write a photoblog application. I have a photo table and an album table. Photo has a to-one relationship to Album. Photo.album_id => Album.id In my view for photo I have a selection list that''s populated with all the available albums.
2004 Sep 10
0
reading vorbis comments with FLAC++?
--- Joshua Kwan <joshk@triplehelix.org> wrote: > Well, I'm quite frankly stumped. I'm writing a program that recurses > into directories and reads (among others) FLAC files and should be > able > to read the vorbis comments ARTIST and TITLE from the file. > > A while back, I was popen()ing to metaflac, because I didn't want to > mess with libFLAC. But now,
2004 Sep 10
2
usage of C++ StreamMetadata interface
Josh Coalson wrote: > [...] > why do you need one? all the fields are available though method > calls. just an example: I created an object of the type "FLAC::Metadata::VorbisComment". How will this find it's way to "FLAC::Stream::Encoder.set_metadata()" ??? Thomas
2004 Oct 29
0
(PR#7320) Internal function isUME() in findGeneric() is
Jeffrey J. Hallman wrote: >OK, I looked at the documentation and you're right about that. However, >I'm curious about why the first argument to UseMethod is ever necessary. >Is there ever a good reason for it to be something other than the name >of the calling function? (Wouldn't that lead to confusing code?) If >not, why bother with it at all? > >I've