|
From: | Marcus D. Leech |
Subject: | [Discuss-gnuradio] Proposed update to WAV file sink |
Date: | Sun, 15 Apr 2012 13:42:24 -0400 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16 |
So, I'm proposing changing it to a "string" type in the XML, and inserting a callback on that parameter so the value can be changed at runtime,
calling the "open" method that's part of the gr_wavfile_sink:: class.I'm open to other ideas. But this allows me to provide a convienient "Record" feature in the apps I have that produce audio outputs, and to conditionally have it record to a file of my choosing, or /dev/null, depending on whether I have recording enabled or not.
-- Marcus Leech Principal Investigator Shirleys Bay Radio Astronomy Consortium http://www.sbrac.org
[Prev in Thread] | Current Thread | [Next in Thread] |