> > ldebug() should probably trace points.
>
> I need help with this. I tried replacing ldebug() with
> "qemu_log_mask(LOG_TRACE,", but that caused a lot of messages to be
> printed to the terminal. It is odd because I thought I had to use "-d
> trace" to make it print. Do you have another suggest
> On Jan 31, 2018, at 4:43 PM, Programmingkid wrote:
>
>>
>> On Jan 31, 2018, at 4:22 AM, Gerd Hoffmann wrote:
>>
>> On Tue, Jan 30, 2018 at 10:30:46AM -0500, Programmingkid wrote:
>>>
On Jan 30, 2018, at 4:41 AM, Gerd Hoffmann wrote:
> @@ -148,15 +142,16 @@ static int irq_of
> On Jan 31, 2018, at 4:22 AM, Gerd Hoffmann wrote:
>
> On Tue, Jan 30, 2018 at 10:30:46AM -0500, Programmingkid wrote:
>>
>>> On Jan 30, 2018, at 4:41 AM, Gerd Hoffmann wrote:
>>>
@@ -148,15 +142,16 @@ static int irq_of_magic (int magic)
#if 0
static void log_dsp (SB16State *d
On Tue, Jan 30, 2018 at 10:30:46AM -0500, Programmingkid wrote:
>
> > On Jan 30, 2018, at 4:41 AM, Gerd Hoffmann wrote:
> >
> >> @@ -148,15 +142,16 @@ static int irq_of_magic (int magic)
> >> #if 0
> >> static void log_dsp (SB16State *dsp)
> >> {
> >> -ldebug ("%s:%s:%d:%s:dmasize=%d:freq=%d
> On Jan 30, 2018, at 4:41 AM, Gerd Hoffmann wrote:
>
>> @@ -148,15 +142,16 @@ static int irq_of_magic (int magic)
>> #if 0
>> static void log_dsp (SB16State *dsp)
>> {
>> -ldebug ("%s:%s:%d:%s:dmasize=%d:freq=%d:const=%d:speaker=%d\n",
>> -dsp->fmt_stereo ? "Stereo" : "Mono",
>>
> @@ -148,15 +142,16 @@ static int irq_of_magic (int magic)
> #if 0
> static void log_dsp (SB16State *dsp)
> {
> -ldebug ("%s:%s:%d:%s:dmasize=%d:freq=%d:const=%d:speaker=%d\n",
> -dsp->fmt_stereo ? "Stereo" : "Mono",
> -dsp->fmt_signed ? "Signed" : "Unsigned",
> -
Use the qemu_log_mask() function to log messages.
Signed-off-by: John Arbuckle
---
hw/audio/sb16.c | 221
1 file changed, 112 insertions(+), 109 deletions(-)
diff --git a/hw/audio/sb16.c b/hw/audio/sb16.c
index 6ab2f6f89a..bdb79aeafa 1006