summaryrefslogtreecommitdiffstats
path: root/src/emu/sound.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/sound.cpp')
-rw-r--r--src/emu/sound.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/sound.cpp b/src/emu/sound.cpp
index 1b007a303ea..bf0aa97826e 100644
--- a/src/emu/sound.cpp
+++ b/src/emu/sound.cpp
@@ -167,13 +167,13 @@ const char *sound_stream::input_name(int inputnum, std::string &str) const
{
// start with our device name and tag
assert(inputnum >= 0 && inputnum < m_input.size());
- strprintf(str, "%s '%s': ", m_device.name(), m_device.tag());
+ strprintf(str, "%s '%s': ", m_device.name(), m_device.tag().c_str());
// if we have a source, indicate where the sound comes from by device name and tag
if (m_input[inputnum].m_source != nullptr && m_input[inputnum].m_source->m_stream != nullptr)
{
device_t &source = m_input[inputnum].m_source->m_stream->device();
- strcatprintf(str, "%s '%s'", source.name(), source.tag());
+ strcatprintf(str, "%s '%s'", source.name(), source.tag().c_str());
// get the sound interface; if there is more than 1 output we need to figure out which one
device_sound_interface *sound;
@@ -225,7 +225,7 @@ int sound_stream::input_source_outputnum(int inputnum) const
void sound_stream::set_input(int index, sound_stream *input_stream, int output_index, float gain)
{
- VPRINTF(("stream_set_input(%p, '%s', %d, %p, %d, %f)\n", (void *)this, m_device.tag(),
+ VPRINTF(("stream_set_input(%p, '%s', %d, %p, %d, %f)\n", (void *)this, m_device.tag().c_str(),
index, (void *)input_stream, output_index, (double) gain));
// make sure it's a valid input